You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2009/10/01 18:45:00 UTC

[jira] Created: (AMQ-2435) NullPointer Exception Occurs when using producer flow control

NullPointer Exception Occurs when using producer flow control
-------------------------------------------------------------

                 Key: AMQ-2435
                 URL: https://issues.apache.org/activemq/browse/AMQ-2435
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
            Reporter: Hiram Chirino
            Assignee: Hiram Chirino
            Priority: Blocker
             Fix For: 5.3.0


Looks like there is a synchronization issue still with producer based flow control.  Here is the stack trace of the problem:
{code}
Caused by: java.lang.NullPointerException
	at org.apache.activemq.broker.region.Queue.doMessageSend(Queue.java:533)
	at org.apache.activemq.broker.region.Queue$7.run(Queue.java:442)
	at org.apache.activemq.broker.region.Queue.iterate(Queue.java:1102)
	at org.apache.activemq.thread.DeterministicTaskRunner.runTask(DeterministicTaskRunner.java:84)
	at org.apache.activemq.thread.DeterministicTaskRunner$1.run(DeterministicTaskRunner.java:41)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
	at java.lang.Thread.run(Thread.java:613)
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AMQ-2435) NullPointer Exception Occurs when using producer flow control

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino resolved AMQ-2435.
--------------------------------

    Resolution: Fixed

> NullPointer Exception Occurs when using producer flow control
> -------------------------------------------------------------
>
>                 Key: AMQ-2435
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2435
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>            Reporter: Hiram Chirino
>            Assignee: Hiram Chirino
>            Priority: Blocker
>             Fix For: 5.3.0
>
>
> Looks like there is a synchronization issue still with producer based flow control.  Here is the stack trace of the problem:
> {code}
> Caused by: java.lang.NullPointerException
> 	at org.apache.activemq.broker.region.Queue.doMessageSend(Queue.java:533)
> 	at org.apache.activemq.broker.region.Queue$7.run(Queue.java:442)
> 	at org.apache.activemq.broker.region.Queue.iterate(Queue.java:1102)
> 	at org.apache.activemq.thread.DeterministicTaskRunner.runTask(DeterministicTaskRunner.java:84)
> 	at org.apache.activemq.thread.DeterministicTaskRunner$1.run(DeterministicTaskRunner.java:41)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
> 	at java.lang.Thread.run(Thread.java:613)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQ-2435) NullPointer Exception Occurs when using producer flow control

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54571#action_54571 ] 

Hiram Chirino commented on AMQ-2435:
------------------------------------

Fix applied to trunk and 5.3 branch.

> NullPointer Exception Occurs when using producer flow control
> -------------------------------------------------------------
>
>                 Key: AMQ-2435
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2435
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>            Reporter: Hiram Chirino
>            Assignee: Hiram Chirino
>            Priority: Blocker
>             Fix For: 5.3.0
>
>
> Looks like there is a synchronization issue still with producer based flow control.  Here is the stack trace of the problem:
> {code}
> Caused by: java.lang.NullPointerException
> 	at org.apache.activemq.broker.region.Queue.doMessageSend(Queue.java:533)
> 	at org.apache.activemq.broker.region.Queue$7.run(Queue.java:442)
> 	at org.apache.activemq.broker.region.Queue.iterate(Queue.java:1102)
> 	at org.apache.activemq.thread.DeterministicTaskRunner.runTask(DeterministicTaskRunner.java:84)
> 	at org.apache.activemq.thread.DeterministicTaskRunner$1.run(DeterministicTaskRunner.java:41)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
> 	at java.lang.Thread.run(Thread.java:613)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.