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 156504

Summary: Unreproducible NPE creating VW project
Product: obsolete Reporter: _ krystyna <krystyna>
Component: visualwebAssignee: Peter Zavadsky <pzavadsky>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: first NPE
after NPE
messages.log

Description _ krystyna 2009-01-09 01:53:22 UTC
NetBeans IDE Dev (Build 20090108170556)
Java: 1.6.0_10-rc; Java HotSpot(TM) Server VM 11.0-b13
System: Windows XP version 5.1

Got source file error and NPE to log. See attachments.
Comment 1 _ krystyna 2009-01-09 01:53:43 UTC
Created attachment 75614 [details]
first NPE
Comment 2 _ krystyna 2009-01-09 01:54:34 UTC
Created attachment 75615 [details]
after NPE
Comment 3 Peter Zavadsky 2009-01-09 18:40:30 UTC
The second attachment is not complete, please, update it.
Comment 4 Peter Zavadsky 2009-01-09 18:42:12 UTC
Does this happen when creating with new userdir and not installed Visual JSF (-> ergonomical IDE)? Or even after Visual
JSF is installed? Thanks.
Comment 5 _ krystyna 2009-01-09 19:09:07 UTC
This was with a clean userdir. I was trying to reproduce the hang from issue #156500 but it didn't hang, it 
successfully activated vwp and created a project and opened the designer. Attaching the full messages.log.
Comment 6 _ krystyna 2009-01-09 19:09:41 UTC
Created attachment 75646 [details]
messages.log
Comment 7 Peter Zavadsky 2009-01-09 19:25:08 UTC
OK, the second exception is unrelated to the NPE, it belongs to editor options (please, file separate bug).

To the NPE.
There is some libraries not found, and before produced warning their types are not recognized.
Since this is unreproducible, it seems there is some race condition. I am not sure yet, what causes that.
Comment 8 Peter Zavadsky 2009-01-09 19:28:50 UTC
It seems that first there are libraries tried to be loaded by LibraryDeclarationHandlerImpl (produces warning it doesn't
recognize visualweb libraries) and only after that the visualweb modules are getting loaded.
Comment 9 Peter Zavadsky 2009-01-13 01:02:10 UTC
This changeset should also fix this issue.

changeset:   113479:520b51e044be
tag:         tip
user:        Peter Zavadsky <pzavadsky@netbeans.org>
date:        Mon Jan 12 12:44:53 2009 -0800
summary:     #155802 Moving library providers under runtime kit module.