Article - CS248956

"java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) is returned when attempting to load data on a distributed instance in ThingWorx Analytics 52.1

Modified: 28-Oct-2016   


Applies To

  • ThingWorx Analytics 52.0.3

Description

  • Following error is reported in /usr/share/tomcat/logs/catalina.out when executing the REST call http://<TWAServer>/neuron/1.0/datasets/<dataset>/data
 [com.coldlight.neuron.services.rest.exceptions.ExceptionResponseBuilder] - [Exception id [b1491b5d-3fd7-46ef-aa3c-379d63b36d51]]
java.lang.NullPointerException
    at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
    at com.coldlight.ccc.vfs.NeuronPath.toPath(NeuronPath.java:44)
    at com.coldlight.neuron.db.impl.jdbc.JdbcUserDataRepo.save(JdbcUserDataRepo.java:113)
    at com.coldlight.neuron.services.ai.DataUploadService.saveRecords(DataUploadService.java:144)
    at com.coldlight.neuron.services.ai.DataUploadService$$FastClassBySpringCGLIB$$71bfdba2.invoke(<generated>)
    at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
    at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
    at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
    at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653)
    at com.coldlight.neuron.services.ai.DataUploadService$$EnhancerBySpringCGLIB$$de4288e5.saveRecords(<generated>)
    at com.coldlight.neuron.services.rest.data.impl.DataControllerImpl.upload(DataControllerImpl.java:101)
  • The RESP API response received in the client is:
{
"errorId": xxxxx
"errorMessage": null
}
This is a printer-friendly version of Article 248956 and may be out of date. For the latest version click CS248956