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 82756 - during renaming Java Application exception is thrown
Summary: during renaming Java Application exception is thrown
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kubec
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2006-08-15 17:23 UTC by Lukasz Grela
Modified: 2008-08-29 14:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (44.57 KB, text/plain)
2006-08-15 17:23 UTC, Lukasz Grela
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukasz Grela 2006-08-15 17:23:15 UTC
#200608150000

1) create Java Application Project

2) rename project also rename project folder - during renaming exception is thrown

this bug occur randomly
Comment 1 Lukasz Grela 2006-08-15 17:23:40 UTC
Created attachment 32956 [details]
exception
Comment 2 Tomas Zezula 2007-01-04 10:39:53 UTC
Reassigning to the new PackageView maintainer :-)
Seems that the package view is still alive even when the project was closed, the
Node.removeNotify() wasn't yet called and it listens on changes => exceptions.
There are two possible solutions:
1) Checking DataObject.isValid() in the package view before calling methods on
DataObject.
2) Unregister PackageView listeners in the CloseProjectHook.
Comment 3 Lukas Hasik 2008-04-10 21:36:49 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 4 Milan Kubec 2008-08-29 14:39:51 UTC
Haven't seen since the issue has been filed. The stack trace doesn't match current sources. Closing as worksforme.