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 52348 - NPE thrown when 4.0 project is open in 4.1 EA
Summary: NPE thrown when 4.0 project is open in 4.1 EA
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Radko Najman
URL:
Keywords: T9Y
: 52356 52740 52822 52913 53157 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-13 18:28 UTC by charlweed
Modified: 2006-03-24 13:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages log with Null pointer exceptions (21.32 KB, text/plain)
2004-12-13 18:30 UTC, charlweed
Details
Windows system info (535 bytes, text/plain)
2004-12-13 18:32 UTC, charlweed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description charlweed 2004-12-13 18:28:22 UTC
Upon startup a NPE is thrown:

at
org.netbeans.modules.web.project.ui.customizer.WebProjectProperties$PathParser.createWarIncludesMap(WebProjectProperties.java:917)

Subsequently, any attempt to use the GUI to open
the  properties customiser for the web project
failes to open the GUI, and generates the NPE.

Finally a different Web project NPE is thrown upon
exit:
org.netbeans.modules.web.project.WebProject$ProjectOpenedHookImpl.projectClosed(WebProject.java:747)

I have had this problem on the last 4 days of
daily builds 041208 - 041211.
Comment 1 charlweed 2004-12-13 18:30:47 UTC
Created attachment 19263 [details]
messages log with Null pointer exceptions
Comment 2 charlweed 2004-12-13 18:32:05 UTC
Created attachment 19264 [details]
Windows system info
Comment 3 charlweed 2004-12-13 18:43:23 UTC
I Launch the IDE with a manually assigned userdir:
"E:\Program Files\NetBeans_dev\bin\nb.exe"  --userdir
D:\Stimulytes\Documents_and_Settings\chymes\.netbeans\user

and I use the following JVM arguments:
netbeans_default_options="-J-Xms96m -J-Xmx512m -J-XX:PermSize=20m
-J-Xverify:none -J-Dnetbeans.logger.console=true
-J-Ddevelopment.dir=Q:\\\"
Comment 4 Martin Schovanek 2004-12-22 10:21:59 UTC
*** Issue 52356 has been marked as a duplicate of this issue. ***
Comment 5 Martin Schovanek 2004-12-22 10:22:59 UTC
*** Issue 52740 has been marked as a duplicate of this issue. ***
Comment 6 Radko Najman 2005-01-03 13:41:10 UTC
*** Issue 52822 has been marked as a duplicate of this issue. ***
Comment 7 Radko Najman 2005-01-04 16:01:34 UTC
This happens to projects created in NB 4.0 and opened in NB 4.1 EA.
Comment 8 Radko Najman 2005-01-05 10:32:30 UTC
*** Issue 52913 has been marked as a duplicate of this issue. ***
Comment 9 Lukas Hasik 2005-01-05 10:39:31 UTC
does it mean that TomcatJSPExample is 4.0 project ?
Comment 10 Radko Najman 2005-01-05 10:43:56 UTC
Yes, it is 4.0 project and I need to implement an updater which will
update it to 4.1 project when it is open.
Comment 11 zikmund 2005-01-07 10:51:50 UTC
Blocks automated tests.
Comment 12 Martin Grebac 2005-01-10 13:22:08 UTC
*** Issue 53157 has been marked as a duplicate of this issue. ***
Comment 13 Radko Najman 2005-01-12 10:31:16 UTC
Fixed.
Comment 14 zikmund 2005-01-12 16:08:14 UTC
Should be fixed in EA2 too.
Comment 15 zikmund 2005-01-13 08:23:46 UTC
Verified in trunk - it's ready for EA2 merge.
It works for 4.0 projects, although it fails for Samples - issue 53333.
Comment 16 Radko Najman 2005-01-13 14:04:38 UTC
Fixed in EA2.