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 83410 - javax.jmi.reflect.InvalidObjectException
Summary: javax.jmi.reflect.InvalidObjectException
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-24 16:19 UTC by paularnold
Modified: 2008-02-25 16:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
/var/log/messages (143.43 KB, text/plain)
2006-08-24 16:19 UTC, paularnold
Details
Screen shot of IDE about to hit the problem (127.31 KB, image/jpeg)
2006-08-25 12:35 UTC, paularnold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description paularnold 2006-08-24 16:19:03 UTC
NB 5.5 beta 2.

There are some other hits for this, but they were asking for exact steps to
recreate. At the moment I can make this happen on demand as follows:

new java project
new class
add an enum definition to that class:

    public enum Type {
        LOAD,
        SAVE,
        MACHINE,
        NETWORK
    }

Now add a line "Type." and allow the code completion to display the possible
completions. Use the down arrow to go down that list and sooner or later the
exception is thrown.

Something that might be significant is that just today I ran NB briefly using
JDK 1.5 update 8 and then went back to update 7. Perhaps this has munged
something in the user dir?
Comment 1 paularnold 2006-08-24 16:19:40 UTC
Created attachment 33258 [details]
/var/log/messages
Comment 2 Jiri Prox 2006-08-25 11:05:17 UTC
Please, is this reproducible when using fresh userdir? (you can start ide with
-userdir switch)
Comment 3 paularnold 2006-08-25 12:33:11 UTC
Still reproducible with -userdir. I can recreate it exactly as described every
time. Some more specific information: as I use the down arrow to move down the
list of possible completions for Type, it fails when I get to "valueOf".

One other thing: you have to wait for the internal parsing to complete so that
the Type members are visible in the member panel before causing the completion
list to come up. If you don't do that, then the completion list doesn't contain
the enumerated values but just some class stuff. I'll attach a screen shot to
show you what I mean.

If you can give me some instructions for enabling debugging in the IDE then I
can capture a trace for you.
Comment 4 paularnold 2006-08-25 12:35:17 UTC
Created attachment 33276 [details]
Screen shot of IDE about to hit the problem
Comment 5 Quality Engineering 2007-09-20 09:52:14 UTC
Reorganization of java component
Comment 6 Jan Becicka 2008-02-25 16:13:03 UTC
This issue is not valid in current builds any more. Java support was completely
redesigned in 6.0 time frame. Please use NetBeans 6.0 and later.