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 145641

Summary: NPE when creating instances of persistent files in the userdir under config/Editors
Product: platform Reporter: Jiri Skrivanek <jskrivanek>
Component: FilesystemsAssignee: Jaroslav Tulach <jtulach>
Status: VERIFIED FIXED    
Severity: blocker CC: tor
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 131951    
Attachments: Stack trace.

Description Jiri Skrivanek 2008-08-29 22:48:42 UTC
This issue is caused by issue 131951. NullPointerException is printed to the console when creating instance of class
which is not layer file registrations, but persistent files in the userdir under config/Editors/text/x-php5/SideBar. To
reproduce just create PHP project and NPE is printed out.

Product Version: NetBeans IDE Dev (Build 20080829050726)
Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Comment 1 Jiri Skrivanek 2008-08-29 22:49:07 UTC
Created attachment 68679 [details]
Stack trace.
Comment 2 Jaroslav Tulach 2008-09-03 09:02:58 UTC
Why I have to fix it? It is clearly bug in filesystems...


changeset:   99222:b52c623998db
tag:         tip
user:        Jaroslav Tulach <jtulach@netbeans.org>
date:        Wed Sep 03 10:01:55 2008 +0200
summary:     #145641: NPE if attr is null
Comment 3 Jiri Skrivanek 2008-09-03 12:08:42 UTC
Because you did a patch for 131951 and that's why you know the best how to fix it to not harm anything else. Anyway,
thank you for fixing it.
Comment 4 Quality Engineering 2008-09-04 06:06:00 UTC
Integrated into 'main-golden', will be available in build *200809040201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b52c623998db
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #145641: NPE if attr is null