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 72362 - After writing . gives this exception
Summary: After writing . gives this exception
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-07 19:29 UTC by bulenttastan
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bulenttastan 2006-02-07 19:29:45 UTC
ie: System.out.  and I wait for println  but NetBeans gives the exception 
below. I dont know the reason but I wanted to inform you. And if there is a 
solution I will do; but if there is no, I will use NetBeans 4.1 unfortunately.


javax.jmi.reflect.InvalidObjectException: Object with MOFID 29E482D8-941A-11DA-
89B1-2544B7C1AA77:0000000000000118 no longer exists, class: 
org.netbeans.jmi.javamodel.JavaModelPackage$Impl
	at org.netbeans.mdr.handlers.BaseObjectHandler._getDelegate
(BaseObjectHandler.java:359)
	at org.netbeans.mdr.handlers.PackageProxyHandler.getPackageDelegate
(PackageProxyHandler.java:71)
	at org.netbeans.mdr.handlers.PackageProxyHandler._handleGetClassProxy
(PackageProxyHandler.java:102)
	at org.netbeans.jmi.javamodel.JavaModelPackage$Impl.getArray(Unknown 
Source)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.resolveType
(MetadataElement.java:1574)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.ParameterImpl.getType
(ParameterImpl.java:102)
	at org.netbeans.jmi.javamodel.Parameter$Impl.getType(Unknown Source)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.ParameterizedTypeImpl$TypedElem
entWrapper.getType(ParameterizedTypeImpl.java:648)
	at 
org.netbeans.modules.editor.java.NbJMIResultItem$CallableFeatureResultItem.<ini
t>(NbJMIResultItem.java:433)
	at 
org.netbeans.modules.editor.java.NbJMIResultItem$MethodResultItem.<init>
(NbJMIResultItem.java:341)
	at 
org.netbeans.modules.editor.java.NbJavaJMICompletionQuery$DefaultJMIItemFactory
.createMethodResultItem(NbJavaJMICompletionQuery.java:1411)
	at 
org.netbeans.modules.editor.java.NbJavaJMICompletionQuery$DefaultJMIItemFactory
.createResultItem(NbJavaJMICompletionQuery.java:1431)
	at org.netbeans.modules.editor.java.JMIUtils.findFeatures
(JMIUtils.java:860)
	at org.netbeans.modules.editor.java.JMIUtils.findFeatures
(JMIUtils.java:399)
	at 
org.netbeans.modules.editor.java.NbJavaJMICompletionQuery$Context.findFieldsMet
hodsAndInnerClasses(NbJavaJMICompletionQuery.java:1057)
	at 
org.netbeans.modules.editor.java.NbJavaJMICompletionQuery$Context.resolveExp
(NbJavaJMICompletionQuery.java:285)
	at org.netbeans.modules.editor.java.NbJavaJMICompletionQuery.getResult
(NbJavaJMICompletionQuery.java:57)
	at org.netbeans.editor.ext.java.JavaCompletionQuery.query
(JavaCompletionQuery.java:139)
	at org.netbeans.editor.ext.java.JavaCompletionQuery.query
(JavaCompletionQuery.java:74)
	at org.netbeans.modules.editor.java.JavaCompletionProvider$Query.query
(JavaCompletionProvider.java:108)
	at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run
(AsyncCompletionTask.java:189)
	at org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:493)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:926)
Comment 1 Jiri Prox 2006-02-20 08:51:07 UTC
Can you provide more detail information. What type of project do you use?
Version od jdk, has previous run of netbeans finished correctly?
As a workaround you can try to start NB with fresh userdir.
Comment 2 bulenttastan 2006-02-20 10:10:06 UTC
 Hi,
 I have seen this error at that time, and I closed it and reopened netbeans.
This worked fine after some tries, since the 75% of computer errors is treated 
with restart operation. And I'm still using NetBeans 5.0
 To give information, that maybe help you to work correctly: I was writing an 
applet, with jdk 1.5.04 with netbeans 5.0  the netbeans was bundled with jdk 
of course.  I was writing code on NetBeans and just one day I have met with 
this problem. I have reopened it after some tries and it doesn't give this 
error now.  
 But I want to give one more issue, that is, while I'm debugging, I had a 
watch that was in[i] and i was -1, so there must be an invalid index error, 
but I would rather see it as a comment on watches. NetBeans gave it as an 
exception and didnt let me add this watch. I would prefer not to give a 
result, because at that moment I was not using in[-1], I was using it after an 
incrementation: i++; and it would become in[0] and this wouldnt be erroneous. 
That's it, Thank you for all your attension.
Comment 3 bulenttastan 2006-02-20 10:11:41 UTC
 Hi,
 I have seen this error at that time, and I closed it and reopened netbeans.
This worked fine after some tries, since the 75% of computer errors is treated 
with restart operation. And I'm still using NetBeans 5.0
 To give information, that maybe help you to work correctly: I was writing an 
applet, with jdk 1.5.04 with netbeans 5.0  the netbeans was bundled with jdk 
of course.  I was writing code on NetBeans and just one day I have met with 
this problem. I have reopened it after some tries and it doesn't give this 
error now.  
 But I want to give one more issue, that is, while I'm debugging, I had a 
watch that was in[i] and i was -1, so there must be an invalid index error, 
but I would rather see it as a comment on watches. NetBeans gave it as an 
exception and didnt let me add this watch. I would prefer not to give a 
result, because at that moment I was not using in[-1], I was using it after an 
incrementation: i++; and it would become in[0] and this wouldnt be erroneous. 
That's it, Thank you for all your attension.
Comment 4 Jan Becicka 2006-10-26 16:27:52 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 5 Quality Engineering 2007-09-20 10:50:59 UTC
Reorganization of java component