NullPointerException when import segmentation zip
Temporal segmentation import works. But it breaks simple segmentation import.
java.util.concurrent.ExecutionException: java.lang.NullPointerException: Cannot invoke "jcl.data.attribute.AttributeMultiDimSequence.getSequence()" because "meanSequences[idRegion]" is null
at java.base/java.util.concurrent.ForkJoinTask.reportExecutionException(ForkJoinTask.java:605) ~[na:na]
at java.base/java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:981) ~[na:na]
at managers.SegmentationManager.getResult(SegmentationManager.java:67) ~[classes/:na]
at com.sdc_icube.PrincipalServer.module.fodomust.FodoMustServer.onMessage(FodoMustServer.java:635) ~[classes/:na]
at org.java_websocket.server.WebSocketServer.onWebsocketMessage(WebSocketServer.java:712) ~[Java-WebSocket-1.5.3.jar:na]
at org.java_websocket.drafts.Draft_6455.processFrameText(Draft_6455.java:986) ~[Java-WebSocket-1.5.3.jar:na]
at org.java_websocket.drafts.Draft_6455.processFrame(Draft_6455.java:910) ~[Java-WebSocket-1.5.3.jar:na]
at org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:401) ~[Java-WebSocket-1.5.3.jar:na]
at org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:233) ~[Java-WebSocket-1.5.3.jar:na]
at org.java_websocket.server.WebSocketServer$WebSocketWorker.doDecode(WebSocketServer.java:1114) ~[Java-WebSocket-1.5.3.jar:na]
at org.java_websocket.server.WebSocketServer$WebSocketWorker.run(WebSocketServer.java:1086) ~[Java-WebSocket-1.5.3.jar:na]
Caused by: java.lang.NullPointerException: Cannot invoke "jcl.data.attribute.AttributeMultiDimSequence.getSequence()" because "meanSequences[idRegion]" is null
at jsl.regionalisation.caracterisation.Caracterize.run(Caracterize.java:1857) ~[classes/:na]
at jsl.regionalisation.Regionalisation.run(Regionalisation.java:40) ~[classes/:na]
at jsl.Segmentation.run(Segmentation.java:80) ~[classes/:na]
at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1375) ~[na:na]
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[na:na]
at java.base/java.util.concurrent.ForkJoinTask.awaitDone(ForkJoinTask.java:436) ~[na:na]
at java.base/java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:979) ~[na:na]
at managers.SegmentationManager.getResult(SegmentationManager.java:67) ~[classes/:na]
at com.sdc_icube.PrincipalServer.module.fodomust.FodoMustServer.onMessage(FodoMustServer.java:634) ~[classes/:na]
... 7 common frames omitted
Edited by jules teulade