Opened 8 years ago
Closed 6 years ago
#950 closed defect (fixed)
Imule & SAM, net.i2p.sam.SAMv3Handler : Unexpected exception for message
Reported by: | DISABLED | Owned by: | mkvore |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | other | Version: | 0.9.6 |
Keywords: | Imule | Cc: | Zlatin Balevsky |
Parent Tickets: | Sensitive: | no |
Description
09.06.13 15:12:52 ↓↓↓ 2 similar messages omitted ↓↓↓
09.06.13 15:12:52 FEHLER [v3Handler 26] net.i2p.sam.SAMv3Handler : Unexpected exception for message [STREAM CONNECT ID=iMule_oPw2pQT-AL DESTINATION=]
java.lang.StringIndexOutOfBoundsException?: String index out of range: 0
at java.lang.AbstractStringBuilder?.charAt(AbstractStringBuilder?.java:205)
at java.lang.StringBuilder?.charAt(StringBuilder?.java:72)
at net.i2p.sam.SAMUtils.parseParams(SAMUtils.java:169)
at net.i2p.sam.SAMv3Handler.handle(SAMv3Handler.java:382)
at net.i2p.sam.SAMHandler.run(SAMHandler.java:190)
at java.lang.Thread.run(Thread.java:722)
at net.i2p.util.I2PThread.run(I2PThread.java:85)
Subtickets
Change History (8)
comment:1 Changed 8 years ago by
Cc: | Zlatin Balevsky added |
---|---|
Owner: | changed from mkvore to Zlatin Balevsky |
Status: | new → accepted |
comment:2 Changed 8 years ago by
comment:3 Changed 8 years ago by
I2P and iMule versions please
Ah, the missing value is right in the OP.
[STREAM CONNECT ID=iMule_oPw2pQT-AL DESTINATION=]
How did that happen?
comment:4 Changed 8 years ago by
Hi get this Problem from time to time
IMule:2.3.2.2 (run on a diffrent PC)
I2P version: 0.9.6-0
Java version: Oracle Corporation 1.8.0-ea (Java™ SE Runtime Environment 1.8.0-ea-b36e)
Wrapper version: 3.5.15
Server version: 7.6.10.v20130312
Servlet version: Jasper JSP 2.1 Engine
Platform: Linux arm 3.6.11+
Processor: uninitialized (arm)
Jbigi: Native BigInteger? library libjbigi-linux-armv6.so loaded from resource
Encoding: UTF-8
Charset: UTF-8
comment:5 Changed 8 years ago by
Milestone: | 0.9.7 |
---|---|
Owner: | changed from Zlatin Balevsky to mkvore |
Status: | accepted → assigned |
I added an explicit check for empty values with revision 1f5fbd0bad971c530712ec233063ee8b64f88f5f
Handing the ticket back to mkvore for debugging on the iMule side.
comment:8 Changed 6 years ago by
Component: | apps/SAM → other |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
removed as parent of #1325 so we can close this one eventually. Any remaining issue is on the iMule side.
How reproducible is this? Looks like iMule is sending malformed input like
where value2 is missing or an empty string.
If you can reproduce this easily, please enable DEBUG logging for net.i2p.sam.SAMv3Handler so we can track down exactly what the problematic input is. (This may affect your anonymity somewhat)