java.lang.reflect.InvocationTargetException

JIRA | kishore | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Following error occured while running kmeans in multinode cluster cloud size 2. The same code works fine with single node H2O. water.DException$DistributedException: from /192.168.100.141:54321; class java.lang.NullPointerException: null while mapping key $04ff00000000ffffffff$nfs://home/user/tomcat-6.0/webapps/ChampionWS/WEB-INF/files/csv_converted_434.csv at water.fvec.Vec.chunkKey(Vec.java:660) at water.fvec.Vec.chunkKey(Vec.java:658) at water.fvec.Vec.toString(Vec.java:858) at java.lang.String.valueOf(String.java:2847) at java.lang.StringBuilder.append(StringBuilder.java:128) at water.Value.get(Value.java:110) at water.Value.getFirstBytes(Value.java:257) at water.util.Utils.getFirstUnzipedBytes(Utils.java:769) at water.util.Utils.getFirstUnzipedBytes(Utils.java:766) at water.parser.GuessSetup$GuessSetupTsk.map(GuessSetup.java:136) at water.MRTask.lcompute(MRTask.java:69) at water.DRemoteTask.compute2(DRemoteTask.java:91) at water.H2O$H2OCountedCompleter.compute(H2O.java:653) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) water.DException$DistributedException: from /192.168.100.141:54321; class java.lang.NullPointerException: null while mapping key $04ff00000000ffffffff$nfs://home/user/tomcat-6.0/webapps/ChampionWS/WEB-INF/files/csv_converted_434.csv at water.fvec.Vec.chunkKey(Vec.java:660) at water.fvec.Vec.chunkKey(Vec.java:658) at water.fvec.Vec.toString(Vec.java:858) at java.lang.String.valueOf(String.java:2847) at java.lang.StringBuilder.append(StringBuilder.java:128) at water.Value.get(Value.java:110) at water.Value.getFirstBytes(Value.java:257) at water.util.Utils.getFirstUnzipedBytes(Utils.java:769) at water.util.Utils.getFirstUnzipedBytes(Utils.java:766) at water.parser.GuessSetup$GuessSetupTsk.map(GuessSetup.java:136) at water.MRTask.lcompute(MRTask.java:69) at water.DRemoteTask.compute2(DRemoteTask.java:91) at water.H2O$H2OCountedCompleter.compute(H2O.java:653) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) Finally usermain java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at water.Boot.run(Boot.java:323) at water.Boot.boot2(Boot.java:295) at water.Boot.boot(Boot.java:161) at water.Boot.startBoot(Boot.java:123) at churn.ws.ClusterInfoH2O.buildSegments(ClusterInfoH2O.java:84) at ws.ChampionWSImplementation.buildSegments(ChampionWSImplementation.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:250) at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:150) at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:261) at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:314) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:608) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:259) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.invokeAsync(ServletAdapter.java:213) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:159) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:194) at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:80) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:745) Caused by: water.DException$DistributedException: from /192.168.100.141:54321; class java.lang.NullPointerException: null while mapping key $04ff00000000ffffffff$nfs://home/user/tomcat-6.0/webapps/ChampionWS/WEB-INF/files/csv_converted_434.csv at water.fvec.Vec.chunkKey(Vec.java:660) at water.fvec.Vec.chunkKey(Vec.java:658) at water.fvec.Vec.toString(Vec.java:858) at java.lang.String.valueOf(String.java:2847) at java.lang.StringBuilder.append(StringBuilder.java:128) at water.Value.get(Value.java:110) at water.Value.getFirstBytes(Value.java:257) at water.util.Utils.getFirstUnzipedBytes(Utils.java:769) at water.util.Utils.getFirstUnzipedBytes(Utils.java:766) at water.parser.GuessSetup$GuessSetupTsk.map(GuessSetup.java:136) at water.MRTask.lcompute(MRTask.java:69) at water.DRemoteTask.compute2(DRemoteTask.java:91) at water.H2O$H2OCountedCompleter.compute(H2O.java:653) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

    JIRA | 2 years ago | kishore
    java.lang.reflect.InvocationTargetException
  2. 0

    Following error occured while running kmeans in multinode cluster cloud size 2. The same code works fine with single node H2O. water.DException$DistributedException: from /192.168.100.141:54321; class java.lang.NullPointerException: null while mapping key $04ff00000000ffffffff$nfs://home/user/tomcat-6.0/webapps/ChampionWS/WEB-INF/files/csv_converted_434.csv at water.fvec.Vec.chunkKey(Vec.java:660) at water.fvec.Vec.chunkKey(Vec.java:658) at water.fvec.Vec.toString(Vec.java:858) at java.lang.String.valueOf(String.java:2847) at java.lang.StringBuilder.append(StringBuilder.java:128) at water.Value.get(Value.java:110) at water.Value.getFirstBytes(Value.java:257) at water.util.Utils.getFirstUnzipedBytes(Utils.java:769) at water.util.Utils.getFirstUnzipedBytes(Utils.java:766) at water.parser.GuessSetup$GuessSetupTsk.map(GuessSetup.java:136) at water.MRTask.lcompute(MRTask.java:69) at water.DRemoteTask.compute2(DRemoteTask.java:91) at water.H2O$H2OCountedCompleter.compute(H2O.java:653) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) water.DException$DistributedException: from /192.168.100.141:54321; class java.lang.NullPointerException: null while mapping key $04ff00000000ffffffff$nfs://home/user/tomcat-6.0/webapps/ChampionWS/WEB-INF/files/csv_converted_434.csv at water.fvec.Vec.chunkKey(Vec.java:660) at water.fvec.Vec.chunkKey(Vec.java:658) at water.fvec.Vec.toString(Vec.java:858) at java.lang.String.valueOf(String.java:2847) at java.lang.StringBuilder.append(StringBuilder.java:128) at water.Value.get(Value.java:110) at water.Value.getFirstBytes(Value.java:257) at water.util.Utils.getFirstUnzipedBytes(Utils.java:769) at water.util.Utils.getFirstUnzipedBytes(Utils.java:766) at water.parser.GuessSetup$GuessSetupTsk.map(GuessSetup.java:136) at water.MRTask.lcompute(MRTask.java:69) at water.DRemoteTask.compute2(DRemoteTask.java:91) at water.H2O$H2OCountedCompleter.compute(H2O.java:653) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) Finally usermain java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at water.Boot.run(Boot.java:323) at water.Boot.boot2(Boot.java:295) at water.Boot.boot(Boot.java:161) at water.Boot.startBoot(Boot.java:123) at churn.ws.ClusterInfoH2O.buildSegments(ClusterInfoH2O.java:84) at ws.ChampionWSImplementation.buildSegments(ChampionWSImplementation.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:250) at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:150) at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:261) at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:314) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:608) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:259) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.invokeAsync(ServletAdapter.java:213) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:159) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:194) at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:80) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:745) Caused by: water.DException$DistributedException: from /192.168.100.141:54321; class java.lang.NullPointerException: null while mapping key $04ff00000000ffffffff$nfs://home/user/tomcat-6.0/webapps/ChampionWS/WEB-INF/files/csv_converted_434.csv at water.fvec.Vec.chunkKey(Vec.java:660) at water.fvec.Vec.chunkKey(Vec.java:658) at water.fvec.Vec.toString(Vec.java:858) at java.lang.String.valueOf(String.java:2847) at java.lang.StringBuilder.append(StringBuilder.java:128) at water.Value.get(Value.java:110) at water.Value.getFirstBytes(Value.java:257) at water.util.Utils.getFirstUnzipedBytes(Utils.java:769) at water.util.Utils.getFirstUnzipedBytes(Utils.java:766) at water.parser.GuessSetup$GuessSetupTsk.map(GuessSetup.java:136) at water.MRTask.lcompute(MRTask.java:69) at water.DRemoteTask.compute2(DRemoteTask.java:91) at water.H2O$H2OCountedCompleter.compute(H2O.java:653) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

    JIRA | 2 years ago | kishore
    java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. water.DException$DistributedException

      from /192.168.100.141:54321; class java.lang.NullPointerException: null while mapping key $04ff00000000ffffffff$nfs://home/user/tomcat-6.0/webapps/ChampionWS/WEB-INF/files/csv_converted_434.csv

      at water.fvec.Vec.chunkKey()
    2. water.fvec
      Vec.toString
      1. water.fvec.Vec.chunkKey(Vec.java:660)
      2. water.fvec.Vec.chunkKey(Vec.java:658)
      3. water.fvec.Vec.toString(Vec.java:858)
      3 frames
    3. Java RT
      StringBuilder.append
      1. java.lang.String.valueOf(String.java:2847)
      2. java.lang.StringBuilder.append(StringBuilder.java:128)
      2 frames
    4. water
      Value.getFirstBytes
      1. water.Value.get(Value.java:110)
      2. water.Value.getFirstBytes(Value.java:257)
      2 frames
    5. water.util
      Utils.getFirstUnzipedBytes
      1. water.util.Utils.getFirstUnzipedBytes(Utils.java:769)
      2. water.util.Utils.getFirstUnzipedBytes(Utils.java:766)
      2 frames
    6. water.parser
      GuessSetup$GuessSetupTsk.map
      1. water.parser.GuessSetup$GuessSetupTsk.map(GuessSetup.java:136)
      1 frame
    7. water
      H2O$H2OCountedCompleter.compute
      1. water.MRTask.lcompute(MRTask.java:69)
      2. water.DRemoteTask.compute2(DRemoteTask.java:91)
      3. water.H2O$H2OCountedCompleter.compute(H2O.java:653)
      3 frames
    8. jsr166y
      ForkJoinWorkerThread.run
      1. jsr166y.CountedCompleter.exec(CountedCompleter.java:429)
      2. jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)
      3. jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)
      4. jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)
      5. jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
      5 frames