History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: JM-1411
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Gaston Dombiak
Reporter: Gaston Dombiak
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Openfire

Fix NPE in HttpSession when closing a connection that was preventing listeners from being triggered

Created: 06/26/08 05:41 PM   Updated: 06/26/08 05:42 PM
Component/s: Core
Affects Version/s: 3.5.2
Fix Version/s: 3.6.0

Time Tracking:
Not Specified

Support Plan Customer Issue: No
Resolution Date: 06/26/08 05:42 PM
Acceptance Test - Add?: No


 Description  « Hide
Fix NPE in HttpSession when closing a connection that was preventing listeners from being triggered.

2008.06.26 10:34:58 [org.jivesoftware.openfire.net.VirtualConnection.close(VirtualConnection.java:160)] Could not close socket
org.jivesoftware.openfire.http.HttpSession$HttpVirtualConnection@f9aa66
java.lang.NullPointerException
at org.jivesoftware.openfire.http.HttpSession$Deliverable.getPackets(HttpSession.java:833)
at org.jivesoftware.openfire.http.HttpSession.failDelivery(HttpSession.java:702)
at org.jivesoftware.openfire.http.HttpSession.closeConnection(HttpSession.java:691)
at org.jivesoftware.openfire.http.HttpSession.access$200(HttpSession.java:55)
at org.jivesoftware.openfire.http.HttpSession$HttpVirtualConnection.closeVirtualConnection(HttpSession.java:760)
at org.jivesoftware.openfire.net.VirtualConnection.close(VirtualConnection.java:156)
at org.jivesoftware.openfire.http.HttpSession.close(HttpSession.java:166)
at org.jivesoftware.openfire.handler.IQBindHandler.handleIQ(IQBindHandler.java:126)
at org.jivesoftware.openfire.handler.IQHandler.process(IQHandler.java:49)
at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:351)
at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:101)
at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:6
at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:100)
at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:61)
at org.jivesoftware.openfire.http.HttpSession.sendPendingPackets(HttpSession.java:465)
at org.jivesoftware.openfire.http.HttpSessionManager$HttpPacketSender.run(HttpSessionManager.java:31
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.