Skip to content

Instantly share code, notes, and snippets.

@mvberg
Created November 21, 2013 16:27
Show Gist options
  • Save mvberg/7584928 to your computer and use it in GitHub Desktop.
Save mvberg/7584928 to your computer and use it in GitHub Desktop.
feed subs NPE 1) multiple agents with same interest 2) one excludes 3) exception below
java.lang.NullPointerException
at com.barchart.feed.base.provider.MarketplaceBase.unsubscribe(MarketplaceBase.java:537)
at com.barchart.feed.base.provider.MarketplaceBase.unsubscribe(MarketplaceBase.java:560)
at com.barchart.feed.base.provider.MarketplaceBase.access$900(MarketplaceBase.java:46)
at com.barchart.feed.base.provider.MarketplaceBase$BaseAgent.exclude(MarketplaceBase.java:442)
at com.barchart.plugin.widget.sandbox.depth.ui.MarketDepthView.changeSymbol(MarketDepthView.java:461)
at com.barchart.plugin.widget.sandbox.depth.MarketDepthWidget.onSymbolChange(MarketDepthWidget.java:119)
at com.barchart.plugin.core.impl.space.flexi.ui.FlexStackPane.doSymbolChange(FlexStackPane.java:1038)
at com.barchart.plugin.core.impl.space.flexi.ui.FlexStackPane.keyPressed(FlexStackPane.java:447)
at com.barchart.plugin.core.impl.space.flexi.ui.FlexStackPane$1.keyPressed(FlexStackPane.java:930)
at org.apache.pivot.wtk.Component$ComponentKeyListenerList.keyPressed(Component.java:577)
at org.apache.pivot.wtk.Component.keyPressed(Component.java:2915)
at org.apache.pivot.wtk.ApplicationContext$DisplayHost.processKeyEvent(ApplicationContext.java:1475)
at java.awt.Component.processEvent(Unknown Source)
at org.apache.pivot.wtk.ApplicationContext$DisplayHost.processEvent(ApplicationContext.java:851)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment