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 191406

Summary: NoClassDefFoundError: org/netbeans/modules/cnd/makefile/lexer/MakefileTokenId
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: -- Other --Assignee: Vladimir Voskresensky <vv159170>
Status: RESOLVED FIXED    
Severity: normal CC: gorrus, rmartins
Priority: P2 Keywords: REGRESSION
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 173380
Attachments: stacktrace

Description Alexander Simon 2010-10-27 13:18:38 UTC
This issue was reported manually by alexvsimon.
It already has 6 duplicates 


Build: NetBeans IDE Dev (Build 101027-7cf0568deb24)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: SunOS

User Comments:
gorrus: opened sh file in the editor

GUEST: Just open a Makefile in C project




Stacktrace: 
java.lang.NoClassDefFoundError: org/netbeans/modules/cnd/makefile/lexer/MakefileTokenId
   at org.netbeans.modules.cnd.spellchecker.bindings.ScriptAndMakeTokenList.findNextComment(ScriptAndMakeTokenList.java:105)
   at org.netbeans.modules.cnd.spellchecker.bindings.ScriptAndMakeTokenList.nextWordImpl(ScriptAndMakeTokenList.java:132)
   at org.netbeans.modules.cnd.spellchecker.bindings.ScriptAndMakeTokenList.nextWord(ScriptAndMakeTokenList.java:94)
   at org.netbeans.modules.spellchecker.spi.language.support.MultiTokenList$MultiTokenListImpl.setStartOffset(MultiTokenList.java:86)
   at org.netbeans.modules.spellchecker.ComponentPeer$4.run(ComponentPeer.java:301)
   at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1420)
Comment 1 Alexander Simon 2010-10-27 13:18:43 UTC
Created attachment 102681 [details]
stacktrace
Comment 2 Alexander Simon 2010-10-27 13:22:36 UTC
Cannot edit .bat file
Comment 3 Vladimir Voskresensky 2010-10-27 13:59:58 UTC
fixed:
- move token IDs into api package to be accessible 
http://hg.netbeans.org/cnd-main?cmd=changeset;node=32f091133fed