Skip to content

Instantly share code, notes, and snippets.

@jmwski
Created October 29, 2020 16:36
Show Gist options
  • Save jmwski/97dfe99395b013f4816b2a6e41e95a0b to your computer and use it in GitHub Desktop.
Save jmwski/97dfe99395b013f4816b2a6e41e95a0b to your computer and use it in GitHub Desktop.
12:31:16.788 [NamespaceSystem-akka.actor.default-dispatcher-7:test-ns$-1245108615::test-ns$1846765206:] ERROR com.firebase.core.namespace.NamespaceActor - Unexpected error caught in NamespaceActor(test-ns) for AdminEnvelope(SecurityClaims(Some(GCloudToken(owner,GCloudOwner,1603992676,None)),None),UpdateRules({ "rules": { "$offering_id": { ".validate": "newData.hasChildren(['timestamp', 'text']" } }},false))
java.lang.ExceptionInInitializerError: null
at org.mozilla.javascript.Context.getCurrentContext(Context.java:346)
at org.mozilla.javascript.ScriptRuntime$DefaultMessageProvider.getMessage(ScriptRuntime.java:3637)
at org.mozilla.javascript.ScriptRuntime.getMessage(ScriptRuntime.java:3625)
at org.mozilla.javascript.ScriptRuntime.getMessage0(ScriptRuntime.java:3573)
at org.mozilla.javascript.Parser.lookupMessage(Parser.java:197)
at org.mozilla.javascript.Parser.addError(Parser.java:177)
at org.mozilla.javascript.Parser.addError(Parser.java:166)
at org.mozilla.javascript.Parser.reportError(Parser.java:223)
at org.mozilla.javascript.Parser.reportError(Parser.java:217)
at org.mozilla.javascript.Parser.mustMatchToken(Parser.java:388)
at org.mozilla.javascript.Parser.mustMatchToken(Parser.java:378)
at org.mozilla.javascript.Parser.argumentList(Parser.java:2390)
at org.mozilla.javascript.Parser.memberExprTail(Parser.java:2523)
at org.mozilla.javascript.Parser.memberExpr(Parser.java:2442)
at org.mozilla.javascript.Parser.unaryExpr(Parser.java:2304)
at org.mozilla.javascript.Parser.mulExpr(Parser.java:2229)
at org.mozilla.javascript.Parser.addExpr(Parser.java:2213)
at org.mozilla.javascript.Parser.shiftExpr(Parser.java:2194)
at org.mozilla.javascript.Parser.relExpr(Parser.java:2169)
at org.mozilla.javascript.Parser.eqExpr(Parser.java:2141)
at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:2130)
at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:2119)
at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:2108)
at org.mozilla.javascript.Parser.andExpr(Parser.java:2097)
at org.mozilla.javascript.Parser.orExpr(Parser.java:2086)
at org.mozilla.javascript.Parser.condExpr(Parser.java:2062)
at org.mozilla.javascript.Parser.assignExpr(Parser.java:2033)
at org.mozilla.javascript.Parser.expr(Parser.java:2012)
at org.mozilla.javascript.Parser.nameOrLabel(Parser.java:1765)
at org.mozilla.javascript.Parser.statementHelper(Parser.java:1032)
at org.mozilla.javascript.Parser.statement(Parser.java:901)
at org.mozilla.javascript.Parser.parse(Parser.java:540)
at org.mozilla.javascript.Parser.parse(Parser.java:478)
at com.firebase.core.namespace.rules.expressionparser.RuleExpressionParser$.parse(RuleExpressionParser.scala:28)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$RuleNodeParser.parseRuleExpression(RuleNodeParser.scala:159)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$RuleNodeParser.parseRuleNode(RuleNodeParser.scala:105)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$RuleNodeParser.parseRuleNode(RuleNodeParser.scala:115)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$RuleNodeParser.parse(RuleNodeParser.scala:58)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$.$anonfun$parse$1(RuleNodeParser.scala:31)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$.parse(RuleNodeParser.scala:27)
at com.firebase.core.namespace.NamespaceManager.parseUntrustedRules(NamespaceManager.scala:389)
at com.firebase.core.namespace.NamespaceManager.updateRules(NamespaceManager.scala:432)
at com.firebase.core.namespace.NamespaceActor.handleNewRules(NamespaceActor.scala:1529)
at com.firebase.core.namespace.NamespaceActor.handleAllowedAdminMessage(NamespaceActor.scala:600)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleAdminMessage$1(NamespaceActor.scala:590)
at com.firebase.core.namespace.NamespaceActor.$anonfun$withCredential$1(NamespaceActor.scala:542)
at com.firebase.util.result.package$Result.map(package.scala:45)
at com.firebase.util.result.package$Result.map$(package.scala:43)
at com.firebase.util.result.package$Value.map(package.scala:163)
at com.firebase.core.namespace.NamespaceActor.withCredential(NamespaceActor.scala:539)
at com.firebase.core.namespace.NamespaceActor.handleAdminMessage(NamespaceActor.scala:583)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleEnvelope$3(NamespaceActor.scala:530)
at com.firebase.core.namespace.NamespaceActor.checkActive(NamespaceActor.scala:238)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleEnvelope$2(NamespaceActor.scala:518)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
at com.firebase.util.misc.DynamicShutdownFlag$.using(ShutdownFlag.scala:41)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleEnvelope$1(NamespaceActor.scala:518)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
at com.firebase.core.util.CurrentOperationInfo$.set(CurrentOperationInfo.scala:20)
at com.firebase.core.namespace.NamespaceActor.handleEnvelope(NamespaceActor.scala:517)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleSingleMessage$1(NamespaceActor.scala:498)
at com.firebase.core.stats.NamespaceStats.measureNamespaceHandleMessageBytesAllocated(NamespaceStats.scala:1201)
at com.firebase.core.namespace.NamespaceActor.handleSingleMessage(NamespaceActor.scala:498)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleBatchOfMessages$7(NamespaceActor.scala:459)
at com.firebase.util.logging.Logging.withRenamedThread(Logging.scala:90)
at com.firebase.util.logging.Logging.withRenamedThread$(Logging.scala:85)
at com.firebase.core.namespace.NamespaceActor.withRenamedThread(NamespaceActor.scala:98)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleBatchOfMessages$6(NamespaceActor.scala:457)
at com.firebase.util.concurrent.Dispatcher.$anonfun$dispatch$2(Dispatcher.scala:28)
at com.firebase.core.stats.NamespaceStats.timeNamespaceActorMessage(NamespaceStats.scala:1645)
at com.firebase.core.namespace.NamespaceDispatcher$NamespaceDispatcherStats.onAtom(NamespaceDispatcher.scala:67)
at com.firebase.core.namespace.NamespaceDispatcher$NamespaceDispatcherStats.onAtom(NamespaceDispatcher.scala:54)
at com.firebase.util.concurrent.Dispatcher.$anonfun$dispatch$1(Dispatcher.scala:28)
at scala.collection.immutable.List.flatMap(List.scala:366)
at com.firebase.util.concurrent.Dispatcher.dispatch(Dispatcher.scala:22)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleBatchOfMessages$1(NamespaceActor.scala:452)
at com.firebase.util.logging.Logging.withRenamedThread(Logging.scala:90)
at com.firebase.util.logging.Logging.withRenamedThread$(Logging.scala:85)
at com.firebase.core.namespace.NamespaceActor.withRenamedThread(NamespaceActor.scala:98)
at com.firebase.core.namespace.NamespaceActor.handleBatchOfMessages(NamespaceActor.scala:433)
at com.firebase.core.namespace.BatchingThrottler.com$firebase$core$namespace$BatchingThrottler$$sendBatch(BatchingThrottler.scala:137)
at com.firebase.core.namespace.BatchingThrottler$$anonfun$startThrottling$2.applyOrElse(BatchingThrottler.scala:219)
at com.firebase.core.namespace.BatchingThrottler$$anonfun$startThrottling$2.applyOrElse(BatchingThrottler.scala:216)
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:38)
at akka.actor.FSM.processEvent(FSM.scala:801)
at akka.actor.FSM.processEvent$(FSM.scala:798)
at com.firebase.core.namespace.NamespaceActor.processEvent(NamespaceActor.scala:98)
at akka.actor.FSM.akka$actor$FSM$$processMsg(FSM.scala:795)
at akka.actor.FSM$$anonfun$receive$1.applyOrElse(FSM.scala:790)
at akka.actor.Actor.aroundReceive(Actor.scala:533)
at akka.actor.Actor.aroundReceive$(Actor.scala:531)
at com.firebase.core.namespace.NamespaceActor.aroundReceive(NamespaceActor.scala:98)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:573)
at akka.actor.ActorCell.invoke(ActorCell.scala:543)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:269)
at akka.dispatch.Mailbox.run(Mailbox.scala:230)
at akka.dispatch.Mailbox.exec(Mailbox.scala:242)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: java.lang.IllegalStateException: Failed to create VMBridge instance
at org.mozilla.javascript.VMBridge.makeInstance(VMBridge.java:38)
at org.mozilla.javascript.VMBridge.<clinit>(VMBridge.java:18)
... 102 common frames omitted
12:31:16.798 [NamespaceSystem-akka.actor.default-dispatcher-10] INFO com.firebase.core.namespace.NamespaceActor - Stopping namespace actor for test-ns
12:31:16.799 [NamespaceSystem-akka.actor.default-dispatcher-7] ERROR akka.actor.OneForOneStrategy - Actor restart triggered
com.firebase.core.namespace.package$ActorRestart: Actor restart triggered
at com.firebase.core.namespace.NamespaceActor.handleSingleMessage(NamespaceActor.scala:509)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleBatchOfMessages$7(NamespaceActor.scala:459)
at com.firebase.util.logging.Logging.withRenamedThread(Logging.scala:90)
at com.firebase.util.logging.Logging.withRenamedThread$(Logging.scala:85)
at com.firebase.core.namespace.NamespaceActor.withRenamedThread(NamespaceActor.scala:98)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleBatchOfMessages$6(NamespaceActor.scala:457)
at com.firebase.util.concurrent.Dispatcher.$anonfun$dispatch$2(Dispatcher.scala:28)
at com.firebase.core.stats.NamespaceStats.timeNamespaceActorMessage(NamespaceStats.scala:1645)
at com.firebase.core.namespace.NamespaceDispatcher$NamespaceDispatcherStats.onAtom(NamespaceDispatcher.scala:67)
at com.firebase.core.namespace.NamespaceDispatcher$NamespaceDispatcherStats.onAtom(NamespaceDispatcher.scala:54)
at com.firebase.util.concurrent.Dispatcher.$anonfun$dispatch$1(Dispatcher.scala:28)
at scala.collection.immutable.List.flatMap(List.scala:366)
at com.firebase.util.concurrent.Dispatcher.dispatch(Dispatcher.scala:22)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleBatchOfMessages$1(NamespaceActor.scala:452)
at com.firebase.util.logging.Logging.withRenamedThread(Logging.scala:90)
at com.firebase.util.logging.Logging.withRenamedThread$(Logging.scala:85)
at com.firebase.core.namespace.NamespaceActor.withRenamedThread(NamespaceActor.scala:98)
at com.firebase.core.namespace.NamespaceActor.handleBatchOfMessages(NamespaceActor.scala:433)
at com.firebase.core.namespace.BatchingThrottler.com$firebase$core$namespace$BatchingThrottler$$sendBatch(BatchingThrottler.scala:137)
at com.firebase.core.namespace.BatchingThrottler$$anonfun$startThrottling$2.applyOrElse(BatchingThrottler.scala:219)
at com.firebase.core.namespace.BatchingThrottler$$anonfun$startThrottling$2.applyOrElse(BatchingThrottler.scala:216)
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:38)
at akka.actor.FSM.processEvent(FSM.scala:801)
at akka.actor.FSM.processEvent$(FSM.scala:798)
at com.firebase.core.namespace.NamespaceActor.processEvent(NamespaceActor.scala:98)
at akka.actor.FSM.akka$actor$FSM$$processMsg(FSM.scala:795)
at akka.actor.FSM$$anonfun$receive$1.applyOrElse(FSM.scala:790)
at akka.actor.Actor.aroundReceive(Actor.scala:533)
at akka.actor.Actor.aroundReceive$(Actor.scala:531)
at com.firebase.core.namespace.NamespaceActor.aroundReceive(NamespaceActor.scala:98)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:573)
at akka.actor.ActorCell.invoke(ActorCell.scala:543)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:269)
at akka.dispatch.Mailbox.run(Mailbox.scala:230)
at akka.dispatch.Mailbox.exec(Mailbox.scala:242)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: java.lang.ExceptionInInitializerError: null
at org.mozilla.javascript.Context.getCurrentContext(Context.java:346)
at org.mozilla.javascript.ScriptRuntime$DefaultMessageProvider.getMessage(ScriptRuntime.java:3637)
at org.mozilla.javascript.ScriptRuntime.getMessage(ScriptRuntime.java:3625)
at org.mozilla.javascript.ScriptRuntime.getMessage0(ScriptRuntime.java:3573)
at org.mozilla.javascript.Parser.lookupMessage(Parser.java:197)
at org.mozilla.javascript.Parser.addError(Parser.java:177)
at org.mozilla.javascript.Parser.addError(Parser.java:166)
at org.mozilla.javascript.Parser.reportError(Parser.java:223)
at org.mozilla.javascript.Parser.reportError(Parser.java:217)
at org.mozilla.javascript.Parser.mustMatchToken(Parser.java:388)
at org.mozilla.javascript.Parser.mustMatchToken(Parser.java:378)
at org.mozilla.javascript.Parser.argumentList(Parser.java:2390)
at org.mozilla.javascript.Parser.memberExprTail(Parser.java:2523)
at org.mozilla.javascript.Parser.memberExpr(Parser.java:2442)
at org.mozilla.javascript.Parser.unaryExpr(Parser.java:2304)
at org.mozilla.javascript.Parser.mulExpr(Parser.java:2229)
at org.mozilla.javascript.Parser.addExpr(Parser.java:2213)
at org.mozilla.javascript.Parser.shiftExpr(Parser.java:2194)
at org.mozilla.javascript.Parser.relExpr(Parser.java:2169)
at org.mozilla.javascript.Parser.eqExpr(Parser.java:2141)
at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:2130)
at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:2119)
at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:2108)
at org.mozilla.javascript.Parser.andExpr(Parser.java:2097)
at org.mozilla.javascript.Parser.orExpr(Parser.java:2086)
at org.mozilla.javascript.Parser.condExpr(Parser.java:2062)
at org.mozilla.javascript.Parser.assignExpr(Parser.java:2033)
at org.mozilla.javascript.Parser.expr(Parser.java:2012)
at org.mozilla.javascript.Parser.nameOrLabel(Parser.java:1765)
at org.mozilla.javascript.Parser.statementHelper(Parser.java:1032)
at org.mozilla.javascript.Parser.statement(Parser.java:901)
at org.mozilla.javascript.Parser.parse(Parser.java:540)
at org.mozilla.javascript.Parser.parse(Parser.java:478)
at com.firebase.core.namespace.rules.expressionparser.RuleExpressionParser$.parse(RuleExpressionParser.scala:28)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$RuleNodeParser.parseRuleExpression(RuleNodeParser.scala:159)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$RuleNodeParser.parseRuleNode(RuleNodeParser.scala:105)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$RuleNodeParser.parseRuleNode(RuleNodeParser.scala:115)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$RuleNodeParser.parse(RuleNodeParser.scala:58)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$.$anonfun$parse$1(RuleNodeParser.scala:31)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$.parse(RuleNodeParser.scala:27)
at com.firebase.core.namespace.NamespaceManager.parseUntrustedRules(NamespaceManager.scala:389)
at com.firebase.core.namespace.NamespaceManager.updateRules(NamespaceManager.scala:432)
at com.firebase.core.namespace.NamespaceActor.handleNewRules(NamespaceActor.scala:1529)
at com.firebase.core.namespace.NamespaceActor.handleAllowedAdminMessage(NamespaceActor.scala:600)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleAdminMessage$1(NamespaceActor.scala:590)
at com.firebase.core.namespace.NamespaceActor.$anonfun$withCredential$1(NamespaceActor.scala:542)
at com.firebase.util.result.package$Result.map(package.scala:45)
at com.firebase.util.result.package$Result.map$(package.scala:43)
at com.firebase.util.result.package$Value.map(package.scala:163)
at com.firebase.core.namespace.NamespaceActor.withCredential(NamespaceActor.scala:539)
at com.firebase.core.namespace.NamespaceActor.handleAdminMessage(NamespaceActor.scala:583)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleEnvelope$3(NamespaceActor.scala:530)
at com.firebase.core.namespace.NamespaceActor.checkActive(NamespaceActor.scala:238)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleEnvelope$2(NamespaceActor.scala:518)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
at com.firebase.util.misc.DynamicShutdownFlag$.using(ShutdownFlag.scala:41)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleEnvelope$1(NamespaceActor.scala:518)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
at com.firebase.core.util.CurrentOperationInfo$.set(CurrentOperationInfo.scala:20)
at com.firebase.core.namespace.NamespaceActor.handleEnvelope(NamespaceActor.scala:517)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleSingleMessage$1(NamespaceActor.scala:498)
at com.firebase.core.stats.NamespaceStats.measureNamespaceHandleMessageBytesAllocated(NamespaceStats.scala:1201)
at com.firebase.core.namespace.NamespaceActor.handleSingleMessage(NamespaceActor.scala:498)
... 38 common frames omitted
Caused by: java.lang.IllegalStateException: Failed to create VMBridge instance
at org.mozilla.javascript.VMBridge.makeInstance(VMBridge.java:38)
at org.mozilla.javascript.VMBridge.<clinit>(VMBridge.java:18)
... 102 common frames omitted
12:31:16.799 [NamespaceSystem-akka.actor.default-dispatcher-10] INFO com.firebase.core.namespace.NamespaceActor - Gauges removed for test-ns
12:31:16.804 [NamespaceSystem-akka.actor.default-dispatcher-10] ERROR com.firebase.core.namespace.NamespaceActor - Post restart for actor Actor[akka://NamespaceSystem/user/test-ns#-1690315188]
com.firebase.core.namespace.package$ActorRestart: Actor restart triggered
at com.firebase.core.namespace.NamespaceActor.handleSingleMessage(NamespaceActor.scala:509)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleBatchOfMessages$7(NamespaceActor.scala:459)
at com.firebase.util.logging.Logging.withRenamedThread(Logging.scala:90)
at com.firebase.util.logging.Logging.withRenamedThread$(Logging.scala:85)
at com.firebase.core.namespace.NamespaceActor.withRenamedThread(NamespaceActor.scala:98)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleBatchOfMessages$6(NamespaceActor.scala:457)
at com.firebase.util.concurrent.Dispatcher.$anonfun$dispatch$2(Dispatcher.scala:28)
at com.firebase.core.stats.NamespaceStats.timeNamespaceActorMessage(NamespaceStats.scala:1645)
at com.firebase.core.namespace.NamespaceDispatcher$NamespaceDispatcherStats.onAtom(NamespaceDispatcher.scala:67)
at com.firebase.core.namespace.NamespaceDispatcher$NamespaceDispatcherStats.onAtom(NamespaceDispatcher.scala:54)
at com.firebase.util.concurrent.Dispatcher.$anonfun$dispatch$1(Dispatcher.scala:28)
at scala.collection.immutable.List.flatMap(List.scala:366)
at com.firebase.util.concurrent.Dispatcher.dispatch(Dispatcher.scala:22)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleBatchOfMessages$1(NamespaceActor.scala:452)
at com.firebase.util.logging.Logging.withRenamedThread(Logging.scala:90)
at com.firebase.util.logging.Logging.withRenamedThread$(Logging.scala:85)
at com.firebase.core.namespace.NamespaceActor.withRenamedThread(NamespaceActor.scala:98)
at com.firebase.core.namespace.NamespaceActor.handleBatchOfMessages(NamespaceActor.scala:433)
at com.firebase.core.namespace.BatchingThrottler.com$firebase$core$namespace$BatchingThrottler$$sendBatch(BatchingThrottler.scala:137)
at com.firebase.core.namespace.BatchingThrottler$$anonfun$startThrottling$2.applyOrElse(BatchingThrottler.scala:219)
at com.firebase.core.namespace.BatchingThrottler$$anonfun$startThrottling$2.applyOrElse(BatchingThrottler.scala:216)
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:38)
at akka.actor.FSM.processEvent(FSM.scala:801)
at akka.actor.FSM.processEvent$(FSM.scala:798)
at com.firebase.core.namespace.NamespaceActor.processEvent(NamespaceActor.scala:98)
at akka.actor.FSM.akka$actor$FSM$$processMsg(FSM.scala:795)
at akka.actor.FSM$$anonfun$receive$1.applyOrElse(FSM.scala:790)
at akka.actor.Actor.aroundReceive(Actor.scala:533)
at akka.actor.Actor.aroundReceive$(Actor.scala:531)
at com.firebase.core.namespace.NamespaceActor.aroundReceive(NamespaceActor.scala:98)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:573)
at akka.actor.ActorCell.invoke(ActorCell.scala:543)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:269)
at akka.dispatch.Mailbox.run(Mailbox.scala:230)
at akka.dispatch.Mailbox.exec(Mailbox.scala:242)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: java.lang.ExceptionInInitializerError: null
at org.mozilla.javascript.Context.getCurrentContext(Context.java:346)
at org.mozilla.javascript.ScriptRuntime$DefaultMessageProvider.getMessage(ScriptRuntime.java:3637)
at org.mozilla.javascript.ScriptRuntime.getMessage(ScriptRuntime.java:3625)
at org.mozilla.javascript.ScriptRuntime.getMessage0(ScriptRuntime.java:3573)
at org.mozilla.javascript.Parser.lookupMessage(Parser.java:197)
at org.mozilla.javascript.Parser.addError(Parser.java:177)
at org.mozilla.javascript.Parser.addError(Parser.java:166)
at org.mozilla.javascript.Parser.reportError(Parser.java:223)
at org.mozilla.javascript.Parser.reportError(Parser.java:217)
at org.mozilla.javascript.Parser.mustMatchToken(Parser.java:388)
at org.mozilla.javascript.Parser.mustMatchToken(Parser.java:378)
at org.mozilla.javascript.Parser.argumentList(Parser.java:2390)
at org.mozilla.javascript.Parser.memberExprTail(Parser.java:2523)
at org.mozilla.javascript.Parser.memberExpr(Parser.java:2442)
at org.mozilla.javascript.Parser.unaryExpr(Parser.java:2304)
at org.mozilla.javascript.Parser.mulExpr(Parser.java:2229)
at org.mozilla.javascript.Parser.addExpr(Parser.java:2213)
at org.mozilla.javascript.Parser.shiftExpr(Parser.java:2194)
at org.mozilla.javascript.Parser.relExpr(Parser.java:2169)
at org.mozilla.javascript.Parser.eqExpr(Parser.java:2141)
at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:2130)
at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:2119)
at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:2108)
at org.mozilla.javascript.Parser.andExpr(Parser.java:2097)
at org.mozilla.javascript.Parser.orExpr(Parser.java:2086)
at org.mozilla.javascript.Parser.condExpr(Parser.java:2062)
at org.mozilla.javascript.Parser.assignExpr(Parser.java:2033)
at org.mozilla.javascript.Parser.expr(Parser.java:2012)
at org.mozilla.javascript.Parser.nameOrLabel(Parser.java:1765)
at org.mozilla.javascript.Parser.statementHelper(Parser.java:1032)
at org.mozilla.javascript.Parser.statement(Parser.java:901)
at org.mozilla.javascript.Parser.parse(Parser.java:540)
at org.mozilla.javascript.Parser.parse(Parser.java:478)
at com.firebase.core.namespace.rules.expressionparser.RuleExpressionParser$.parse(RuleExpressionParser.scala:28)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$RuleNodeParser.parseRuleExpression(RuleNodeParser.scala:159)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$RuleNodeParser.parseRuleNode(RuleNodeParser.scala:105)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$RuleNodeParser.parseRuleNode(RuleNodeParser.scala:115)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$RuleNodeParser.parse(RuleNodeParser.scala:58)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$.$anonfun$parse$1(RuleNodeParser.scala:31)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$.parse(RuleNodeParser.scala:27)
at com.firebase.core.namespace.NamespaceManager.parseUntrustedRules(NamespaceManager.scala:389)
at com.firebase.core.namespace.NamespaceManager.updateRules(NamespaceManager.scala:432)
at com.firebase.core.namespace.NamespaceActor.handleNewRules(NamespaceActor.scala:1529)
at com.firebase.core.namespace.NamespaceActor.handleAllowedAdminMessage(NamespaceActor.scala:600)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleAdminMessage$1(NamespaceActor.scala:590)
at com.firebase.core.namespace.NamespaceActor.$anonfun$withCredential$1(NamespaceActor.scala:542)
at com.firebase.util.result.package$Result.map(package.scala:45)
at com.firebase.util.result.package$Result.map$(package.scala:43)
at com.firebase.util.result.package$Value.map(package.scala:163)
at com.firebase.core.namespace.NamespaceActor.withCredential(NamespaceActor.scala:539)
at com.firebase.core.namespace.NamespaceActor.handleAdminMessage(NamespaceActor.scala:583)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleEnvelope$3(NamespaceActor.scala:530)
at com.firebase.core.namespace.NamespaceActor.checkActive(NamespaceActor.scala:238)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleEnvelope$2(NamespaceActor.scala:518)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
at com.firebase.util.misc.DynamicShutdownFlag$.using(ShutdownFlag.scala:41)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleEnvelope$1(NamespaceActor.scala:518)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
at com.firebase.core.util.CurrentOperationInfo$.set(CurrentOperationInfo.scala:20)
at com.firebase.core.namespace.NamespaceActor.handleEnvelope(NamespaceActor.scala:517)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleSingleMessage$1(NamespaceActor.scala:498)
at com.firebase.core.stats.NamespaceStats.measureNamespaceHandleMessageBytesAllocated(NamespaceStats.scala:1201)
at com.firebase.core.namespace.NamespaceActor.handleSingleMessage(NamespaceActor.scala:498)
... 38 common frames omitted
Caused by: java.lang.IllegalStateException: Failed to create VMBridge instance
at org.mozilla.javascript.VMBridge.makeInstance(VMBridge.java:38)
at org.mozilla.javascript.VMBridge.<clinit>(VMBridge.java:18)
... 102 common frames omitted
12:31:16.807 [NamespaceSystem-akka.actor.default-dispatcher-7] ERROR com.firebase.core.namespace.view.BroadcastActor - Post restart for actor Actor[akka://NamespaceSystem/user/test-ns/broadcast#1267154460]
com.firebase.core.namespace.package$ActorRestart: Actor restart triggered
at com.firebase.core.namespace.NamespaceActor.handleSingleMessage(NamespaceActor.scala:509)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleBatchOfMessages$7(NamespaceActor.scala:459)
at com.firebase.util.logging.Logging.withRenamedThread(Logging.scala:90)
at com.firebase.util.logging.Logging.withRenamedThread$(Logging.scala:85)
at com.firebase.core.namespace.NamespaceActor.withRenamedThread(NamespaceActor.scala:98)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleBatchOfMessages$6(NamespaceActor.scala:457)
at com.firebase.util.concurrent.Dispatcher.$anonfun$dispatch$2(Dispatcher.scala:28)
at com.firebase.core.stats.NamespaceStats.timeNamespaceActorMessage(NamespaceStats.scala:1645)
at com.firebase.core.namespace.NamespaceDispatcher$NamespaceDispatcherStats.onAtom(NamespaceDispatcher.scala:67)
at com.firebase.core.namespace.NamespaceDispatcher$NamespaceDispatcherStats.onAtom(NamespaceDispatcher.scala:54)
at com.firebase.util.concurrent.Dispatcher.$anonfun$dispatch$1(Dispatcher.scala:28)
at scala.collection.immutable.List.flatMap(List.scala:366)
at com.firebase.util.concurrent.Dispatcher.dispatch(Dispatcher.scala:22)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleBatchOfMessages$1(NamespaceActor.scala:452)
at com.firebase.util.logging.Logging.withRenamedThread(Logging.scala:90)
at com.firebase.util.logging.Logging.withRenamedThread$(Logging.scala:85)
at com.firebase.core.namespace.NamespaceActor.withRenamedThread(NamespaceActor.scala:98)
at com.firebase.core.namespace.NamespaceActor.handleBatchOfMessages(NamespaceActor.scala:433)
at com.firebase.core.namespace.BatchingThrottler.com$firebase$core$namespace$BatchingThrottler$$sendBatch(BatchingThrottler.scala:137)
at com.firebase.core.namespace.BatchingThrottler$$anonfun$startThrottling$2.applyOrElse(BatchingThrottler.scala:219)
at com.firebase.core.namespace.BatchingThrottler$$anonfun$startThrottling$2.applyOrElse(BatchingThrottler.scala:216)
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:38)
at akka.actor.FSM.processEvent(FSM.scala:801)
at akka.actor.FSM.processEvent$(FSM.scala:798)
at com.firebase.core.namespace.NamespaceActor.processEvent(NamespaceActor.scala:98)
at akka.actor.FSM.akka$actor$FSM$$processMsg(FSM.scala:795)
at akka.actor.FSM$$anonfun$receive$1.applyOrElse(FSM.scala:790)
at akka.actor.Actor.aroundReceive(Actor.scala:533)
at akka.actor.Actor.aroundReceive$(Actor.scala:531)
at com.firebase.core.namespace.NamespaceActor.aroundReceive(NamespaceActor.scala:98)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:573)
at akka.actor.ActorCell.invoke(ActorCell.scala:543)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:269)
at akka.dispatch.Mailbox.run(Mailbox.scala:230)
at akka.dispatch.Mailbox.exec(Mailbox.scala:242)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: java.lang.ExceptionInInitializerError: null
at org.mozilla.javascript.Context.getCurrentContext(Context.java:346)
at org.mozilla.javascript.ScriptRuntime$DefaultMessageProvider.getMessage(ScriptRuntime.java:3637)
at org.mozilla.javascript.ScriptRuntime.getMessage(ScriptRuntime.java:3625)
at org.mozilla.javascript.ScriptRuntime.getMessage0(ScriptRuntime.java:3573)
at org.mozilla.javascript.Parser.lookupMessage(Parser.java:197)
at org.mozilla.javascript.Parser.addError(Parser.java:177)
at org.mozilla.javascript.Parser.addError(Parser.java:166)
at org.mozilla.javascript.Parser.reportError(Parser.java:223)
at org.mozilla.javascript.Parser.reportError(Parser.java:217)
at org.mozilla.javascript.Parser.mustMatchToken(Parser.java:388)
at org.mozilla.javascript.Parser.mustMatchToken(Parser.java:378)
at org.mozilla.javascript.Parser.argumentList(Parser.java:2390)
at org.mozilla.javascript.Parser.memberExprTail(Parser.java:2523)
at org.mozilla.javascript.Parser.memberExpr(Parser.java:2442)
at org.mozilla.javascript.Parser.unaryExpr(Parser.java:2304)
at org.mozilla.javascript.Parser.mulExpr(Parser.java:2229)
at org.mozilla.javascript.Parser.addExpr(Parser.java:2213)
at org.mozilla.javascript.Parser.shiftExpr(Parser.java:2194)
at org.mozilla.javascript.Parser.relExpr(Parser.java:2169)
at org.mozilla.javascript.Parser.eqExpr(Parser.java:2141)
at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:2130)
at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:2119)
at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:2108)
at org.mozilla.javascript.Parser.andExpr(Parser.java:2097)
at org.mozilla.javascript.Parser.orExpr(Parser.java:2086)
at org.mozilla.javascript.Parser.condExpr(Parser.java:2062)
at org.mozilla.javascript.Parser.assignExpr(Parser.java:2033)
at org.mozilla.javascript.Parser.expr(Parser.java:2012)
at org.mozilla.javascript.Parser.nameOrLabel(Parser.java:1765)
at org.mozilla.javascript.Parser.statementHelper(Parser.java:1032)
at org.mozilla.javascript.Parser.statement(Parser.java:901)
at org.mozilla.javascript.Parser.parse(Parser.java:540)
at org.mozilla.javascript.Parser.parse(Parser.java:478)
at com.firebase.core.namespace.rules.expressionparser.RuleExpressionParser$.parse(RuleExpressionParser.scala:28)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$RuleNodeParser.parseRuleExpression(RuleNodeParser.scala:159)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$RuleNodeParser.parseRuleNode(RuleNodeParser.scala:105)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$RuleNodeParser.parseRuleNode(RuleNodeParser.scala:115)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$RuleNodeParser.parse(RuleNodeParser.scala:58)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$.$anonfun$parse$1(RuleNodeParser.scala:31)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
at com.firebase.core.namespace.rules.tree.RuleNodeParser$.parse(RuleNodeParser.scala:27)
at com.firebase.core.namespace.NamespaceManager.parseUntrustedRules(NamespaceManager.scala:389)
at com.firebase.core.namespace.NamespaceManager.updateRules(NamespaceManager.scala:432)
at com.firebase.core.namespace.NamespaceActor.handleNewRules(NamespaceActor.scala:1529)
at com.firebase.core.namespace.NamespaceActor.handleAllowedAdminMessage(NamespaceActor.scala:600)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleAdminMessage$1(NamespaceActor.scala:590)
at com.firebase.core.namespace.NamespaceActor.$anonfun$withCredential$1(NamespaceActor.scala:542)
at com.firebase.util.result.package$Result.map(package.scala:45)
at com.firebase.util.result.package$Result.map$(package.scala:43)
at com.firebase.util.result.package$Value.map(package.scala:163)
at com.firebase.core.namespace.NamespaceActor.withCredential(NamespaceActor.scala:539)
at com.firebase.core.namespace.NamespaceActor.handleAdminMessage(NamespaceActor.scala:583)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleEnvelope$3(NamespaceActor.scala:530)
at com.firebase.core.namespace.NamespaceActor.checkActive(NamespaceActor.scala:238)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleEnvelope$2(NamespaceActor.scala:518)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
at com.firebase.util.misc.DynamicShutdownFlag$.using(ShutdownFlag.scala:41)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleEnvelope$1(NamespaceActor.scala:518)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
at com.firebase.core.util.CurrentOperationInfo$.set(CurrentOperationInfo.scala:20)
at com.firebase.core.namespace.NamespaceActor.handleEnvelope(NamespaceActor.scala:517)
at com.firebase.core.namespace.NamespaceActor.$anonfun$handleSingleMessage$1(NamespaceActor.scala:498)
at com.firebase.core.stats.NamespaceStats.measureNamespaceHandleMessageBytesAllocated(NamespaceStats.scala:1201)
at com.firebase.core.namespace.NamespaceActor.handleSingleMessage(NamespaceActor.scala:498)
... 38 common frames omitted
Caused by: java.lang.IllegalStateException: Failed to create VMBridge instance
at org.mozilla.javascript.VMBridge.makeInstance(VMBridge.java:38)
at org.mozilla.javascript.VMBridge.<clinit>(VMBridge.java:18)
... 102 common frames omitted
12:31:16.808 [NamespaceSystem-akka.actor.default-dispatcher-10:test-ns$-1787040110:] ERROR com.firebase.core.namespace.NamespaceActor - Unknown message: InternalError(An internal error occurred) from Actor[akka://NamespaceSystem/user/test-ns#-1690315188]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment