[
https://issues.jboss.org/browse/SEAMJMS-67?page=com.atlassian.jira.plugin...
]
Tomas Remes commented on SEAMJMS-67:
------------------------------------
I assume that this test is affected by some preceding test. (probably
QueueBuilderImplTest??)
Testsuite MessageManagerImplTest NPE's failures
-----------------------------------------------
Key: SEAMJMS-67
URL:
https://issues.jboss.org/browse/SEAMJMS-67
Project: Seam JMS
Issue Type: Bug
Components: Test Suite
Affects Versions: Future
Environment: AS7.1.1.Final, Seam JMS SNAPSHOT 2012-04-30
Reporter: Tomas Remes
MessageManagerImplTest behaves really strange. It passes only when you run this test
standalone. When you run whole testsuite using
{noformat}mvn clean verify -Darquillian=jbossas-remote-7 -Darquillian.version=1.0.0.Final
-Djbossas7.version=7.1.1.Final{noformat}
then it produces following NPE's:
testSendObjectToDestination
{noformat}
java.lang.NullPointerException
at
org.jboss.seam.jms.test.bridge.msg.MessageManagerImplTest.testSendObjectToDestination(MessageManagerImplTest.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
{noformat}
testSendTextToDestination
{noformat}
java.lang.NullPointerException
at
org.jboss.seam.jms.test.bridge.msg.MessageManagerImplTest.testSendTextToDestination(MessageManagerImplTest.java:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
{noformat}
testCreateMessageConsumerSelector
{noformat}
junit.framework.AssertionFailedError: null
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNotNull(Assert.java:214)
at junit.framework.Assert.assertNotNull(Assert.java:207)
at
org.jboss.seam.jms.test.bridge.msg.MessageManagerImplTest.testCreateMessageConsumerSelector(MessageManagerImplTest.java:137)
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira