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 158339 - AssertionError at org.netbeans.modules.java.source.JavaFileFilterQuery.getFilter
Summary: AssertionError at org.netbeans.modules.java.source.JavaFileFilterQuery.getFilter
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rastislav Komara
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-10 19:47 UTC by Filip Zamboj
Modified: 2009-11-02 11:02 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 146149


Attachments
stacktrace (4.06 KB, text/plain)
2009-02-10 19:47 UTC, Filip Zamboj
Details
stacktrace (3.90 KB, text/plain)
2009-02-18 16:39 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Zamboj 2009-02-10 19:47:10 UTC
Build: NetBeans IDE Dev (Build 200902091451)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Linux, 2.6.27-11-generic, amd64

User Comments:
fzamboj: steps: 
1. start debugging session 
2. write sout and press TAB/space to invoke completion, so the result should be that you get System.out.println("") ... 
3. you get exception



Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.java.source.JavaFileFilterQuery.getFilter(JavaFileFilterQuery.java:60)
        at org.netbeans.modules.java.source.parsing.JavacParser.<init>(JavacParser.java:223)
        at org.netbeans.modules.java.source.parsing.JavacParserFactory.createPrivateParser(JavacParserFactory.java:75)
        at org.netbeans.api.java.source.JavaSource$JavaSourceAccessorImpl.createCompilationController(JavaSource.java:742)
        at org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:96)
        at org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:504)
Comment 1 Filip Zamboj 2009-02-10 19:47:16 UTC
Created attachment 76819 [details]
stacktrace
Comment 2 Filip Zamboj 2009-02-10 19:53:37 UTC
I forgot to add it happened in Expression Evaluator! I'll reasign to debuggercore/code. 

Thanks. 
Comment 3 Martin Entlicher 2009-02-10 22:18:19 UTC
Code templates and reformatting have nothing to do with debugger.
Comment 4 Filip Zamboj 2009-02-11 14:45:06 UTC
that happends in expr. evaluator ... that's why I assign here ... but anyway, you know better ... 
Comment 5 Rastislav Komara 2009-02-16 10:45:11 UTC
.
Comment 6 Jiri Prox 2009-02-18 16:39:17 UTC
Build: NetBeans IDE Dev (Build 200902172055)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Linux, 2.6.24-23-generic, i386

User Comments: 
AE when using code template in Code Templates dialog

Steps to reproduce:
1) open Options -> Editor -> Code Template
2) put caret in Expanded Text
3) type 'pu' and press tab

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.java.source.JavaFileFilterQuery.getFilter(JavaFileFilterQuery.java:60)
        at org.netbeans.modules.java.source.parsing.JavacParser.<init>(JavacParser.java:223)
        at org.netbeans.modules.java.source.parsing.JavacParserFactory.createPrivateParser(JavacParserFactory.java:75)
        at org.netbeans.api.java.source.JavaSource$JavaSourceAccessorImpl.createCompilationController(JavaSource.java:742)
        at org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:96)
        at org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:504)
Comment 7 Jiri Prox 2009-02-18 16:39:21 UTC
Created attachment 77114 [details]
stacktrace
Comment 8 David Strupl 2009-03-31 15:59:56 UTC
Resolving all issues with milestone "future" as LATER. If you feel strongly that
it should be implemented please reopen and set the target milestone to "next".
Comment 9 Quality Engineering 2009-11-02 11:02:23 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX