Internal Server error - 500

Hi,

Thanks for reading,

I am creating one CHAT application using Openfire 3.10.13 and Javascript MVC.

I am trying to add a user to roster entry of another User. Following stanza is sent to open fire and it throws internal server error.

one more thing to note is below stanza works fine from my POC (Html page and javascript) but when I am using same strophe.js and sending below stanza from MVC application, it throws internal server error. Earlier there was no from attribute in IQ but then it was not working even with POC. once added, it started working with POC.

Not sure, if connection object issue or something for MVC.

-1

<presence from=‘3f6fe22b-f41d-44a2-9a1c-70f17f7b6e64@place0’

to=‘d7a0900b-75e8-4040-adcc-746edf32f0d4@eworkplace0’ type=‘subscribe’ xmlns=‘jabber:client’/>

Logged error is as below

org.jivesoftware.openfire.auth.UnauthorizedException: org.jivesoftware.openfire.user.UserNotFoundException

at org.jivesoftware.openfire.handler.IQRosterHandler.manageRoster(IQRosterHandler. java:234)

at org.jivesoftware.openfire.handler.IQRosterHandler.handleIQ(IQRosterHandler.java :122)

at org.jivesoftware.openfire.handler.IQHandler.process(IQHandler.java:65)

at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:380)

at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:123)

at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:76)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:10 8)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:69 )

at org.jivesoftware.openfire.http.HttpSession.sendPendingPackets(HttpSession.java: 655)

at org.jivesoftware.openfire.http.HttpSession$HttpPacketSender.run(HttpSession.jav a:1279)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

sorry, server version is 3.10.3