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 16226

Summary: Change of javadoc module (dev - pilsen)
Product: java Reporter: Marek Grummich <mgrummich>
Component: JavadocAssignee: issues@java <issues>
Status: CLOSED WONTFIX    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Exception

Description Marek Grummich 2001-10-04 11:05:05 UTC
Build 200110030100
Jdk 1.3.1
How to reproduce:
1. Uninstall a javadoc module
2. Install a javadoc module form pilsen
3. During restart an attached exception is thrown
Comment 1 Marek Grummich 2001-10-04 11:06:00 UTC
Created attachment 2845 [details]
Exception
Comment 2 _ ttran 2001-10-05 08:16:35 UTC
Hmm, I suspect that this is an error in the old javadoc module.  The
offending line reads

objectOutput.writeInt( ((Integer)(getProperty
(PROP_INSTALL_COUNT))).intValue() );

It doesn't check if getProperty (PROP_INSTALL_COUNT) returns null or
not.  PROP_INSTALL_COUNT falls entirely under the responsibility of
the module.

Reassigned the bug back to javadoc.  If its maintainers can go back in
time, then please go fix it:-)
Comment 3 Petr Suchomel 2001-10-05 09:32:45 UTC
It is simple and stupid bug. I did not expect, that writeExternal can 
be called before installed/restored method which tests and inicialize 
this value. If nessesary, can be fixed simply in patch.
Now it is wontfix
Comment 4 Marek Grummich 2002-10-14 11:25:32 UTC
Verified
Comment 5 Quality Engineering 2003-07-01 13:34:50 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.