A fix is available
APAR status
Closed as program error.
Error description
When launching an Application Client configuration from Rationa l Application Developer or Rational Software Architect for WebSp here 7 or 7.5, targeting WebSphere Application Server v. 6.1 or 7, you may get a NullPointerException in an OSGI BundleLoader me thod, even if the same Application Client can be launched succes fully using the launchClient.bat batch file provided by WebSpher e Application Server. This only occurs when the Application Clie nt launches a multithreaded application, and typically happens i f you are invoking a framework such as JUnit or Swing. You see errors like the following in the Console: WSCL0014I: Invoking the Application Client class com.ibm.support .Main java.lang.NullPointerException at org.eclipse.osgi.framework.internal.core.BundleLoader.findDy namicSource(BundleLoader.java:874) at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:391) at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:347) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83) at java.lang.ClassLoader.loadClass(ClassLoader.java:623) at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader .java:87) at java.lang.ClassLoader.loadClass(ClassLoader.java:597) at com.ibm.support.Main.run(Main.java:18) Workarounds: A. Make the main thread wait for termination of all other user t hreads. B. Launch the Application Client using launchClient.bat, provide d that you have already upgraded WebSphere Application Server v6 .1 to version 6.1.0.9 or higher. C. Use the VM Argument-Dosgi.noShutdown=true in the Application Client launch configuration, Arguments tab and make sure that yo ur application invokes System.exit.
Local fix
Problem summary
A multi-threaded application client fails to run successfully within Rational Application Developer.
Problem conclusion
The fix for WebSphere Application Server APAR PK77677 has been integrated into the Application Client launcher for Rational Application Developer v7.5.2 to correct this error.
Temporary fix
Comments
APAR Information
APAR number
PK76203
Reported component name
RATL APP DEV WI
Reported component ID
5724J1901
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2008-11-21
Closed date
2009-04-02
Last modified date
2009-04-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
RATL APP DEV WI
Fixed component ID
5724J1901
Applicable component levels
R700 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
02 April 2009