A fix is available
APAR status
Closed as program error.
Error description
RAD v7.5.3 Error popup 'Unable to store working set state' NullP ointerException from com.ibm.etools.j2ee.ui.workingsets.JEEWorki ngSetUpdater.processChanges Error Dialog Popup //=='Saving Problems' Unable to store working set state. [OK] button //== the workspace .log file : !MESSAGE Problems occurred when invoking code from plug-in: 'org .eclipse.core.resources'. !STACK 0 java.lang.NullPointerException at org.eclipse.jface.dialogs.IconAndMessageDialog.getSWTImage(U nknown Source) at org.eclipse.jface.dialogs.IconAndMessageDialog.getErrorImage (Unknown Source) at org.eclipse.jface.dialogs.MessageDialog.?init?(Unknown Sourc e) at org.eclipse.jface.dialogs.MessageDialog.openError(Unknown So urce) at org.eclipse.ui.internal.WorkingSetManager.saveState(Unknown Source) at org.eclipse.ui.internal.WorkingSetManager.workingSetChanged( Unknown Source) at org.eclipse.ui.internal.AbstractWorkingSet.fireWorkingSetCha nged(Unknown Source) at org.eclipse.ui.internal.WorkingSet.setElements(Unknown Sourc e) at com.ibm.etools.j2ee.ui.workingsets.JEEWorkingSetUpdater.proc essChanges(Unknown Source) at com.ibm.etools.j2ee.ui.workingsets.JEEWorkingSetUpdater$Reso urceChangeListener.resourceChanged(Unknown Source) at org.eclipse.core.internal.events.NotificationManager$2.run(U nknown Source) at org.eclipse.core.runtime.SafeRunner.run(Unknown Source) at org.eclipse.core.internal.events.NotificationManager.notify( Unknown Source) at org.eclipse.core.internal.events.NotificationManager.broadca stChanges(Unknown Source) at org.eclipse.core.internal.resources.Workspace.broadcastPostC hange(Unknown Source) at org.eclipse.core.internal.resources.Workspace.endOperation(U nknown Source) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(Unknow n Source) at org.eclipse.core.internal.events.AutoBuildJob.run(Unknown So urce) at org.eclipse.core.internal.jobs.Worker.run(Unknown Source) The NullPointerException (NPE) hides the underlying cause. Client is also using: This occurs without ClearCase and with ClearCase using the ClearCase Remote Client (CCRC) plug-in to save or checkout a file. Although not clear, the error supposedly occurs w/o NPE Possible Workaround: make sure Clients/Users have write access to ?workspace-dir?\.m etadata\.plugins\org.eclipse.ui.workbench\workingsets.xml . (Note: If they are using CCRC, there is a chance they may have set their workspace dir to be within a ClearCase-controlled area , in which case they will not have write access to that location . But that is just one possible cause of this problem... esepacilly since this was a new install, and CCRC appears to be involved, so if these developers are new to ClearCase usage and RAD development, they may have made that mistake.)
Local fix
Problem summary
The call to save the working set was not being done on the UI thread. If an error occurred during saving, a NullPointerException would be entered into the .log.
Problem conclusion
The code needed to be modified to save the working set on the UI thread. This allows for proper display of the error dialog. Fixed in Rational Application Developer V7.5.5
Temporary fix
Comments
APAR Information
APAR number
PK96112
Reported component name
RATL APP DEV WI
Reported component ID
5724J1901
Reported release
750
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-09-14
Closed date
2009-12-17
Last modified date
2009-12-17
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
R750 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.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
17 December 2009