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.
Development build of NetBeans 3.3 #200110010100 on Windows 2000 with JDK 1.3.1 Description: ============ Importing project with some mounted command-line VCS filesystems throws below attached NullPointerException into the console. Please fix this issue as soon as possible since this avoids beta release of NetBeans 3.3. Steps to reproduce: =================== 1. Launch NetBeans 3.2.1 with brand new user directory and mount CVS filesystem using VCSCVS module and PVCS filesystem using Generic VCS module. 2. Create new variable and new command in your PVCS filesystem. Just to be sure. 3. Close the IDE and start the latest development build of NetBeans 3.3. 4. Using "Project Manager" import the project from 3.2.1 created in steps 1,2,3. 5. After the import is done there should be NullPointerException in the console.
Created attachment 2775 [details] NullPointerException when importing project from NB 3.2.1.
I have found out that it happens with simple PVCS filesystem and occurs also when right-clicking on some node under such a filesystem.
The NPE is not thrown any more, if the commands can not be loaded, the FS looks for the default profile. -- Fixed in build 10/03 However, this is only a partial fix. If you do not make any changes to commands, it should work O.K. But any commands changes are not imported this way, because the temporary profile storage is not a part of the project. A solution to this is being discussed.
This is all what can be done to fix this problem at this time. To prevent problems like this in the future, the FS+commands configuration storage have to change. Issue #16179 was entered for this.
Okay. Nasty NullPointerExceptions were removed from the console howev- er localized exceptions are reported with message saying: "Problems while reading predefined properties tmp70224.xml" I frankly understand that to fix this better it would be necessary to search old user directory yourself. This item has to be documented so that users don't report more bugs on it. Verifying in development build of NetBeans 3.3 #200110090100.
Resolved for 3.4.x or earlier, no new info since then -> closing.