[JBoss JIRA] Issue Comment Edited: (NETTY-372) NullPointerException in ChunkedWriteHandler

Trustin Lee (JIRA) jira-events at lists.jboss.org
Mon Jan 31 22:24:39 EST 2011


    [ https://issues.jboss.org/browse/NETTY-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579215#comment-12579215 ] 

Trustin Lee edited comment on NETTY-372 at 1/31/11 10:22 PM:
-------------------------------------------------------------

Could you please let me know if the problem still exists with the latest JAR:

    http://gleamynode.net/files/netty-3.2.4.Final-SNAPSHOT-5276a92.jar


      was (Author: trustin):
    Could you please let me know if the problem still exists with the latest JAR:

    http://gleamynode.net/files/netty-3.2.4.Final-SNAPSHOT-ae6a5ca.jar

The JAR fixes NETTY-373 and NETTY-374, but it was patched somewhat differently, so I need to know my fix also works for you.
  
> NullPointerException in ChunkedWriteHandler
> -------------------------------------------
>
>                 Key: NETTY-372
>                 URL: https://issues.jboss.org/browse/NETTY-372
>             Project: Netty
>          Issue Type: Bug
>          Components: Handler
>    Affects Versions: 3.2.3.Final
>            Reporter: Piotr Bartosiewicz
>            Assignee: Trustin Lee
>             Fix For: 3.2.4.Final
>
>
> Should it be possible to close the channel inside ChunkedInput.nextChunk() method?
> Currently ChunkedWriteHandler throws a strange exception:
> 2010-12-13 20:23:01 org.jboss.netty.handler.stream.ChunkedWriteHandler
> WARNING: Unexpected exception while sending chunks.
> java.lang.NullPointerException
>         at org.jboss.netty.handler.stream.ChunkedWriteHandler.flush(ChunkedWriteHandler.java:227)
>         at org.jboss.netty.handler.stream.ChunkedWriteHandler.resumeTransfer(ChunkedWriteHandler.java:105)
>         at XXXXXXXXXXXXXXXX
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the netty-dev mailing list