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 166161 - NullPointerException at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter$1.run
Summary: NullPointerException at org.netbeans.modules.csl.editor.semantic.SemanticHigh...
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vitezslav Stejskal
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-28 10:59 UTC by Martin Schovanek
Modified: 2009-05-28 17:20 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 151903


Attachments
stacktrace (1.43 KB, text/plain)
2009-05-28 10:59 UTC, Martin Schovanek
Details
stacktrace (1.43 KB, text/plain)
2009-05-28 13:53 UTC, compucoder
Details
stacktrace (1.43 KB, text/plain)
2009-05-28 14:21 UTC, Exceptions Reporter
Details
stacktrace (1.43 KB, text/plain)
2009-05-28 17:17 UTC, laurin1
Details
stacktrace (1.43 KB, text/plain)
2009-05-28 17:18 UTC, laurin1
Details
stacktrace (1.43 KB, text/plain)
2009-05-28 17:20 UTC, laurin1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2009-05-28 10:59:43 UTC
Build: NetBeans IDE Dev (Build 200905280201)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.7, i386

User Comments:
GUEST: Just creat a new Web Project.

mschovanek: Just open a .jsp



Stacktrace: 
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.semantic.SemanticHighlighter.run(SemanticHighlighter.java:129)
        at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter.run(SemanticHighlighter.java:80)
        at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:661)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
Comment 1 Martin Schovanek 2009-05-28 10:59:47 UTC
Created attachment 82900 [details]
stacktrace
Comment 2 Vitezslav Stejskal 2009-05-28 11:17:48 UTC
It looks like a problem with parser registration. Maybe caused by http://hg.netbeans.org/jet-main/rev/d71f5516462b. Not
sure, will have to further investigate.
Comment 3 Martin Schovanek 2009-05-28 11:25:22 UTC
Cannot reproduce in latest RC1.
Comment 4 Exceptions Reporter 2009-05-28 13:48:12 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=151903
Comment 5 compucoder 2009-05-28 13:53:13 UTC
Build: NetBeans IDE Dev (Build 200905280201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments: 
More info - happens everytime the editor window gets or loses focus.

Stacktrace: 
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.semantic.SemanticHighlighter.run(SemanticHighlighter.java:129)
        at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter.run(SemanticHighlighter.java:80)
        at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:661)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
Comment 6 compucoder 2009-05-28 13:53:17 UTC
Created attachment 82909 [details]
stacktrace
Comment 7 Vitezslav Stejskal 2009-05-28 13:56:55 UTC
"Cannot reproduce in latest RC1." - The problem is indeed caused by #d71f5516462b. My bad, I'm sorry. This changeset is
only in trunk and not in release67. So release67 should not suffer from this problem.
Comment 8 Marian Mirilovic 2009-05-28 13:58:32 UTC
so changing version to 6.8 
Comment 9 Exceptions Reporter 2009-05-28 14:21:19 UTC
Build: NetBeans IDE Dev (Build 200905280201)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-b02, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b02
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
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.semantic.SemanticHighlighter.run(SemanticHighlighter.java:129)
        at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter.run(SemanticHighlighter.java:80)
        at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:661)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
Comment 10 Exceptions Reporter 2009-05-28 14:21:41 UTC
Created attachment 82912 [details]
stacktrace
Comment 11 Vitezslav Stejskal 2009-05-28 15:07:04 UTC
Fixed in http://hg.netbeans.org/jet-main/rev/6feb7011f271. I created 6feb7011f271 as a child of d71f5516462b and so it
should easy to just pull the fix to any repo that already has d71f5516462b and is suffering from this problem.
Comment 12 laurin1 2009-05-28 17:17:27 UTC
Build: NetBeans IDE Dev (Build 200905280201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
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.semantic.SemanticHighlighter.run(SemanticHighlighter.java:129)
        at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter.run(SemanticHighlighter.java:80)
        at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:661)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
Comment 13 laurin1 2009-05-28 17:17:40 UTC
Created attachment 82927 [details]
stacktrace
Comment 14 laurin1 2009-05-28 17:18:23 UTC
Build: NetBeans IDE Dev (Build 200905280201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
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.semantic.SemanticHighlighter.run(SemanticHighlighter.java:129)
        at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter.run(SemanticHighlighter.java:80)
        at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:661)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
Comment 15 laurin1 2009-05-28 17:18:34 UTC
Created attachment 82928 [details]
stacktrace
Comment 16 laurin1 2009-05-28 17:20:39 UTC
Build: NetBeans IDE Dev (Build 200905280201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
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.semantic.SemanticHighlighter.run(SemanticHighlighter.java:129)
        at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter.run(SemanticHighlighter.java:80)
        at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:661)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
Comment 17 laurin1 2009-05-28 17:20:51 UTC
Created attachment 82930 [details]
stacktrace