java.lang.RuntimeException

java.lang.reflect.InvocationTargetException

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web1963

  • java.lang.reflect.InvocationTargetException
  • java.lang.reflect.InvocationTargetException
  • via GitHub by TMEFRT
    , 1 year ago
    java.lang.reflect.InvocationTargetException
  • Stack trace

    • java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.google.firebase.database.core.GaePlatform.getGaeThreadFactory(GaePlatform.java:67) at com.google.firebase.database.core.GaePlatform.isActive(GaePlatform.java:78) at com.google.firebase.database.core.Context.getPlatform(Context.java:42) at com.google.firebase.database.core.Context.ensureLogger(Context.java:211) at com.google.firebase.database.core.Context.initServices(Context.java:77) at com.google.firebase.database.core.Context.freeze(Context.java:64) at com.google.firebase.database.core.RepoManager.createLocalRepo(RepoManager.java:78) at com.google.firebase.database.core.RepoManager.createRepo(RepoManager.java:28) at com.google.firebase.database.FirebaseDatabase.ensureRepo(FirebaseDatabase.java:249) at com.google.firebase.database.FirebaseDatabase.getReference(FirebaseDatabase.java:114) at com.basetis.appengine.utils.FirebaseUtils.initializeApp(FirebaseUtils.java:15) at integration.TestIntegration.beforeAllTests(TestIntegration.java:32) 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:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) Caused by: java.lang.reflect.InvocationTargetException 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:498) at com.google.firebase.database.core.GaePlatform.getGaeThreadFactory(GaePlatform.java:62) ... 26 more Caused by: java.lang.NullPointerException at com.google.appengine.api.ThreadManager.backgroundThreadFactory(ThreadManager.java:72) ... 31 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

    You’re the first here who have seen this exception.