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

Summary: 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
Product: web Reporter: Vladimir Riha <vriha>
Component: CSS Visual ToolsAssignee: Jan Stola <jstola>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 210731
Attachments: stacktrace

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