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 - Unreproducible NPE creating VW project
Summary: Unreproducible NPE creating VW project
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-09 01:53 UTC by _ krystyna
Modified: 2009-02-19 23:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
first NPE (10.86 KB, text/plain)
2009-01-09 01:53 UTC, _ krystyna
Details
after NPE (3.78 KB, text/plain)
2009-01-09 01:54 UTC, _ krystyna
Details
messages.log (204.02 KB, text/plain)
2009-01-09 19:09 UTC, _ krystyna
Details

Note You need to log in before you can comment on or make changes to this bug.
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.