Android Question Error message when starting app. What is the problem?

Discussion in 'Android Questions' started by danoptic, Mar 19, 2015.

  1. danoptic

    danoptic Member Licensed User

    Installing file.
    PackageAdded: package:dnoptc.test3
    java.lang.RuntimeException: java.lang.NullPointerException
    at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:159)
    at anywheresoftware.b4a.shell.Shell.start(Shell.java:91)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:76)
    at dnoptc.test3.main.afterFirstLayout(main.java:90)
    at dnoptc.test3.main.access$100(main.java:16)
    at dnoptc.test3.main$WaitForLayout.run(main.java:76)
    at android.os.Handler.handleCallback(Handler.java:605)
    at android.os.Handler.dispatchMessage(Handler.java:92)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:4476)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:816)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:583)
    at dalvik.system.NativeStart.main(Native Method)
    Caused by: java.lang.NullPointerException
    at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:61)
    at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:119)
    ... 14 more
     
  2. NJDude

    NJDude Expert Licensed User

    You should give more details, but to find the offending line, run the app in DEBUG LEGACY.
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    Does it happen every time you debug your app in rapid debug mode?
     
  4. danoptic

    danoptic Member Licensed User

    Only on lg phone. on my samsung tablet it doesn't
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    Try to switch to debug (legacy). It seems like some network problem that causes the rapid debugger to crash.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice