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 9987

Summary: Nullpointer in MultiDataObject
Product: platform Reporter: David Strupl <dstrupl>
Component: -- Other --Assignee: akemr <akemr>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: Sun   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: Exception thrown in the first start

Description David Strupl 2001-03-06 10:18:38 UTC
I didn't know what to do with it - maybe you? P1 because it broke the build.
Attaching relevant part of the build log.
Comment 1 David Strupl 2001-03-06 10:19:29 UTC
Created attachment 722 [details]
Exception thrown in the first start
Comment 2 Jesse Glick 2001-03-06 10:42:25 UTC
FWIW, I am guessing that it is another half-constructed object problem:
secondaries should never be null, but it could be if files() is called while
still executing the super constructor.
Comment 3 akemr 2001-03-06 13:30:45 UTC
Fixed. Fix will be in dev build #139.
Because of NPE added lazy getter for initializing secondary property.
Comment 4 Marian Mirilovic 2002-03-29 17:10:13 UTC
verified, closed