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.
winxp 4.1 daily 12/20/4 jdk-5.0 any attempts to create or use a web project with existing sources results in the attached NPE.
Created attachment 19370 [details] NPE
Seems to be a web/project issue. Reassigning...
I can't reproduce your problem. Could you try to reproduce it with the latest dev build, please?
the problem is still there as of today's build, and it's definitely a P1 bug. i just tried with jdk 1.4.2 and jdk 5.0, on WinXP and Linux, with new '.netbeans' directories and old, and with multiple users. the same problem every time. i do not exaggerate: web projects with existing sources absolutely do not work at all under any configuration, and i'm basically screwed at work until this gets fixed. reproducing the problem is as simple as creating a web project with existing sources. here are the values i used on windows. linux is similar: sources location: C:\stuff\projects\netbeans\pikachu\mas project name: test project folder: C:\stuff\projects\netbeans\pikachu\mas.test context path: /mas web pages: C:\stuff\projects\netbeans\pikachu\mas\src\jsp\mas java sources: C:\stuff\projects\netbeans\pikachu\mas\src\java libraries: C:\stuff\projects\netbeans\pikachu\mas\lib server: bundled tomcat J2EE specification: J2EE 1.4 this was working fine until the stuff for the multiple source directories was added. i can't imagine how this can't be reproduced, since i can't avoid it no matter what i do. if i'm doing something wrong/stupid, PLEASE let me know. when i hit 'Finish' in the wizard, the IDE starts with the initial parsing, and immediately throws several UndeclaredThrowableException's (see attachment 'UTEs.txt'). When the parsing is done, the project is created, but attempting to access the project's properties results in a NPE ('NPE2.txt') and the dialog does not show up. attempting to expand the project node also results in a NPE ('NPE3.txt') and there no child nodes displayed. additionally, whenever the IDE is started with the project open, several NPEs are thrown during startup ('NPEs.txt') and the project panel doesn't even show up. the only way you can get it back is to close the project and restart the IDE. the only thing you can successfully do with the project is close it. HELP!!! it quite literally can't be used, and i'm in hot water because i pitched netbeans at work. please fix soon!
Created attachment 19443 [details] exceptions after you hit 'Finish' in new project wizard
Created attachment 19444 [details] exceptions thrown if you try to start IDE with bad project
Created attachment 19445 [details] exception thrown when trying to bring up project properties
Created attachment 19446 [details] exception thrown when trying to expand project node
Geertjan and I are getting the same errors if you want to take a look. Definitely agree that it's a P1 - it's making it impossible to run the end-to-end scenarios.
Fixed. This issue appeared only when sources were placed in other directory then "src". That was why I wasn't able to reproduce it, my sources were in "src" directory. Because it worked for me I decreased the priority. Increasing the priority back.
*** Issue 52833 has been marked as a duplicate of this issue. ***
you can't see me, of course, but right now i'm dancing with joy. thanks! when my people come to invade your planet, you will not be harmed.
much better now, but here's a bug that's probably related: if you set the test directory, you get an IllegalArgumentException when trying to load the project (attached). you also can not view the project properties. i'll file a separate bug report.
Created attachment 19476 [details] IllegalArgumentException thrown if the test directory was specified
filed (distantly) related issue 52933
This part of issue was Verified, orther parts are filed separately (see previous comments).