Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-tck-dev] NPE when running Jakarta samples on OpenLiberty

Hi Gene Thoman,
  Can you please provide additional information, which can help to debug the issue ?

1. The modified bin/ts.jte in your environment
2. File containing the standard output from runclient, preferably harness.log.traceflag set to true in ts.jte
3. Please check OpenLiberty logs for any issue with deployment.

Thanks,
--Bhat
On 3/19/2019 7:51 PM, Gene Thoman wrote:
Hello All,

We are trying to get the samples for Jakarta working on OpenLiberty and running into an issue.

If using Glassfish as the VI with runclient we are able to get the all the sample tests to pass, but when we switch the VI to be OpenLiberty, the samples will run but each test gets the following error:

[javatest.batch] *************test args = null
[javatest.batch] java.lang.NullPointerException
[javatest.batch]        at com.sun.ts.lib.harness.TSScript.run(TSScript.java:320)
[javatest.batch]        at com.sun.javatest.Script.run(Script.java:241)
[javatest.batch]        at com.sun.javatest.DefaultTestRunner.runTest(DefaultTestRunner.java:174)
[javatest.batch]        at com.sun.javatest.DefaultTestRunner.access$100(DefaultTestRunner.java:43)
[javatest.batch]        at com.sun.javatest.DefaultTestRunner$1.run(DefaultTestRunner.java:66)

It seem the problem in TSScript is that executeArgs is null, which seems to come from TestDecription object td, which is called by the parent object (in Harness). It then looks like the Harness gets it set by something calling initTestDecription(td)?

Does this sound familiar to anyone? Trying to debug why testArgs is null for OpenLiberty? Any help would be greatly appreciated.


Thanks

Gene Thoman
JavaEE Compliance Testing for WebSphere (CTS)
email:gthoman@xxxxxxxxxx


_______________________________________________
jakartaee-tck-dev mailing list
jakartaee-tck-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev

Back to the top