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 127640

Summary: IllegalStateException: Error in source for css properties model.
Product: web Reporter: Jindrich Sedek <jsedek>
Component: CSS Visual ToolsAssignee: Marek Fukala <mfukala>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: Sun   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=28301
Issue Type: DEFECT Exception Reporter: 28301

Description Jindrich Sedek 2008-02-18 14:59:22 UTC
open empty CSS file and ISE is thrown



Build: NetBeans IDE Dev (Build 080218)
VM: Java HotSpot(TM) Client VM, 1.6.0_10-ea-b07
OS: SunOS, 5.11, x86
User comments: [web/css visuale]

STACKTRACE: (first 10 lines)
java.lang.IllegalStateException: Error in source for css properties model.
        at org.netbeans.modules.css2.editor.PropertyModel.parseSource(PropertyModel.java:125)
        at org.netbeans.modules.css2.editor.PropertyModel.<init>(PropertyModel.java:69)
        at org.netbeans.modules.css2.editor.PropertyModel.instance(PropertyModel.java:63)
        at org.netbeans.modules.css2.gsf.CssAnalyser.checkForErrors(CssAnalyser.java:71)
        at org.netbeans.modules.css2.gsf.CSSGSFParser.parseFiles(CSSGSFParser.java:131)
        at org.netbeans.napi.gsfret.source.Source.moveToPhase(Source.java:893)
        at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1206)
        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)
Comment 1 Marek Fukala 2008-02-19 09:10:25 UTC
already fixed in javascript2 repo
Comment 2 Jindrich Sedek 2008-03-03 16:45:13 UTC
verified.
NetBeans IDE 6.1 Beta (Build 200803031027)