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.
[#200706230000, jdk1.5.0] testJSPNavigator automated test throws: UnsupportedOperationException: Not supported yet. There is similar issue #106887 filed against web/jsf component. java.lang.UnsupportedOperationException: Not supported yet. at org.netbeans.modules.web.core.syntax.JavaSourceProviderImpl$FilterImpl.filterReader(JavaSourceProviderImpl.java:80) at org.netbeans.modules.java.source.parsing.SourceFileObject.openReader(SourceFileObject.java:145) at org.netbeans.modules.java.source.parsing.SourceFileObject.getCharContentImpl(SourceFileObject.java:343) at org.netbeans.modules.java.source.parsing.SourceFileObject.getCharContent(SourceFileObject.java:116) at org.netbeans.modules.java.source.parsing.SourceFileObject.getCharContent(SourceFileObject.java:59) at org.netbeans.api.java.source.CompilationInfo.getText(CompilationInfo.java:117) at org.netbeans.api.java.source.JavaSource.dumpSource(JavaSource.java:2234) at org.netbeans.api.java.source.JavaSource.moveToPhase(JavaSource.java:1191) at org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.java:1470) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)
It looks like the java source parsing task had been scheduled just before or during the JSP file close so it couldn't use the document instance and tried to run on top of fileobject. Based on Jan Lahoda's information the part of the implementation of the virtual java file generated from JSPs which handles parsing of fileobjects is not implemented yet. Rassigning to Honza based on our former agreement.
*** Issue 107076 has been marked as a duplicate of this issue. ***
Should be OK now: Checking in JavaSourceProviderImpl.java; /cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/JavaSourceProviderImpl.java,v <-- JavaSourceProviderImpl.java new revision: 1.4; previous revision: 1.3 done
*** Issue 109152 has been marked as a duplicate of this issue. ***
*** Issue 109078 has been marked as a duplicate of this issue. ***
*** Issue 109711 has been marked as a duplicate of this issue. ***