You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PostConstruct does not execute using spring boot (1.4.1) which therefore means that the validator is never initialised;
e.g. this is not called
@PostConstruct
private void afterConstruct() {
this.validator = new BulkApiValidator(this.appCtx);
}
As a result all bulk operations fail with an error code;
{
"timestamp": 1470396287727,
"status": 500,
"error": "Internal Server Error",
"exception": "java.lang.NullPointerException",
"message": "No message available",
"path": "/bulk"
}
java.lang.NullPointerException: null
at com.github.wnameless.spring.bulkapi.DefaultBulkApiService.computeUri(DefaultBulkApiService.java:123) ~[spring-bulk-api-0.5.0.jar:0.5.0]
at com.github.wnameless.spring.bulkapi.DefaultBulkApiService.validateBulkRequest(DefaultBulkApiService.java:163) ~[spring-bulk-api-0.5.0.jar:0.5.0]
at com.github.wnameless.spring.bulkapi.DefaultBulkApiService.bulk(DefaultBulkApiService.java:73) ~[spring-bulk-api-0.5.0.jar:0.5.0]
at com.github.wnameless.spring.bulkapi.BulkApiController.bulk(BulkApiController.java:65) ~[spring-bulk-api-0.5.0.jar:0.5.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_40]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_40]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_40]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_40]
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221) ~[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE]
The text was updated successfully, but these errors were encountered:
PostConstruct does not execute using spring boot (1.4.1) which therefore means that the validator is never initialised;
e.g. this is not called
As a result all bulk operations fail with an error code;
The text was updated successfully, but these errors were encountered: