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 16076 - ALL: Importing project from 3.2.1 throws an exception into console.
Summary: ALL: Importing project from 3.2.1 throws an exception into console.
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-01 16:12 UTC by Jiri Kovalsky
Modified: 2003-07-01 13:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NullPointerException when importing project from NB 3.2.1. (2.26 KB, text/plain)
2001-10-01 16:13 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2001-10-01 16:12:30 UTC
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.
Comment 1 Jiri Kovalsky 2001-10-01 16:13:37 UTC
Created attachment 2775 [details]
NullPointerException when importing project from NB 3.2.1.
Comment 2 Jiri Kovalsky 2001-10-01 17:00:36 UTC
I have found out that it happens with simple PVCS filesystem and 
occurs also when right-clicking on some node under such a filesystem.
Comment 3 Martin Entlicher 2001-10-02 15:23:58 UTC
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.
Comment 4 Martin Entlicher 2001-10-03 16:18:47 UTC
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.
Comment 5 Jiri Kovalsky 2001-10-09 10:05:56 UTC
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.
Comment 6 Quality Engineering 2003-07-01 13:02:05 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.