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 69248 - IOE when editing non-existing finder method in DD editor
Summary: IOE when editing non-existing finder method in DD editor
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
: 87420 (view as bug list)
Depends on: 93404
Blocks:
  Show dependency tree
 
Reported: 2005-11-24 10:31 UTC by Jiri Prox
Modified: 2009-11-10 06:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (3.12 KB, text/plain)
2005-11-24 10:32 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2005-11-24 10:31:51 UTC
NB 5.0 dev build 20051124
JDK 1.6.0

InvalidObjectException is thrown when trying to edit finder method which doesn't
exist in proper (local or remote) interface.

steps to reproduce:
1) open project with EB
2) add finder method in remote or local interface
3) delete manualy created method from interface (or move it to the other one)
4) in DD editor select finder method
5) click to edit and make some changes
6) confirm changes
-> javax.jmi.reflect.InvalidObjectException: Object with MOFID
13382411-5CCB-11DA-80C8-6ED6D9ECAA77:000000000000057D no longer exists, class:
org.netbeans.jmi.javamodel.Method$Impl
	at
org.netbeans.mdr.handlers.BaseObjectHandler._getDelegate(BaseObjectHandler.java:359)
	at
org.netbeans.mdr.handlers.InstanceHandler.getInstanceDelegate(InstanceHandler.java:48)
	at org.netbeans.mdr.handlers.InstanceHandler._handleGet(InstanceHandler.java:193)

If you moved the metod to the other interface in step 3, in DD editor, you can
see correct value in 'Result Interface' table cell, but when Edit dialog is
invoked, there is prefilled original value in 'Use in interface' section.
Comment 1 Jiri Prox 2005-11-24 10:32:48 UTC
Created attachment 27234 [details]
exception
Comment 2 Martin Adamek 2005-11-28 12:36:53 UTC
I wasn't able to reproduce in build #051128. Is it random or 100% reproducible?
Comment 3 Jiri Prox 2005-11-28 15:27:56 UTC
I've reproduced it on #051128 with 1.5.0_05. It is 100% reproducible.
(I've used fresh userdir and new J2ee project)
Comment 4 Petr Blaha 2006-03-13 13:47:39 UTC
TM 5.0 -> TBD
Comment 5 Daniel Prusa 2006-09-05 13:55:25 UTC
Still reliably reproducible, listening on finder methods deletion not implemented.
Comment 6 Erno Mononen 2007-01-05 15:49:47 UTC
*** Issue 87420 has been marked as a duplicate of this issue. ***
Comment 7 Erno Mononen 2007-07-20 16:23:03 UTC
It's no longer possible to edit finder methods in the editor, so I'm closing this. 
Comment 8 Jiri Prox 2007-08-01 13:47:15 UTC
v.