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.
I've got the following exception for the first time (clean user directory) that I do the following process: Open the attached web project. Create new mobile project. new file ->MIDP -> wireless connection wizard. Fill the following information: First panel: Web project: The attached project Servlet Class Name: use defaults Source Packages: use defaults Package:servlet Second Panel:select WSClient box (all 3 methods should be selected) Third Panel:ClientClassName:use default EndToEndClient Package:client The wizard generates a MIDlet under the client package:EndToEndClientMVD In the navigator window click on one of methods begin with: _formservice... The next exception is thrown: Annotation: Exception occurred in Request Processor javax.jmi.reflect.InvalidObjectException: Object with MOFID A316FBE6-AF29-11D9-A1ED-62562AC7AA77:0000000000000273 no longer exists. at org.netbeans.mdr.handlers.BaseObjectHandler._getDelegate(BaseObjectHandler.java:353) at org.netbeans.mdr.handlers.InstanceHandler.getInstanceDelegate(InstanceHandler.java:48) at org.netbeans.mdr.handlers.InstanceHandler._immediateComposite(InstanceHandler.java:251) at org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement._immediateComposite(MetadataElement.java:1570) at org.netbeans.mdr.handlers.InstanceHandler.refImmediateComposite(InstanceHandler.java:243) at org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getResource(MetadataElement.java:523) at org.netbeans.modules.javanavigation.actions.OpenAction.jumpToElement(OpenAction.java:203) at org.netbeans.modules.javanavigation.actions.OpenAction.access$500(OpenAction.java:56) at org.netbeans.modules.javanavigation.actions.OpenAction$4.run(OpenAction.java:171) at org.openide.util.Task.run(Task.java:189) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:721) After first time - I could not reproduce it and everything works well.
Created attachment 21690 [details] web project
P2->P3 - does not seem to be reliably reproducible, no data loss. Could you please attach your messages.log? This could be a consequence of some previous problem (logged to the log file). Also from the messages.log we will find out what build you were using. The messages.log file is located under $nbuser/var/log/.
Looks like a problem in navigator. Navigator can pass an element to the jumpToElement method that becomes invalid before a transaction in this method is started.
I found the problem occurs whenever the project directory contains blanks (for example: C:\Documents and Settings\sd126764). messages.log is attached
Created attachment 21697 [details] messages.log
This code in java navigation is copied from editor Alt+G implementation, so we probably have this problem in Alt+G as well. What would you recommend? Checking validity as first command under MDR transaction lock?
Martin, Dusan? Please help me, thx.
Checking validity immediately after transaction start will fix the exception. However, it will cause the source code will not be opened. I am not sure how sever would this be. In case this could happen only if user really deletes a method and then tries to doubleclick on it in navigator just before navigator notices the method was deleted, then its fine. Worse would be if the method is still there and the node in navigator becomes invalid. Anyway, I guess the second case cannot occur. So, checking validity and ignoring the action if invalid should be fine...
Thank you!
I believe this is the same error That I am seeing on a web project when I use the wizard to create a new class. Attaching log.
Created attachment 23864 [details] Exceptions from web project.
I should add that the file is created incomplete and the wizard locks up when Finish is clicked.
*** Issue 64705 has been marked as a duplicate of this issue. ***
fixed in main trunk: Checking in OpenAction.java; /cvs/java/navigation/src/org/netbeans/modules/java/navigation/actions/OpenAction.java,v <-- OpenAction.java new revision: 1.3; previous revision: 1.2
Created attachment 27061 [details] javax.jmi.reflect.InvalidObjectException: Object with MOFID 0BA1ED4D-588B-11DA-9B61-F4BBB305AA77:000000000000036D no longer exists.