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.
Summary: | IOException after restart IDE with opened file with different then last version(cvs) | ||
---|---|---|---|
Product: | obsolete | Reporter: | Lukas Hasik <lhasik> |
Component: | vcscore | Assignee: | Martin Entlicher <mentlicher> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | mmirilovic, ttran |
Priority: | P1 | ||
Version: | -S1S- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
ide.log with exception
The contextual patch, that fix this problem. The binary patch. To apply, put into <NB-install>/modules/autoload/patches/org-netbeans-modules-vcscore/ folder. |
Description
Lukas Hasik
2003-04-10 17:10:04 UTC
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. |