[JBoss JIRA] (JBWS-4171) Fix hard code cxf 2.2.6 version in EmbeddedCXFTestCase
by Jim Ma (Jira)
[ https://issues.jboss.org/browse/JBWS-4171?page=com.atlassian.jira.plugin.... ]
Jim Ma commented on JBWS-4171:
------------------------------
[~asoldano] I saw there is hard code version in test and it isn't ideal , so I want to improve it. Then I find the version is not tested the latest cxf version from parent pom, I think that isn't ideal either. This can be improved too and test against the latest cxf version from parent pom.
> Fix hard code cxf 2.2.6 version in EmbeddedCXFTestCase
> ------------------------------------------------------
>
> Key: JBWS-4171
> URL: https://issues.jboss.org/browse/JBWS-4171
> Project: JBoss Web Services
> Issue Type: Task
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.2.4.Final
> Reporter: Jim Ma
> Assignee: Jim Ma
> Priority: Major
> Fix For: jbossws-cxf-5.3.0.Final
>
>
> There is <test.cxf.version> property to define the cxf artifacts to copy into modules/teststuite/cxf-test/target/embeded folder for org.jboss.test.ws.jaxws.cxf.noIntegration.EmbeddedCXFTestCase.
> We need to align this version in cxf version defined in pom.xml and remove the hard code cxf version in test itself.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 7 months
[JBoss JIRA] (JBWS-4171) Fix hard code cxf 2.2.6 version in EmbeddedCXFTestCase
by Jim Ma (Jira)
[ https://issues.jboss.org/browse/JBWS-4171?page=com.atlassian.jira.plugin.... ]
Jim Ma commented on JBWS-4171:
------------------------------
There is another test AS7537TestCase with hard code cxf 2.2.6 version.
> Fix hard code cxf 2.2.6 version in EmbeddedCXFTestCase
> ------------------------------------------------------
>
> Key: JBWS-4171
> URL: https://issues.jboss.org/browse/JBWS-4171
> Project: JBoss Web Services
> Issue Type: Task
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.2.4.Final
> Reporter: Jim Ma
> Assignee: Jim Ma
> Priority: Major
> Fix For: jbossws-cxf-5.3.0.Final
>
>
> There is <test.cxf.version> property to define the cxf artifacts to copy into modules/teststuite/cxf-test/target/embeded folder for org.jboss.test.ws.jaxws.cxf.noIntegration.EmbeddedCXFTestCase.
> We need to align this version in cxf version defined in pom.xml and remove the hard code cxf version in test itself.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 7 months
[JBoss JIRA] (JBWS-4146) Intermittent NPE in jbossws-cxf-client unit tests with IBM JDK
by r searls (Jira)
[ https://issues.jboss.org/browse/JBWS-4146?page=com.atlassian.jira.plugin.... ]
r searls commented on JBWS-4146:
--------------------------------
There is some randomness to this failure. There is no consistent iteration
of the testing loop in which a test fails with this error. However the location
of the failure is consistent. It will always fail in
test testSetConfigProperties line 140,
{code:java}
139 cfg.setConfigProperties(port, clientConfig);
140
141 assertEquals(null, client.getEndpoint().get("A"));
{code}
test testAddInterceptorsThroughSetMapOfProperties line 339,
{code:java}
338 InterceptorUtils.addInterceptors(client, properties);
339
340 assertEquals("1", client.getEndpoint().get("A"));
{code}
test testAddInterceptorsThroughSetConfigProperties line 469.
{code:java}
468 cfg.setConfigProperties(port, clientConfig);
469
470 assertEquals(null, client.getEndpoint().get("A"));
{code}
In each of these tests there are previous calls to client.getEndpoint()
that succeed. The initial client created in each test is used in all
calls to getEndpoint within a test.
Method getEndpoint is in class org.apache.cxf.endpoint.AbstractConduitSelector.
Variable, endpoint is a protected field in this class. It is only accessed
through its getter and setter methods and it is not otherwise altered within
the class. I have verified method setEndpoint never receives a NULL input
value and it is always called with a valid value before method getEndpoint
is called. I have confirmed that the instance of AbstractConduitSelector is
not replaced during the run of a test. The class is running in the same thread
for calls to setEndpoint and getEndpoint.
This appears to be an IBM jdk-1.8.0_201 issue.
> Intermittent NPE in jbossws-cxf-client unit tests with IBM JDK
> --------------------------------------------------------------
>
> Key: JBWS-4146
> URL: https://issues.jboss.org/browse/JBWS-4146
> Project: JBoss Web Services
> Issue Type: Bug
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.2.3.Final
> Environment: IBM JDK
> Reporter: Jan Blizňák
> Priority: Major
> Fix For: jbossws-cxf-5.3.0.Final
>
>
> An intermittent NPE is thrown during building project on IBM JDK, might be specific issue with different JDK vendor but might be also revealing the bug in client code.
> When the situation occurs the exception is thrown in arbitrary call of org.apache.cxf.endpoint.Client#getEndpoint
> {code:java}
> ERROR!
> 15:43:15 java.lang.NullPointerException
> 15:43:15 at org.jboss.wsf.stack.cxf.client.configuration.CXFClientConfigurerTest.testAddInterceptorsThroughSetConfigProperties(CXFClientConfigurerTest.java:524)
> {code}
> Reproducibility ~ <5%
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 7 months
[JBoss JIRA] (JBWS-4171) Fix hard code cxf 2.2.6 version in EmbeddedCXFTestCase
by Jim Ma (Jira)
[ https://issues.jboss.org/browse/JBWS-4171?page=com.atlassian.jira.plugin.... ]
Jim Ma commented on JBWS-4171:
------------------------------
[~asoldano] Does this test only work with cxf 2.2.6 ? Anything particular for this test to define the version with <test.cxf.version> instead of the <cxf.version> in top level pom.xml?
> Fix hard code cxf 2.2.6 version in EmbeddedCXFTestCase
> ------------------------------------------------------
>
> Key: JBWS-4171
> URL: https://issues.jboss.org/browse/JBWS-4171
> Project: JBoss Web Services
> Issue Type: Task
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.2.4.Final
> Reporter: Jim Ma
> Assignee: Jim Ma
> Priority: Major
> Fix For: jbossws-cxf-5.3.0.Final
>
>
> There is <test.cxf.version> property to define the cxf artifacts to copy into modules/teststuite/cxf-test/target/embeded folder for org.jboss.test.ws.jaxws.cxf.noIntegration.EmbeddedCXFTestCase.
> We need to align this version in cxf version defined in pom.xml and remove the hard code cxf version in test itself.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 7 months
[JBoss JIRA] (JBWS-4171) Fix hard code cxf 2.2.6 version in EmbeddedCXFTestCase
by Jim Ma (Jira)
Jim Ma created JBWS-4171:
----------------------------
Summary: Fix hard code cxf 2.2.6 version in EmbeddedCXFTestCase
Key: JBWS-4171
URL: https://issues.jboss.org/browse/JBWS-4171
Project: JBoss Web Services
Issue Type: Task
Components: jbossws-cxf
Affects Versions: jbossws-cxf-5.2.4.Final
Reporter: Jim Ma
Assignee: Jim Ma
Fix For: jbossws-cxf-5.3.0.Final
There is <test.cxf.version> property to define the cxf artifacts to copy into modules/teststuite/cxf-test/target/embeded folder for org.jboss.test.ws.jaxws.cxf.noIntegration.EmbeddedCXFTestCase.
We need to align this version in cxf version defined in pom.xml and remove the hard code cxf version in test itself.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 7 months