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.
Build: NetBeans IDE 7.0 Beta (Build 201011152355) VM: Java HotSpot(TM) Client VM, 18.0-b02, Java(TM) SE Runtime Environment, 1.7.0-ea-b89 OS: Linux User Comments: franci: just typing in java editor Chiana: Was editing some code trying to make a new SwingWorker, after I pressed <end> to get to the last position of the line this occured. Line is; new SwingWorker() Chiana: Not sure exactly what I was doing, was fiddling with a fairly long line attempting to convert a string to an Object in a single line. The line at time of error : return (Serializable) (new ObjectInputStream(new InputStream(new StringReader(sto.getData())))).readObject(); with the cursor on "e" in the second new and I think I pressed control-P to check parameter types for ObjectInputStream Chiana: Was editing adding a new workerthread... private SwingWorker TickTack=new SwingWorker(); Was just about to add a { before the ; and start the main body of the worker Stacktrace: java.lang.AssertionError at org.netbeans.modules.java.source.usages.ClassFileUtil.createExecutableDescriptor(ClassFileUtil.java:181) at org.netbeans.api.java.source.ElementHandle.create(ElementHandle.java:402) at org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:194) at org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:78) at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:330) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:675)
Created attachment 103128 [details] stacktrace
I am not able to reproduce it. So I've added at least logging jet-main a9a51244eb22. The assert means that a parent of method is not type. Please reopen when it happens with the additional logging.
Integrated into 'main-golden', will be available in build *201011230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a9a51244eb22 User: Tomas Zezula <tzezula@netbeans.org> Log: #192208:AssertionError at org.netbeans.modules.java.source.usages.ClassFileUtil.createExecutableDescriptor
Will do...
Thanks
Reopened, because Exception occured at current build (201011250001). Maybe it´s another bug. It has now been added to the database with id #443694. It has been classified as a duplicate of report #173498.
OK, thanks. No with additional debug info it's clear what happens.
The debug shows that the problem is that the method owner is type parameter, should be class or interface. If someone has a project which can be shared and causes this problem please attach it.
*** Bug 192813 has been marked as a duplicate of this bug. ***
Created attachment 103630 [details] stacktrace wrote: private final BlockingQueue<Request> queue = new BlockingQueue<Request>(); in my class while Request class is not defined yet.
Created attachment 103748 [details] stacktrace Editing java file
*** Bug 193388 has been marked as a duplicate of this bug. ***
Created attachment 104156 [details] stacktrace misspelled 'final' in variable declaration: fincl Type<Integer> v = new Type<Integer>();
Is someone able to reproduce this issue? If so, can I send you a patched version of javac with additional logging? Thanks
Created attachment 104328 [details] stacktrace
*** Bug 193637 has been marked as a duplicate of this bug. ***
*** Bug 193696 has been marked as a duplicate of this bug. ***
Problems in navigator and hints can be reproduced using the following field declaration: Map <String,Object>connection=new Map<String,Object>(); (java.util.Map should be imported). For hints, this will cause an immediate exception. For navigator, place the caret inside the '()' brackets. The problematic MethodSymbol is likely "virtual" (non-existent) Map constructor whose owner is Symtab.noSymbol.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/e5fcb7cfb4e6
Integrated into 'main-golden', will be available in build *201101060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e5fcb7cfb4e6 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #192208: AssertionError at org.netbeans.modules.java.source.usages.ClassFileUtil.createExecutableDescriptor - fixed.
*** Bug 194079 has been marked as a duplicate of this bug. ***