14

This error shows up when I click to open Android Device Monitor

Snippet from the log file:

java.lang.NullPointerException
at org.eclipse.core.runtime.URIUtil.toURI(URIUtil.java:280)
at org.eclipse.e4.ui.internal.workbench.ResourceHandler.loadMostRecentModel(ResourceHandler.java:127)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadApplicationModel(E4Application.java:370)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:220)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:557)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.android.ide.eclipse.monitor.MonitorApplication.start(MonitorApplication.java:86)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

I am using Windows 7 x64 machine. How to solve this issue? Thanks for your help in advance

  • i still have the same problem with AS 2.2.2, i opened an issue here: https://code.google.com/p/android/issues/detail?id=225886&thanks=225886&ts=1477060192 – MatPag Oct 21 '16 at 14:31
  • 1
    Possible duplicate of [android device monitor not coming up](http://stackoverflow.com/questions/29580729/android-device-monitor-not-coming-up) – bummi Dec 21 '16 at 19:20

3 Answers3

12

(Duplicate of android device monitor not coming up)

Ensure that no other instance of monitor app is running. It may happen if Android Studio crashes or otherwise.

Kill the monitor process and restart.

See also: https://code.google.com/p/android/issues/detail?id=72420

Community
  • 1
  • 1
gvaish
  • 9,374
  • 3
  • 38
  • 43
0

I had the same issue, which was fixed just by rebooting my laptop! You can try to do so!

bp3
  • 245
  • 1
  • 5
  • 12
0

I use a Mac and have encountered this problem.

Finally, I found out that I have opened the Android Device Monitor, so I closed the previous one and reopened it and it started successfully.

Smiles
  • 481
  • 1
  • 6
  • 15