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 - IllegalStateException: Error in source for css properties model.
Summary: IllegalStateException: Error in source for css properties model.
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Marek Fukala
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-18 14:59 UTC by Jindrich Sedek
Modified: 2008-04-28 13:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 28301


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)