[
https://issues.apache.org/jira/browse/PROTON-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robbie Gemmell closed PROTON-1204.
----------------------------------
Resolution: Invalid
Closing this out. Seems to be the same as PROTON-1276 which stemmed from multi
threaded use of the engine, which is not supported.
> NullPointerException in Reactor Stack - IOHandler.onUnHandled method
> --------------------------------------------------------------------
>
> Key: PROTON-1204
> URL: https://issues.apache.org/jira/browse/PROTON-1204
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-j
> Affects Versions: 0.12.2
> Reporter: Sreeram Garlapati
>
> We are hitting NPE in the proton reactor Stack in IOHandler.java ().
> LN 302: ReactorImpl reactor = (ReactorImpl)event.getReactor();
> LN 303: Selector selector = reactor.getSelector(); <--- at this line
> 'reactor is null' when eventType=NON_CORE_EVENT
> Below is the exception stack trace:
> ---------------------------------------------
> java.lang.NullPointerException
> org.apache.qpid.proton.engine.impl.EventImpl.dispatch(EventImpl.java:112)
> org.apache.qpid.proton.reactor.impl.ReactorImpl.dispatch(ReactorImpl.java:304)
> org.apache.qpid.proton.reactor.impl.ReactorImpl.process(ReactorImpl.java:273)
> org.apache.qpid.proton.reactor.impl.ReactorImpl.run(ReactorImpl.java:340)
> com.microsoft.azure.servicebus.MessagingFactory$RunReactor.run(MessagingFactory.java:366)
> java.lang.Thread.run(Unknown Source)Cause: null
> org.apache.qpid.proton.reactor.impl.IOHandler.onUnhandled(IOHandler.java:303)
> org.apache.qpid.proton.engine.BaseHandler.handle(BaseHandler.java:236)
> org.apache.qpid.proton.engine.impl.EventImpl.dispatch(EventImpl.java:108)
> org.apache.qpid.proton.reactor.impl.ReactorImpl.dispatch(ReactorImpl.java:304)
> org.apache.qpid.proton.reactor.impl.ReactorImpl.process(ReactorImpl.java:273)
> org.apache.qpid.proton.reactor.impl.ReactorImpl.run(ReactorImpl.java:340)
> com.microsoft.azure.servicebus.MessagingFactory$RunReactor.run(MessagingFactory.java:366)
> java.lang.Thread.run(Unknown Source)
> I am trying to debug thru this and am blocked on understanding this: as per
> the Javadoc available - NON_CORE_EVENT can only be raised by extensions ? Can
> someone please help understand what are extensions and when this event is
> raised?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]