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.
[build 200504051930] -have web.app. with sources level set to 1.5 and move it to other computer with the same version/build of NB 1. open App => NumberFormatException is thrown, nothing have been opened, but it seems there's something hidden in memmory 2. restart IDE => NumberFormatException is thrown again
Created attachment 21419 [details] messages.log
Created attachment 21420 [details] tested application (ear targeted for app server)
The problem is that the location of userdir is not set in private properties when the WebProjectProperties is first called. javac.source cannot be evaluated when it is set to ${default.javac.source}, since ${default.javac.source} is defined in build.properties. WPP is created to check missing server, this can be avoided and call evalutator.getProperty() instead of WPP.get(). Another call is in projectOpened before the user.properties.file is called, this can be fixed by setting user.properties.file as the first thing in projectOpened().
fixed in trunk: /cvs/web/project/src/org/netbeans/modules/web/project/WebProject.java,v <-- WebProject.java new revision: 1.82; previous revision: 1.81 src/org/netbeans/modules/web/project/ui/WebPhysicalViewProvider.java; /cvs/web/project/src/org/netbeans/modules/web/project/ui/WebPhysicalViewProvider.java,v <-- WebPhysicalViewProvider.java new revision: 1.29; previous revision: 1.28
Created attachment 21477 [details] diff
v. in cont. build 20050408-0750, can be merged to release41 branch after code review
*** Issue 57638 has been marked as a duplicate of this issue. ***
I reviewed the fix and agree with it.
*** Issue 57580 has been marked as a duplicate of this issue. ***
Merged to 4.1 branch.
Verified in release41 branch.