java.lang.NullPointerException

JIRA | Kevin Normoyle | 2 years ago
  1. 0

    UPDATE: I just remembered that I'm not using my "bucket" idea for pointing to home-0xdiag-datasets link or directory in users home directory yet for h2o-dev (I will , just like h2o) ...I hard-wired the path to the dataset folder as "/home/0xdiag/datasets/standard" it uses covtype.data there, just like h2o. I'm close to making it compatible with python's use of datasets in h2o (which will probably be temporary for some period of time)... But for now, if you don't have /home/0xdiag/datasets on your machine, or don't want to go onto a 0xdata machine, you can modify the test to point to covtype.data on your machine somewhere (or the right link in your home directory) to replicate git pull h2o-dev cd h2o-dev/py2/testdir_single_jvm python test_uncompleted_frame.py if you want to run connected to your idea (if it's at port 54321 on localhost) python test_uncompleted_frame.py -uc or python test_uncompleted_frame.py --usecloud If you are using a different port: python test_uncompleted_frame.py --usecloud localhost:54321 If you use the -uc version to an existing jvm , I may scrape more of h2o stdout to the python stdout so you may see the "Parse result for covtype.hex" come after the h2o exception. ...scroll back to see the exception (I don't know yet why I scrape that INFO: stuff in that case. You may think the test passed because you see the parse output. parse_params: {'srcs': '[nfs://home/0xdiag/datasets/standard/covtype.data]', 'checkHeader': -1, 'ncols': 55, 'sep': 44, 'columnNames': '[C_1,C_2,C_3,C_4,C_5,C_6,C_7,C_8,C_9,C_10,C_11,C_12,C_13,C_14,C_15,C_16,C_17,C_18,C_19,C_20,C_21,C_22,C_23,C_24,C_25,C_26,C_27,C_28,C_29,C_30,C_31,C_32,C_33,C_34,C_35,C_36,C_37,C_38,C_39,C_40,C_41,C_42,C_43,C_44,C_45,C_46,C_47,C_48,C_49,C_50,C_51,C_52,C_53,C_54,C_55]', 'singleQuotes': False, 'hex': u'covtype.hex', 'pType': u'CSV'} poll_job parameters: {} frames parameters: {'find_compatible_models': 0, 'len': 100, 'offset': 0} JSON call returned non-200 status with http://192.168.0.34:54321/3/Frames.json/covtype.hex?find_compatible_models=0&len=100&offset=0 r.status_code: 500 r.headers: {'date': 'Wed, 12 Nov 2014 05:26:01 GMT', 'content-type': 'application/json'} r.text: {"schema_version":-1,"schema_name":"Schema","schema_type":"Iced","status_header":"500 Internal Server Error","errmsg":"NullPointerException: null","errurl":null,"stacktrace":["water.fvec.Frame.numRows(Frame.java:150)","water.api.FrameV2.<init>(FrameV2.java:167)","water.api.FramesBase.fillFromImpl(FramesBase.java:57)","water.api.FramesV3.fillFromImpl(FramesV3.java:13)","water.api.FramesHandler.fetch(FramesHandler.java:205)","sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)","sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)","sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)","java.lang.reflect.Method.invoke(Method.java:606)","water.api.Handler.handle(Handler.java:55)","water.api.RequestServer.handle(RequestServer.java:470)","water.api.RequestServer.serve(RequestServer.java:448)","water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:428)","java.lang.Thread.run(Thread.java:745)"]} ERROR 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: java.lang.NullPointerException 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.fvec.Frame.numRows(Frame.java:150) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.api.FrameV2.<init>(FrameV2.java:167) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.api.FramesBase.fillFromImpl(FramesBase.java:57) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.api.FramesV3.fillFromImpl(FramesV3.java:13) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.api.FramesHandler.fetch(FramesHandler.java:205) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at java.lang.reflect.Method.invoke(Method.java:606) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.api.Handler.handle(Handler.java:55) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.api.RequestServer.handle(RequestServer.java:470) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.api.RequestServer.serve(RequestServer.java:448) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:428) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at java.lang.Thread.run(Thread.java:745) ERROR

    JIRA | 2 years ago | Kevin Normoyle
    java.lang.NullPointerException
  2. 0

    UPDATE: I just remembered that I'm not using my "bucket" idea for pointing to home-0xdiag-datasets link or directory in users home directory yet for h2o-dev (I will , just like h2o) ...I hard-wired the path to the dataset folder as "/home/0xdiag/datasets/standard" it uses covtype.data there, just like h2o. I'm close to making it compatible with python's use of datasets in h2o (which will probably be temporary for some period of time)... But for now, if you don't have /home/0xdiag/datasets on your machine, or don't want to go onto a 0xdata machine, you can modify the test to point to covtype.data on your machine somewhere (or the right link in your home directory) to replicate git pull h2o-dev cd h2o-dev/py2/testdir_single_jvm python test_uncompleted_frame.py if you want to run connected to your idea (if it's at port 54321 on localhost) python test_uncompleted_frame.py -uc or python test_uncompleted_frame.py --usecloud If you are using a different port: python test_uncompleted_frame.py --usecloud localhost:54321 If you use the -uc version to an existing jvm , I may scrape more of h2o stdout to the python stdout so you may see the "Parse result for covtype.hex" come after the h2o exception. ...scroll back to see the exception (I don't know yet why I scrape that INFO: stuff in that case. You may think the test passed because you see the parse output. parse_params: {'srcs': '[nfs://home/0xdiag/datasets/standard/covtype.data]', 'checkHeader': -1, 'ncols': 55, 'sep': 44, 'columnNames': '[C_1,C_2,C_3,C_4,C_5,C_6,C_7,C_8,C_9,C_10,C_11,C_12,C_13,C_14,C_15,C_16,C_17,C_18,C_19,C_20,C_21,C_22,C_23,C_24,C_25,C_26,C_27,C_28,C_29,C_30,C_31,C_32,C_33,C_34,C_35,C_36,C_37,C_38,C_39,C_40,C_41,C_42,C_43,C_44,C_45,C_46,C_47,C_48,C_49,C_50,C_51,C_52,C_53,C_54,C_55]', 'singleQuotes': False, 'hex': u'covtype.hex', 'pType': u'CSV'} poll_job parameters: {} frames parameters: {'find_compatible_models': 0, 'len': 100, 'offset': 0} JSON call returned non-200 status with http://192.168.0.34:54321/3/Frames.json/covtype.hex?find_compatible_models=0&len=100&offset=0 r.status_code: 500 r.headers: {'date': 'Wed, 12 Nov 2014 05:26:01 GMT', 'content-type': 'application/json'} r.text: {"schema_version":-1,"schema_name":"Schema","schema_type":"Iced","status_header":"500 Internal Server Error","errmsg":"NullPointerException: null","errurl":null,"stacktrace":["water.fvec.Frame.numRows(Frame.java:150)","water.api.FrameV2.<init>(FrameV2.java:167)","water.api.FramesBase.fillFromImpl(FramesBase.java:57)","water.api.FramesV3.fillFromImpl(FramesV3.java:13)","water.api.FramesHandler.fetch(FramesHandler.java:205)","sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)","sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)","sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)","java.lang.reflect.Method.invoke(Method.java:606)","water.api.Handler.handle(Handler.java:55)","water.api.RequestServer.handle(RequestServer.java:470)","water.api.RequestServer.serve(RequestServer.java:448)","water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:428)","java.lang.Thread.run(Thread.java:745)"]} ERROR 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: java.lang.NullPointerException 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.fvec.Frame.numRows(Frame.java:150) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.api.FrameV2.<init>(FrameV2.java:167) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.api.FramesBase.fillFromImpl(FramesBase.java:57) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.api.FramesV3.fillFromImpl(FramesV3.java:13) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.api.FramesHandler.fetch(FramesHandler.java:205) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at java.lang.reflect.Method.invoke(Method.java:606) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.api.Handler.handle(Handler.java:55) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.api.RequestServer.handle(RequestServer.java:470) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.api.RequestServer.serve(RequestServer.java:448) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:428) 11-11 21:26:01.557 192.168.0.34:54321 13075 # Session WARN: at java.lang.Thread.run(Thread.java:745) ERROR

    JIRA | 2 years ago | Kevin Normoyle
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at water.fvec.Frame.numRows()
    2. water.fvec
      Frame.numRows
      1. water.fvec.Frame.numRows(Frame.java:150)
      1 frame
    3. water.api
      FramesHandler.fetch
      1. water.api.FrameV2.<init>(FrameV2.java:167)
      2. water.api.FramesBase.fillFromImpl(FramesBase.java:57)
      3. water.api.FramesV3.fillFromImpl(FramesV3.java:13)
      4. water.api.FramesHandler.fetch(FramesHandler.java:205)
      4 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    5. water.api
      RequestServer.serve
      1. water.api.Handler.handle(Handler.java:55)
      2. water.api.RequestServer.handle(RequestServer.java:470)
      3. water.api.RequestServer.serve(RequestServer.java:448)
      3 frames
    6. water
      NanoHTTPD$HTTPSession.run
      1. water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:428)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame