|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
Expression Tags Cause UnsupportedOperationExceptionHi all When typing Code: <%= %> I get an error message "Warning: A java.lang.UnsupportedOperationException has occurred." The message keeps appearing until I type something into the expression, at which point I can cancel the warning and carry on as normal. Any ideas how to fix this, please? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Expression Tags Cause UnsupportedOperationExceptionHi,
Which version of NB are you using? I think a similar issue was fixed in 6.7.1, so please try upgrading if you're using anything older than that. Erno safetycopy wrote: > Hi all > > > > When typing > > > > > Code: > <%= %> > > > > > > I get an error message "Warning: A java.lang.UnsupportedOperationException has occurred." > > > > The message keeps appearing until I type something into the expression, at which point I can cancel the warning and carry on as normal. > > > > Any ideas how to fix this, please? > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Expression Tags Cause UnsupportedOperationExceptionHi Erno, I'm using Dev 200908022240. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Expression Tags Cause UnsupportedOperationExceptionI see, it must be a different issue then. I'm not getting this exception with the latest daily though, could you try whether the problem still exists in 200909081533 or newer (http://bits.netbeans.org/dev/nightly/latest/)? If it is still reproducible for you, please post the whole stack trace here (or just report the issue using the exception reporter that should pop up when any exceptions occur). Thanks, Erno safetycopy wrote: > Hi Erno, > > > > I'm using Dev 200908022240. > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Expression Tags Cause UnsupportedOperationExceptionOkey doke, I downloaded netbeans-trunk-nightly-200909081533-ruby-windows.exe and tried again. I'm still getting the exception - here's the report: Code: java.lang.UnsupportedOperationException: Not supported yet. at org.jrubyparser.SourcePosition$1.union(SourcePosition.java:229) at org.jrubyparser.parser.ParserSupport.union(ParserSupport.java:313) at org.jrubyparser.parser.ParserSupport.new_call(ParserSupport.java:833) at org.jrubyparser.parser.Ruby19Parser.case376_line1413(Ruby19Parser.java:3402) at org.jrubyparser.parser.Ruby19Parser.yyparse(Ruby19Parser.java:2062) at org.jrubyparser.parser.Ruby19Parser.yyparse(Ruby19Parser.java:1421) at org.jrubyparser.parser.Ruby19Parser.parse(Ruby19Parser.java:4303) at org.netbeans.modules.ruby.RubyParser.parseBuffer(RubyParser.java:551) at org.netbeans.modules.ruby.RubyParser.parse(RubyParser.java:121) at org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:198) at org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:134) at org.netbeans.modules.csl.editor.fold.GsfFoldManager$JavaElementFoldTask$1.run(GsfFoldManager.java:390) at org.netbeans.modules.csl.editor.fold.GsfFoldManager$JavaElementFoldTask$1.run(GsfFoldManager.java:402) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:129) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:113) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:189) Caused: org.netbeans.modules.parsing.spi.ParseException at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:191) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:99) at org.netbeans.modules.csl.editor.fold.GsfFoldManager$JavaElementFoldTask.gsfFoldScan(GsfFoldManager.java:377) at org.netbeans.modules.csl.editor.fold.GsfFoldManager$JavaElementFoldTask.run(GsfFoldManager.java:353) at org.netbeans.modules.csl.editor.fold.GsfFoldManager$JavaElementFoldTask.run(GsfFoldManager.java:299) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:661) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [catch] at java.lang.Thread.run(Unknown Source) --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Expression Tags Cause UnsupportedOperationExceptionThanks for the stack trace, I filed http://www.netbeans.org/issues/show_bug.cgi?id=171911 for this (if you'd like to track the progress on the issue, you can add yourself to cc in the issue). Erno safetycopy wrote: > Okey doke, I downloaded netbeans-trunk-nightly-200909081533-ruby-windows.exe and tried again. I'm still getting the exception - here's the report: > > > > > Code: > java.lang.UnsupportedOperationException: Not supported yet. > > at org.jrubyparser.SourcePosition$1.union(SourcePosition.java:229) > > at org.jrubyparser.parser.ParserSupport.union(ParserSupport.java:313) > > at org.jrubyparser.parser.ParserSupport.new_call(ParserSupport.java:833) > > at org.jrubyparser.parser.Ruby19Parser.case376_line1413(Ruby19Parser.java:3402) > > at org.jrubyparser.parser.Ruby19Parser.yyparse(Ruby19Parser.java:2062) > > at org.jrubyparser.parser.Ruby19Parser.yyparse(Ruby19Parser.java:1421) > > at org.jrubyparser.parser.Ruby19Parser.parse(Ruby19Parser.java:4303) > > at org.netbeans.modules.ruby.RubyParser.parseBuffer(RubyParser.java:551) > > at org.netbeans.modules.ruby.RubyParser.parse(RubyParser.java:121) > > at org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:198) > > at org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:134) > > at org.netbeans.modules.csl.editor.fold.GsfFoldManager$JavaElementFoldTask$1.run(GsfFoldManager.java:390) > > at org.netbeans.modules.csl.editor.fold.GsfFoldManager$JavaElementFoldTask$1.run(GsfFoldManager.java:402) > > at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:129) > > at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:113) > > at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:189) > > Caused: org.netbeans.modules.parsing.spi.ParseException > > at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:191) > > at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:99) > > at org.netbeans.modules.csl.editor.fold.GsfFoldManager$JavaElementFoldTask.gsfFoldScan(GsfFoldManager.java:377) > > at org.netbeans.modules.csl.editor.fold.GsfFoldManager$JavaElementFoldTask.run(GsfFoldManager.java:353) > > at org.netbeans.modules.csl.editor.fold.GsfFoldManager$JavaElementFoldTask.run(GsfFoldManager.java:299) > > at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:661) > > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > > at java.util.concurrent.FutureTask.run(Unknown Source) > > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > > [catch] at java.lang.Thread.run(Unknown Source) > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Expression Tags Cause UnsupportedOperationExceptionOne more thing: can you please provide an example file where this happens to you? This doesn't seem reproducible for me with just "<%= %>". Thanks, Erno Erno Mononen wrote: > > Thanks for the stack trace, I filed > http://www.netbeans.org/issues/show_bug.cgi?id=171911 for this (if > you'd like to track the progress on the issue, you can add yourself to > cc in the issue). > > Erno > > > safetycopy wrote: >> Okey doke, I downloaded >> netbeans-trunk-nightly-200909081533-ruby-windows.exe and tried again. >> I'm still getting the exception - here's the report: >> >> >> >> >> Code: >> java.lang.UnsupportedOperationException: Not supported yet. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Expression Tags Cause UnsupportedOperationExceptionHi Erno, Thanks for submitting that. As far as providing a file, it basically happens in any ERb file. The exact process is: 1) Type <%= which triggers auto-complete, adding %> 2) Push space to add a space between = and the content of the expression. 3) After pushing space (leaving the cursor between two spaces which are between the expression tags), I get the error message. If I can get focus away from the error dialog long enough to type anything in between the expression tags, I can cancel the error message and continue as normal. However, if I just keep hitting cancel on the error dialog, it just continues to reappear. It seems I could solve the problem by stopping auto-complete adding the closing expression tag, but I can't seem to find a way of turning that off. Hope that explains things a little better. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Expression Tags Cause UnsupportedOperationExceptionThanks for the information! __________________ NCIS dvd (http://www.mycollects.com/products/Navy-NCIS-Naval-Criminal-Investigative-Service-Seasons-1-6-DVD-Box-set-DVDS-1671.html) House m.d dvd (http://www.mycollects.com/products/House-MD-Seasons-1-5-DVD-Box-set-DVDS-1584.html) 24 dvd boxset season 1-7 (http://www.mycollects.com/products/24-Twenty-four-Hours-Seasons-1-7-DVD-Box-set-DVDS-1749.html) 30 ROCK Seasons 1-3 dvd boxset (http://www.mycollects.com/products/30-ROCK-Seasons-1-3-DVD-Boxset-DVDS-1759.html) ------------------------ NCIS dvd (http://www.mycollects.com/products/Navy-NCIS-Naval-Criminal-Investigative-Service-Seasons-1-6-DVD-Box-set-DVDS-1671.html) House m.d dvd (http://www.mycollects.com/products/House-MD-Seasons-1-5-DVD-Box-set-DVDS-1584.html) --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |