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 82725 - serious autocompletion error
Summary: serious autocompletion error
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All Windows ME/2000
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-15 11:56 UTC by nikaustr
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 nikaustr 2006-08-15 11:56:54 UTC
I was writing a simple program that uses Levenstein's algorithm to find the 
distance between two strings. Here's the code (just the first part of it):
 

//compare two strings and return the distance between them
package string_processing;

import java.io.*;

public class StringDistance {
    public static void main(String args[]) {
 String f, s;
 System.out.print("Enter first string: ");
 BufferedReader br = new BufferedReader(new InputStreamReader( System.in));
 s = br.
    }
}

and you know why there's nothing after " ... br." - the autocompletion list 
didn't popup .. and there was an exception (red Stop sign in the bottom right 
corner of the window). Here are the details:

javax.jmi.reflect.InvalidObjectException: Object with MOFID 76F46923-2007-11DB-
B748-1386476AAA77:0000000000000FEB 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.editor.java.NbJMIResultItem$CallableFeatureResultItem.
<init>(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.
findFieldsMethodsAndInnerClasses(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 Jan Becicka 2006-08-17 22:42:33 UTC
Please attach full messages.log. Thanks
Comment 2 nikaustr 2006-08-18 12:45:15 UTC
It is full.
Comment 3 Jan Becicka 2006-10-26 16:28:13 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 4 Quality Engineering 2007-09-20 12:05:53 UTC
Reorganization of java component