baqir123 / gtalksms

Automatically exported from code.google.com/p/gtalksms
0 stars 0 forks source link

NPE in XHTMLExtensionProvider.java:84 #153

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
IMPORTANT: Users wo see this 
W/gtalksms(15523): java.lang.NullPointerException
W/gtalksms(15523): at 
org.jivesoftware.smackx.provider.XHTMLExtensionProvider.parseExtension(XHTMLExte
nsionProvider.java:84)
in their app log should star this bug!

It seems like the getText() call in line 65 sets lastTag to null, which causes 
later an NPE. See: 
http://fisheye.igniterealtime.org/browse/smack/trunk/source/org/jivesoftware/sma
ckx/provider/XHTMLExtensionProvider.java?r=HEAD
If have made a post to the smack forum ( 
http://community.igniterealtime.org/thread/44444 ) and will patch asmack with a 
quick fix.

Original issue reported on code.google.com by fschm...@gmail.com on 26 Apr 2011 at 6:19

GoogleCodeExporter commented 9 years ago

Original comment by fschm...@gmail.com on 26 Apr 2011 at 6:45

GoogleCodeExporter commented 9 years ago
Fixed in v2.2.2

Original comment by Florent....@gmail.com on 26 Apr 2011 at 8:29

GoogleCodeExporter commented 9 years ago
Issue 154 has been merged into this issue.

Original comment by fschm...@gmail.com on 26 Apr 2011 at 9:00

GoogleCodeExporter commented 9 years ago

Original comment by fschm...@gmail.com on 25 Aug 2011 at 7:50