java.lang.NullPointerException

Appcelerator JIRA | Don Thorp | 5 years ago
  1. 0

    {code} E/KrollMethod( 1360): (kroll$1: app://app.js) [2,1487] Exception calling kroll method item, invocation: null ] E/KrollMethod( 1360): java.lang.NullPointerException E/KrollMethod( 1360): at ti.modules.titanium.xml.NodeProxy.getNodeProxy(NodeProxy.java:59) E/KrollMethod( 1360): at ti.modules.titanium.xml.NodeListProxy.item(NodeListProxy.java:43) E/KrollMethod( 1360): at ti.modules.titanium.xml.NodeListProxyBindingGen$2.invoke(NodeListProxyBindingGen.java:126) E/KrollMethod( 1360): at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:51) E/KrollMethod( 1360): at org.appcelerator.titanium.kroll.KrollCoverage$KrollFunctionCoverage.call(KrollCoverage.java:213) E/KrollMethod( 1360): at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701) E/KrollMethod( 1360): at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854) E/KrollMethod( 1360): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164) E/KrollMethod( 1360): at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426) E/KrollMethod( 1360): at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3177) E/KrollMethod( 1360): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162) E/KrollMethod( 1360): at org.appcelerator.titanium.testharness.Test_harnessActivity$1.run(Test_harnessActivity.java:90) E/KrollMethod( 1360): at org.appcelerator.titanium.TiMessageQueue.handleMessage(TiMessageQueue.java:219) E/KrollMethod( 1360): at android.os.Handler.dispatchMessage(Handler.java:95) E/KrollMethod( 1360): at android.os.Looper.loop(Looper.java:130) E/KrollMethod( 1360): at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:86) W/TiConvert( 1360): (kroll$1: app://app.js) [9,1596] Unsupported type class org.appcelerator.kroll.KrollProxy$1 D/dalvikvm( 1360): GC_CONCURRENT freed 1429K, 50% free 3958K/7815K, external 3125K/3903K, paused 3ms+3ms {code}

    Appcelerator JIRA | 5 years ago | Don Thorp
    java.lang.NullPointerException
  2. 0

    {code} E/KrollMethod( 1360): (kroll$1: app://app.js) [2,1487] Exception calling kroll method item, invocation: null ] E/KrollMethod( 1360): java.lang.NullPointerException E/KrollMethod( 1360): at ti.modules.titanium.xml.NodeProxy.getNodeProxy(NodeProxy.java:59) E/KrollMethod( 1360): at ti.modules.titanium.xml.NodeListProxy.item(NodeListProxy.java:43) E/KrollMethod( 1360): at ti.modules.titanium.xml.NodeListProxyBindingGen$2.invoke(NodeListProxyBindingGen.java:126) E/KrollMethod( 1360): at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:51) E/KrollMethod( 1360): at org.appcelerator.titanium.kroll.KrollCoverage$KrollFunctionCoverage.call(KrollCoverage.java:213) E/KrollMethod( 1360): at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701) E/KrollMethod( 1360): at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854) E/KrollMethod( 1360): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164) E/KrollMethod( 1360): at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426) E/KrollMethod( 1360): at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3177) E/KrollMethod( 1360): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162) E/KrollMethod( 1360): at org.appcelerator.titanium.testharness.Test_harnessActivity$1.run(Test_harnessActivity.java:90) E/KrollMethod( 1360): at org.appcelerator.titanium.TiMessageQueue.handleMessage(TiMessageQueue.java:219) E/KrollMethod( 1360): at android.os.Handler.dispatchMessage(Handler.java:95) E/KrollMethod( 1360): at android.os.Looper.loop(Looper.java:130) E/KrollMethod( 1360): at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:86) W/TiConvert( 1360): (kroll$1: app://app.js) [9,1596] Unsupported type class org.appcelerator.kroll.KrollProxy$1 D/dalvikvm( 1360): GC_CONCURRENT freed 1429K, 50% free 3958K/7815K, external 3125K/3903K, paused 3ms+3ms {code}

    Appcelerator JIRA | 5 years ago | Don Thorp
    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 ti.modules.titanium.xml.NodeProxy.getNodeProxy()
    2. ti.modules.titanium
      NodeListProxyBindingGen$2.invoke
      1. ti.modules.titanium.xml.NodeProxy.getNodeProxy(NodeProxy.java:59)
      2. ti.modules.titanium.xml.NodeListProxy.item(NodeListProxy.java:43)
      3. ti.modules.titanium.xml.NodeListProxyBindingGen$2.invoke(NodeListProxyBindingGen.java:126)
      3 frames
    3. org.appcelerator.kroll
      KrollMethod.call
      1. org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:51)
      1 frame
    4. org.appcelerator.titanium
      KrollCoverage$KrollFunctionCoverage.call
      1. org.appcelerator.titanium.kroll.KrollCoverage$KrollFunctionCoverage.call(KrollCoverage.java:213)
      1 frame
    5. Rhino
      InterpretedFunction.call
      1. org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701)
      2. org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
      3. org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
      4. org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
      5. org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3177)
      6. org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
      6 frames
    6. org.appcelerator.titanium
      TiMessageQueue.handleMessage
      1. org.appcelerator.titanium.testharness.Test_harnessActivity$1.run(Test_harnessActivity.java:90)
      2. org.appcelerator.titanium.TiMessageQueue.handleMessage(TiMessageQueue.java:219)
      2 frames
    7. Android Platform
      Looper.loop
      1. android.os.Handler.dispatchMessage(Handler.java:95)
      2. android.os.Looper.loop(Looper.java:130)
      2 frames
    8. org.appcelerator.titanium
      KrollHandlerThread.run
      1. org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:86)
      1 frame