cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vivek Mishra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2377) NPE During Repair In StreamReplyVerbHandler
Date Thu, 24 Mar 2011 09:23:05 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-2377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010610#comment-13010610
] 

Vivek Mishra commented on CASSANDRA-2377:
-----------------------------------------

As per my analysis,
I can see that it is happening because StreamOutSession is not instantiated.
Which is done via "create" call in StreamOutSession. 

StreamReplyVerbHandler should create a new session, in case StreamOutSession instance is null?

Will this work as a solution?

> NPE During Repair In StreamReplyVerbHandler
> -------------------------------------------
>
>                 Key: CASSANDRA-2377
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2377
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.7.4
>         Environment: CentOS
>            Reporter: Benjamin Coverston
>
> ERROR [MiscStage:4] 2011-03-24 02:45:05,172 DebuggableThreadPoolExecutor.java (line 103)
Error in ThreadPoolExecutorjava.lang.NullPointerException
>         at org.apache.cassandra.streaming.StreamReplyVerbHandler.doVerb(StreamReplyVerbHandler.java:62)
       at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:72)  
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
>         at java.lang.Thread.run(Unknown Source)
> ERROR [MiscStage:4] 2011-03-24 02:45:05,172 AbstractCassandraDaemon.java (line 112) Fatal
exception in thread Thread[MiscStage:4,5,main]java.lang.NullPointerException
>         at org.apache.cassandra.streaming.StreamReplyVerbHandler.doVerb(StreamReplyVerbHandler.java:62)
       at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:72)  
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
>         at java.lang.Thread.run(Unknown Source)

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

Mime
View raw message