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.

Bug 11709

Summary: IDE restarts with exception after Auto Update of java module
Product: platform Reporter: Jaromir Uhrik <juhrik>
Component: -- Other --Assignee: Jesse Glick <jglick>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: ide.log
Patch which may correct the problem - only tested a little bit
Binary patch - save as lib/patches/11709.jar

Description Jaromir Uhrik 2001-04-24 14:27:49 UTC
[build 36]
While doing update of java module (with attached java.nbm) IDE restarts with 
exception (attached ide.log). During next starts this problem doesn't appear.
Comment 1 Jaromir Uhrik 2001-04-24 14:41:21 UTC
Created attachment 1225 [details]
ide.log
Comment 2 Jaromir Uhrik 2001-04-24 14:49:51 UTC
I apologize, but unable to add module to IssueZilla. Write me to send it by e-
mail. 
Thanks. 
Comment 3 Jesse Glick 2001-04-24 17:04:54 UTC
This seems to consistently happen in general, when B depends on A and uses
classes from A and you place a newer version of A in the user modules/
directory. That is serious. I was sure this was tested at some point, but
apparently it was not, or was broken more recently. Will investigate.
Comment 4 Jesse Glick 2001-04-24 18:28:14 UTC
Created attachment 1230 [details]
Patch which may correct the problem - only tested a little bit
Comment 5 Jesse Glick 2001-04-24 18:31:16 UTC
Created attachment 1231 [details]
Binary patch - save as lib/patches/11709.jar
Comment 6 Jesse Glick 2001-04-24 18:44:03 UTC
The patch does appear to solve the stated problem. I created a fresh build
(first start). Started it. Invoked auto update, selected new java.nbm. IDE shut
down, unpacked java.nbm, restarted and new Java was installed, or at least I
assume it was the new version. No errors anywhere.

However there could be strange regressions triggered by this--it needs to be
tested in more circumstances.
Comment 7 Jesse Glick 2001-04-24 19:17:01 UTC
Old fixed bugs that should probably be verified with this patch: #10038, #9943,
#9806, #5921, #9542, #5923.
Comment 8 Jesse Glick 2001-04-25 13:09:38 UTC
Patch applied in the trunk.
Comment 9 Jaromir Uhrik 2001-04-25 14:57:54 UTC
Patch tested in 3.2. Related bugs from commet above verified. Patch seems that 
works OK.
Comment 10 Jesse Glick 2001-04-25 16:42:56 UTC
Fix merged to release32.
Comment 11 Jan Chalupa 2001-05-05 20:48:49 UTC
Target milestone 3.2
Comment 12 Quality Engineering 2003-07-01 16:24:16 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.