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 108058 - UnsupportedOperationException: Not supported yet.
Summary: UnsupportedOperationException: Not supported yet.
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 107076 109078 109152 109711 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-25 17:55 UTC by Martin Schovanek
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

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 Martin Schovanek 2007-06-25 17:55:47 UTC
[#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)
Comment 1 Marek Fukala 2007-06-27 21:23:37 UTC
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.
Comment 2 Jan Lahoda 2007-07-11 09:20:03 UTC
*** Issue 107076 has been marked as a duplicate of this issue. ***
Comment 3 Jan Lahoda 2007-07-11 09:21:24 UTC
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
Comment 4 novakm 2007-07-11 13:30:03 UTC
*** Issue 109152 has been marked as a duplicate of this issue. ***
Comment 5 Jan Lahoda 2007-07-13 15:12:02 UTC
*** Issue 109078 has been marked as a duplicate of this issue. ***
Comment 6 Jan Lahoda 2007-07-16 15:06:44 UTC
*** Issue 109711 has been marked as a duplicate of this issue. ***