Sreeram Garlapati created PROTON-1204:
-----------------------------------------

             Summary: 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
             Fix For: 0.13.0


We are hitting NPE in the proton reactor Stack in IOHandler.java (below is the 
exception stack trace).

ReactorImpl reactor = (ReactorImpl)event.getReactor();
Selector selector = reactor.getSelector();   <--- at this line 'reactor is 
null' when eventType=NON_CORE_EVENT

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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to