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 245725 - AssertionError: The 'rule' and 'declaration' arguments are not elements of the same model instance! Rule(model=Model:69, snapshot#=672348259, file=jquery.mobile-1.0.1.min.css, document#=1033868158, sa
Summary: AssertionError: The 'rule' and 'declaration' arguments are not elements of th...
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 8.0
Hardware: All All
: P4 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-16 12:40 UTC by Vladimir Riha
Modified: 2014-10-06 13:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 210731


Attachments
stacktrace (9.79 KB, text/plain)
2014-07-16 12:40 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-07-16 12:40:45 UTC
Build: NetBeans IDE Dev (Build 201407160001)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_65-b17
OS: Mac OS X

User Comments:
vriha: Trying to add css property in Cordova application running in iOS Simulator




Stacktrace: 
java.lang.AssertionError: The 'rule' and 'declaration' arguments are not elements of the same model instance! Rule(model=Model:69, snapshot#=672348259, file=jquery.mobile-1.0.1.min.css, document#=1033868158, saved=false,sihc=98238499,type=source[ofs=26572-26807;line=4-5]).getModel()=Model:69, snapshot#=672348259, file=jquery.mobile-1.0.1.min.css, document#=1033868158, saved=false, PropertyDeclarationI(color:azure!).getModel()=Model:67, snapshot#=1827011797, file=jquery.mobile-1.0.1.min.css, document#=1033868158, saved=true
   at org.netbeans.modules.css.visual.PropertyUtils.getDeclarationId(PropertyUtils.java:119)
   at org.netbeans.modules.css.visual.RuleEditorNode.createDeclarationProperty(RuleEditorNode.java:737)
   at org.netbeans.modules.css.visual.RuleEditorNode.access$400(RuleEditorNode.java:110)
   at org.netbeans.modules.css.visual.RuleEditorNode$PropertyCategoryPropertySet.add(RuleEditorNode.java:575)
   at org.netbeans.modules.css.visual.RuleEditorNode.createPropertySetsInfo(RuleEditorNode.java:416)
   at org.netbeans.modules.css.visual.RuleEditorNode.fireContextChanged(RuleEditorNode.java:175)
Comment 1 Vladimir Riha 2014-07-16 12:40:47 UTC
Created attachment 148083 [details]
stacktrace