server - Any workaround for Firebase exception NoClassDefFoundError: LLRBNode$NodeVisitor -
after having switch firebase admin 4.0.0 sdk, on server. know way can switch old server-sdk dependency, or way work round exception? i've reported fb in meantime, server running again... @ moment seem totally stuck.
java.lang.noclassdeffounderror: com/google/firebase/database/collection/llrbnode$nodevisitor @ com.google.firebase.database.snapshot.priorityutilities.nullpriority(priorityutilities.java:13) @ com.google.firebase.database.snapshot.nodeutilities.nodefromjson(nodeutilities.java:12) @ com.google.firebase.database.core.repo.updateinfo(repo.java:540) @ com.google.firebase.database.core.repo.onserverinfoupdate(repo.java:494) @ com.google.firebase.database.core.repo.ondisconnect(repo.java:485) @ com.google.firebase.database.connection.persistentconnectionimpl.ondisconnect(persistentconnectionimpl.java:409) @ com.google.firebase.database.connection.connection.close(connection.java:82) @ com.google.firebase.database.connection.connection.onreset(connection.java:199) @ com.google.firebase.database.connection.connection.oncontrolmessage(connection.java:152) @ com.google.firebase.database.connection.connection.onmessage(connection.java:110) @ com.google.firebase.database.connection.websocketconnection.appendframe(websocketconnection.java:226) @ com.google.firebase.database.connection.websocketconnection.handleincomingframe(websocketconnection.java:271) @ com.google.firebase.database.connection.websocketconnection.access$500(websocketconnection.java:20) @ com.google.firebase.database.connection.websocketconnection$wsclienttubesock$2.run(websocketconnection.java:67) @ java.util.concurrent.executors$runnableadapter.call(executors.java:511) @ java.util.concurrent.futuretask.run(futuretask.java:266) @ java.util.concurrent.scheduledthreadpoolexecutor$scheduledfuturetask.access$201(scheduledthreadpoolexecutor.java:180) @ java.util.concurrent.scheduledthreadpoolexecutor$scheduledfuturetask.run(scheduledthreadpoolexecutor.java:293) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) @ java.lang.thread.run(thread.java:745) caused by: java.lang.classnotfoundexception: com.google.firebase.database.collection.llrbnode$nodevisitor @ java.net.urlclassloader.findclass(urlclassloader.java:381) @ java.lang.classloader.loadclass(classloader.java:424) @ sun.misc.launcher$appclassloader.loadclass(launcher.java:331) @ java.lang.classloader.loadclass(classloader.java:357) ... 21 more
and bit later:
tue nov 08 14:49:06 cet 2016 [error] runloop: uncaught exception in firebase database runloop (3.0.0). please report support@firebase.com java.lang.nullpointerexception @ com.google.firebase.database.core.repo.addeventcallback(repo.java:518) @ com.google.firebase.database.query$3.run(query.java:195) @ java.util.concurrent.executors$runnableadapter.call(executors.java:511) @ java.util.concurrent.futuretask.run(futuretask.java:266) @ java.util.concurrent.scheduledthreadpoolexecutor$scheduledfuturetask.access$201(scheduledthreadpoolexecutor.java:180) @ java.util.concurrent.scheduledthreadpoolexecutor$scheduledfuturetask.run(scheduledthreadpoolexecutor.java:293) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) @ java.lang.thread.run(thread.java:745)
firebase has released version 4.0.1 of firebase-admin. adds missing classes , appears work correctly.
this have been managed better. version 4.0.0 of firebase-admin should have been tested, , in addition, not make sense kill old dependency @ same time adding new 1 - there should time (at least few days) people not forced upgrade.
Comments
Post a Comment