showrav017 / jain-sip

Automatically exported from code.google.com/p/jain-sip
0 stars 0 forks source link

NIO Message with no Call-ID throws NPE #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Unexpected internal error  null
java.lang.NullPointerException
    at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
    at gov.nist.javax.sip.parser.NioPipelineParser.readMessageBody(NioPipelineParser.java:293)
    at gov.nist.javax.sip.parser.NioPipelineParser.readStream(NioPipelineParser.java:230)
    at gov.nist.javax.sip.parser.NioPipelineParser.addBytes(NioPipelineParser.java:338)
    at gov.nist.javax.sip.stack.NioTcpMessageChannel.addBytes(NioTcpMessageChannel.java:122)
    at gov.nist.javax.sip.stack.NioTcpMessageChannel.readChannel(NioTcpMessageChannel.java:92)
    at gov.nist.javax.sip.stack.NioTcpMessageProcessor$ProcessorTask.read(NioTcpMessageProcessor.java:126)
    at gov.nist.javax.sip.stack.NioTcpMessageProcessor$ProcessorTask.run(NioTcpMessageProcessor.java:311)
    at java.lang.Thread.run(Thread.java:662)

I slighly changed examples.tls.Shootme to use TCP instead of TLS (does not 
really matter) and defined there 
gov.nist.javax.sip.TCP_POST_PARSING_THREAD_POOL_SIZE = 10

Original issue reported on code.google.com by jean.deruelle on 18 Sep 2012 at 10:59

Attachments:

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 80f54b921ab2.

(git repo)

JSIP-416

Better exception handling when there is no CallID on a message received over 
NIO+ removal of USE_NIO property that wasn't used

git-svn-id: 
https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2167 
8e71dc83-d81e-6649-80f2-80b843a9b2be

Original comment by jean.deruelle on 18 Sep 2012 at 11:12

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 4ac5fa8227a7.

Backport to TelScale branch

JSIP-416

Better exception handling when there is no CallID on a message received over 
NIO+ removal of USE_NIO property that wasn't used
(cherry picked from commit 9781dbb08ad8e289b3ec1aa1af22cb53b10de422)

Original comment by jean.deruelle on 18 Sep 2012 at 11:13

GoogleCodeExporter commented 8 years ago

Original comment by jean.deruelle on 18 Sep 2012 at 11:13

GoogleCodeExporter commented 8 years ago
Same applies for BIO.

Original comment by vladimir...@gmail.com on 18 Sep 2012 at 11:22

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 0dbe04d58a64.

Backport to TelScale branch

JSIP-416

JAIN-SIP NIO Call-Id and Content-Length headers are compared by case-sensitive 
string instead of case insensitive as stated in RFC 3261 Section 7.3.1 Header 
Field Format
(cherry picked from commit 8054f475db6e150c2ab12bd74ea2e5edaf4d1831)

Original comment by jean.deruelle on 20 Sep 2012 at 9:42

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 89450d1952aa.

(git repo)

JSIP-416

Better exception handling when there is no CallID on a message received over 
NIO+ removal of USE_NIO property that wasn't used

git-svn-id: https://svn.java.net/svn/jsip~svn/trunk@2241 
8e71dc83-d81e-6649-80f2-80b843a9b2be

Original comment by jean.deruelle on 11 Dec 2012 at 2:48

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 4ac5fa8227a7.

Backport to TelScale branch

JSIP-416

Better exception handling when there is no CallID on a message received over 
NIO+ removal of USE_NIO property that wasn't used
(cherry picked from commit 9781dbb08ad8e289b3ec1aa1af22cb53b10de422)

Original comment by jean.deruelle on 19 Aug 2014 at 4:59

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 0dbe04d58a64.

Backport to TelScale branch

JSIP-416

JAIN-SIP NIO Call-Id and Content-Length headers are compared by case-sensitive 
string instead of case insensitive as stated in RFC 3261 Section 7.3.1 Header 
Field Format
(cherry picked from commit 8054f475db6e150c2ab12bd74ea2e5edaf4d1831)

Original comment by jean.deruelle on 19 Aug 2014 at 4:59