EntityCapabilitiesManager: Don't handle IQ stanzas with came in through...
EntityCapabilitiesManager: Don't handle IQ stanzas with came in through receivedAnswer() but are not of IQ.Type.result by deeming these packets as invalid (which they are). It seems that there are some entities that accounce protocol/caps support but do not allow disco#info queries (maybe to avoid information leaks). They send an error IQ instead as rely to disco#info. This causes EntityCapabilitiesManager to throw an NPE: 2013.02.26 13:16:33 org.jivesoftware.openfire.IQRouter - Error proces sing answer of remote entity. Answer: <iq from="jdev@conference.jabbe r.org/XXX" to="freakempire.de" type="error" id="204-29"><error c ode="405" type="cancel"><not-allowed xmlns="urn:ietf:params:xml:ns:xm pp-stanzas"/></error></iq> java.lang.NullPointerException at org.jivesoftware.openfire.entitycaps.EntityCapabilitiesMan ager.getIdentitiesFrom(EntityCapabilitiesManager.java:336) at org.jivesoftware.openfire.entitycaps.EntityCapabilitiesMan ager.generateVerHash(EntityCapabilitiesManager.java:237) git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13525 b35dd754-fafc-0310-a699-88a17e54d16e
Showing
Please register or sign in to comment