Hi, I have a problem with Tigase 7.1.
When I query for room information, the server returns the result like:
...
<field type="FORM_TYPE" var="hidden"> <value>http://jabber.org/protocol/muc#roominfo</value> </field>
,it is different from xep-0128 which describes the result like :
<field var='FORM_TYPE' type='hidden'> <value>http://jabber.org/protocol/muc#roominfo</value> </field>
, and this difference results in a exception thrown by the client(smack 4.1.3).
Exception information:
java.lang.IllegalArgumentException: No enum constant org.jivesoftware.smackx.xda
ta.FormField.Type.FORM_TYPE
at java.lang.Enum.valueOf(Enum.java:236) at org.jivesoftware.smackx.xdata.FormField$Type.valueOf(FormField.java:4
at org.jivesoftware.smackx.xdata.FormField$Type.fromString(FormField.jav
a:131)
at org.jivesoftware.smackx.xdata.provider.DataFormProvider.parseField(Da
taFormProvider.java:98)
at org.jivesoftware.smackx.xdata.provider.DataFormProvider.parse(DataFor
mProvider.java:63)
mProvider.java:42)
at org.jivesoftware.smack.provider.Provider.parse(Provider.java:35) at org.jivesoftware.smack.util.PacketParserUtils.parseExtensionElement(P
acketParserUtils.java:928)
at org.jivesoftware.smack.util.PacketParserUtils.addExtensionElement(Pac
ketParserUtils.java:1059)
ketParserUtils.java:1054)
at org.jivesoftware.smackx.disco.provider.DiscoverInfoProvider.parse(Dis
coverInfoProvider.java:64)
coverInfoProvider.java:34)
at org.jivesoftware.smack.provider.Provider.parse(Provider.java:35) at org.jivesoftware.smack.util.PacketParserUtils.parseIQ(PacketParserUti
ls.java:637)
at org.jivesoftware.smack.util.PacketParserUtils.parseStanza(PacketParse
rUtils.java:153)
at org.jivesoftware.smack.AbstractXMPPConnection.parseAndProcessStanza(A
bstractXMPPConnection.java:1010)
at org.jivesoftware.smack.tcp.SIMPTCPConnection.access$700(SIMPTCPConnec
tion.java:140)
at org.jivesoftware.smack.tcp.SIMPTCPConnection$PacketReader.parsePacket
s(SIMPTCPConnection.java:1150)
at org.jivesoftware.smack.tcp.SIMPTCPConnection$PacketReader.access$300(
SIMPTCPConnection.java:1101)
at org.jivesoftware.smack.tcp.SIMPTCPConnection$PacketReader$1.run(SIMPT
CPConnection.java:1118)
at java.lang.Thread.run(Thread.java:745)
Iterations
Candidate for next minor release
Hi, I have a problem with Tigase 7.1.
When I query for room information, the server returns the result like:
...
...
,it is different from xep-0128 which describes the result like :
...
...
, and this difference results in a exception thrown by the client(smack 4.1.3).
Exception information:
java.lang.IllegalArgumentException: No enum constant org.jivesoftware.smackx.xda
ta.FormField.Type.FORM_TYPE
a:131)
taFormProvider.java:98)
mProvider.java:63)
mProvider.java:42)
acketParserUtils.java:928)
ketParserUtils.java:1059)
ketParserUtils.java:1054)
coverInfoProvider.java:64)
coverInfoProvider.java:34)
ls.java:637)
rUtils.java:153)
bstractXMPPConnection.java:1010)
tion.java:140)
s(SIMPTCPConnection.java:1150)
SIMPTCPConnection.java:1101)
CPConnection.java:1118)