java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by kmenager
, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at android.os.Message.sendToTarget(Message.java:416)
at android.os.Messenger.send(Messenger.java)
at org.altbeacon.beacon.BeaconManager.startMonitoringBeaconsInRegion(BeaconManager.java:534)
at org.altbeacon.beacon.startup.RegionBootstrap$InternalBeaconConsumer.onBeaconServiceConnect(RegionBootstrap.java:113)
at org.altbeacon.beacon.BeaconManager$BeaconServiceConnection.onServiceConnected(BeaconManager.java:785)
at org.robolectric.shadows.ShadowApplication$1.run(ShadowApplication.java:236)
at org.robolectric.util.Scheduler.runOrQueueRunnable(Scheduler.java:293)
at org.robolectric.shadows.ShadowLooper.post(ShadowLooper.java:261)
at org.robolectric.shadows.ShadowApplication.bindService(ShadowApplication.java:225)
at android.app.ContextImpl.bindService(ContextImpl.java)
at android.content.ContextWrapper.bindService(ContextWrapper.java:604)
at org.altbeacon.beacon.startup.RegionBootstrap$InternalBeaconConsumer.bindService(RegionBootstrap.java:130)
at org.altbeacon.beacon.BeaconManager.bind(BeaconManager.java:307)
at org.altbeacon.beacon.startup.RegionBootstrap.(RegionBootstrap.java:57)
at com.myapp.MyApplication.onCreate(MyApplication.java:100)
at org.robolectric.internal.ParallelUniverse.setUpApplicationState(ParallelUniverse.java:165)
at org.robolectric.RobolectricTestRunner.setUpApplicationState(RobolectricTestRunner.java:423)
at org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:254)
at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:191)
at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:56)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:157)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.