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 82678 - Move class from one package to another throw exception
Summary: Move class from one package to another throw exception
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-15 00:54 UTC by Craig Conover
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Full stack trace of exception (960 bytes, text/plain)
2006-08-15 00:55 UTC, Craig Conover
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Conover 2006-08-15 00:54:50 UTC
Reproduce steps:
1) Create an empty Java project
2) Create two packages: foo and bar
3) Add an empty Java class to foo: ClassA
4) Drag and drop Class from foo to bar package
5) Click through the Refactoring dialogs to perform the move

It all seems to work, but this exception is raised:
[org.netbeans.mdr.Logger] INFORMATIONAL *********** Exception occurred *********
*** at 4:49 PM on Aug 14, 2006
java.lang.Exception: mofId: 0BC72E8B-2BEF-11DB-909E-1D86745AAA77:0000000000000C3
A, class: org.netbeans.jmi.javamodel.Resource$Impl
        at org.netbeans.mdr.handlers.InstanceHandler.refDelete(InstanceHandler.j
ava:307)

See full exception stack in attachment.
Comment 1 Craig Conover 2006-08-15 00:55:24 UTC
Created attachment 32922 [details]
Full stack trace of exception
Comment 2 Craig Conover 2006-08-15 00:58:50 UTC
By the way, the exception doesn't seem to be consistent, but it doesn't happen
frequently, so be sure to do the move sufficiently enough times to see the
exception.
Comment 3 Jiri Prox 2006-08-15 09:11:28 UTC
These are only informational exception, they are harmless. That's why I'm
closing this issue for now. If some non-informaltional exception occurres (show
in separate dialog) or refactoring is not ok, feel free to reopen or enter new
issue.
Comment 4 Quality Engineering 2007-09-20 09:58:48 UTC
Reorganization of java component