java.lang.reflect.InvocationTargetException

Exception #2474103

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

Stack trace

  • java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.robolectric.RobolectricTestRunner.getHooksInterface(RobolectricTestRunner.java:455) Caused by: java.lang.ExceptionInInitializerError at org.robolectric.internal.ParallelUniverse.<init>(ParallelUniverse.java:32) ... 5 more Caused by: java.lang.RuntimeException: No shadows modules found containing a org.robolectric.ShadowsAdapter at org.robolectric.Robolectric.instantiateShadowsAdapter(Robolectric.java:91) at org.robolectric.Robolectric.<clinit>(Robolectric.java:14) ... 6 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

We couldn't find other users who have seen this exception.