We're updating the issue view to help you get more done. 

Fix NPE when no room name was specified when trying to register with room

Description

2007.04.11 13:08:14 [org.jivesoftware.openfire.muc.spi.MultiUserChatServerImpl.processPacket(MultiUserChatServerImpl.java:238)] Internal server error
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:765)
at org.jivesoftware.openfire.muc.spi.MultiUserChatServerImpl.getChatRoom(MultiUserChatServerImpl.java:457)
at org.jivesoftware.openfire.muc.spi.IQMUCRegisterHandler.handleIQ(IQMUCRegisterHandler.java:109)
at org.jivesoftware.openfire.muc.spi.MultiUserChatServerImpl.process(MultiUserChatServerImpl.java:264)
at org.jivesoftware.openfire.muc.spi.MultiUserChatServerImpl.processPacket(MultiUserChatServerImpl.java:229)
at org.jivesoftware.openfire.muc.spi.MultiUserChatServerImpl.process(MultiUserChatServerImpl.java:216)
at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:250)
at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:104)
at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:67)
at org.jivesoftware.openfire.net.SocketReader.processIQ(SocketReader.java:243)
at org.jivesoftware.openfire.net.ServerSocketReader.access$001(ServerSocketReader.java:46)
at org.jivesoftware.openfire.net.ServerSocketReader$1.run(ServerSocketReader.java:79)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)

Environment

None

Acceptance Test - Entry

None

Assignee

Gaston Dombiak

Reporter

Gaston Dombiak

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Major
Configure