This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Sun ONE Studio 5, Standard Edition (Build 030408) jdk 1.4.1_02-b06 1, mount cvs filesystem 2, open versioning explorer and open some earlier version of a file 3, close IDE 4, restart IOException appears - see my ide.log
Created attachment 9853 [details] ide.log with exception
It is NPE from RevisionEditorSupport when TopComponent is deserialized by winsys.
It's a bug, that Env class is serialized.
Fixed in the main trunk: /cvs/vcscore/src/org/netbeans/modules/vcscore/versioning/RevisionEditorSupport.java,v <-- RevisionEditorSupport.java new revision: 1.8; previous revision: 1.7 Is this a showstopper?
I think that harmless exception is not a showstopper although I know that fix is straightforward. What do others think ? Lukasi, Dane, Mariane ?
The fix is really trivial and 100% safe. There should be some mechanism to get trivial fixes into the release although they're not real showstoppers. The criterium should be the safety of the fix IMHO. Trung, what's your opinion on this?
increasing to P1 to get the fix to the release. why should we frighten users with exception when we don't have to.
Ok, I agree with integration to 3.5. Martin, please attach the fix, we will test it, thanks.
Created attachment 9924 [details] The contextual patch, that fix this problem.
Created attachment 9925 [details] The binary patch. To apply, put into <NB-install>/modules/autoload/patches/org-netbeans-modules-vcscore/ folder.
Code reviewed without objections.
Seems good here. No exception thrown, I agree.
patch verified.
approved for 3.5
Thanks for the review, verification and approval. The fix is merged into release35 branch: Checking in org/netbeans/modules/vcscore/versioning/RevisionEditorSupport.java; /shared/data/helm/cvs/repository/vcscore/src/org/netbeans/modules/vcscore/versioning/RevisionEditorSupport.java,v <-- RevisionEditorSupport.java new revision: 1.7.2.1; previous revision: 1.7 done
Cool, no exception is thrown. Verified in Sun ONE Studio 5.0 Standard Edition build #030528.