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 239295 - IllegalArgumentException: Not supported: WrappedJavaFileObject[org.netbeans.modules.java.debugjavac.impl.Utilities$1[mem://mem]]
Summary: IllegalArgumentException: Not supported: WrappedJavaFileObject[org.netbeans.m...
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-10 06:18 UTC by ExIngus
Modified: 2014-01-09 12:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 205353


Attachments
stacktrace (2.28 KB, text/plain)
2013-12-10 06:18 UTC, ExIngus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ExIngus 2013-12-10 06:18:56 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
GUEST: trying decompile a class file

GUEST: closing a all tabs

ExIngus: module debugjavac.
Open tab in the generated source Decompile.




Stacktrace: 
java.lang.IllegalArgumentException: Not supported: WrappedJavaFileObject[org.netbeans.modules.java.debugjavac.impl.Utilities$1[mem://mem]]
   at com.sun.tools.javac.file.JavacFileManager.isSameFile(JavacFileManager.java:647)
   at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:353)
   at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:520)
   at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:302)
   at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:316)
   at com.sun.tools.javac.comp.Enter.complete(Enter.java:721)
Comment 1 ExIngus 2013-12-10 06:18:58 UTC
Created attachment 142993 [details]
stacktrace
Comment 2 Dusan Balek 2014-01-09 12:50:03 UTC
The JavaFileObject returned from org.netbeans.modules.java.debugjavac.impl.Utilities.sourceFileObject(...) should be annotated with @Trusted perhaps.