java.lang.NullPointerException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Take a look at this blog post on how to set up Grid2 https://goo.gl/rxzbE6. A user related (in the email group on the source) that using older selenium libs solves this exception.

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

  • GitHub comment 36#239405881
    via GitHub by simon33-2
    ,
  • It happens only when ONOS is restarted with OpenstackNetworking App is active. 2016-06-14 10:35:01,721 | ERROR | routing-L3-event | Tools | 72 - org.onosproject.onlab-misc - 1.7.0.SNAPSHOT | Uncaught exception on onos-openstackrouting-L3-event java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:212)[43:com.google.guava:19.0.0] at org.onosproject.openstacknetworking.routing.OpenstackRoutingRulePopulator.getGatewayNode(OpenstackRoutingRulePopulator.java:382)[230:org.onosproject.onos-app-openstackrouting:1.7.0.SNAPSHOT] at org.onosproject.openstacknetworking.routing.OpenstackRoutingRulePopulator.populateComputeNodeRules(OpenstackRoutingRulePopulator.java:353)[230:org.onosproject.onos-app-openstackrouting:1.7.0.SNAPSHOT] at org.onosproject.openstacknetworking.routing.OpenstackRoutingRulePopulator.populateExternalRules(OpenstackRoutingRulePopulator.java:326)[230:org.onosproject.onos-app-openstackrouting:1.7.0.SNAPSHOT] at org.onosproject.openstacknetworking.routing.OpenstackRoutingManager.initiateL3Rule(OpenstackRoutingManager.java:537)[230:org.onosproject.onos-app-openstackrouting:1.7.0.SNAPSHOT] at java.util.ArrayList.forEach(ArrayList.java:1249)[:1.8.0_66] at org.onosproject.openstacknetworking.routing.OpenstackRoutingManager.checkExternalConnection(OpenstackRoutingManager.java:518)[230:org.onosproject.onos-app-openstackrouting:1.7.0.SNAPSHOT] at org.onosproject.openstacknetworking.routing.OpenstackRoutingManager.updateRouterInterface(OpenstackRoutingManager.java:293)[230:org.onosproject.onos-app-openstackrouting:1.7.0.SNAPSHOT] at org.onosproject.openstacknetworking.routing.OpenstackRoutingManager.lambda$null$16(OpenstackRoutingManager.java:404)[230:org.onosproject.onos-app-openstackrouting:1.7.0.SNAPSHOT] at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)[:1.8.0_66] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)[:1.8.0_66] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)[:1.8.0_66] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)[:1.8.0_66] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)[:1.8.0_66] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)[:1.8.0_66] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)[:1.8.0_66] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)[:1.8.0_66] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)[:1.8.0_66] at org.onosproject.openstacknetworking.routing.OpenstackRoutingManager.lambda$reloadInitL3Rules$17(OpenstackRoutingManager.java:404)[230:org.onosproject.onos-app-openstackrouting:1.7.0.SNAPSHOT] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_66] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_66] at java.lang.Thread.run(Thread.java:745)[:1.8.0_66]
    via by Sangho Shin,
  • GitHub comment 64#250073600
    via GitHub by luc-poynt
    ,
  • Illegal request state
    via GitHub by jdahlin
    ,
    • java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:212) at games.strategy.engine.framework.map.download.DownloadMapsWindow.showDownloadMapsWindow(DownloadMapsWindow.java:81) at games.strategy.engine.framework.map.download.DownloadMapsWindow.showDownloadMapsWindow(DownloadMapsWindow.java:72) at games.strategy.engine.framework.startup.ui.GameSelectorPanel.lambda$layoutComponents$100(GameSelectorPanel.java:188) at games.strategy.ui.SwingComponents.lambda$newJButton$223(SwingComponents.java:164) at games.strategy.ui.SwingAction$2.actionPerformed(SwingAction.java:51) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at org.pushingpixels.substance.internal.utils.RolloverButtonListener.mouseReleased(RolloverButtonListener.java:124) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290) at java.awt.Component.processMouseEvent(Component.java:6535) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6300) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4891) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4713) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) at java.awt.Container.dispatchEventImpl(Container.java:2280) at java.awt.Window.dispatchEventImpl(Window.java:2750) at java.awt.Component.dispatchEvent(Component.java:4713) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    brunosatriani
    8 times, last one,
    bayukresno
    1 times, last one,
    asvid
    5 times, last one,
    83 more bugmates