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 151377 - CCE on XIncludeAwareParserConfiguration, NPE from CssEngineServiceImpl.getBackgroundImageUrlForElement
Summary: CCE on XIncludeAwareParserConfiguration, NPE from CssEngineServiceImpl.getBac...
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@third-party
URL:
Keywords:
: 151582 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-25 22:24 UTC by pedroemilio
Modified: 2009-05-04 10:55 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Message log (224.14 KB, text/plain)
2008-10-25 22:25 UTC, pedroemilio
Details
stacktrace (2.77 KB, text/plain)
2008-11-17 14:57 UTC, Maksim Khramov
Details
stacktrace (4.60 KB, text/plain)
2008-11-30 19:33 UTC, ecivil
Details
stacktrace (380 bytes, text/plain)
2008-11-30 19:35 UTC, ecivil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pedroemilio 2008-10-25 22:24:14 UTC
To push button by visual editor, it not work. The error is ava.lang.NullPointerException exception has occurred
Comment 1 pedroemilio 2008-10-25 22:25:47 UTC
Created attachment 72656 [details]
Message log
Comment 2 Peter Zavadsky 2008-10-27 16:37:25 UTC
The first exception is:
java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to
org.apache.xerces.xni.parser.XMLParserConfiguration

It seems that there is another version of apache impl, clashing with the standard one providing by NB ide. Investigating.
Comment 3 Peter Zavadsky 2008-10-27 17:25:13 UTC
This belongs to ireport. It clashes with NB module which provides the apache parser impl. Passing there.

As a workaround to use the VisualWeb: disable the ireport module (and restart).
Comment 4 Jesse Glick 2008-10-27 19:07:02 UTC
Petr: please never assign a bug to issues@contrib; that is not a real owner. Anyway this component should be used only
for modules hosted on nb.org, which does not appear to be the case here.
Comment 5 Peter Zavadsky 2008-10-27 19:43:56 UTC
Thanks, I didn't know about the 3rd-party component.
Comment 6 Peter Zavadsky 2008-10-28 20:33:57 UTC
*** Issue 151582 has been marked as a duplicate of this issue. ***
Comment 7 Maksim Khramov 2008-11-17 14:57:42 UTC
Build: NetBeans IDE 6.1 (Build 200805300101)
VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.visualweb.designer.cssengine.CssEngineServiceImpl.getBackgroundImageUrlForElement(CssEngineServiceImpl.java:1069)
        at org.netbeans.modules.visualweb.css.CssBox.initializeBackgroundImage(CssBox.java:485)
        at org.netbeans.modules.visualweb.css.CssBox.initializeBackground(CssBox.java:462)
        at org.netbeans.modules.visualweb.css.ContainerBox.initializeBackground(ContainerBox.java:150)
        at org.netbeans.modules.visualweb.css.PageBox.initializeBackground(PageBox.java:1155)
        at org.netbeans.modules.visualweb.css.CssBox.initializeInvariants(CssBox.java:309)
Comment 8 Maksim Khramov 2008-11-17 14:57:46 UTC
Created attachment 73829 [details]
stacktrace
Comment 9 Exceptions Reporter 2008-11-25 10:59:26 UTC
This issue has already 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=133455
Comment 10 ecivil 2008-11-30 19:33:26 UTC
Build: NetBeans IDE 6.1 (Build 200804211638)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105, Java(TM) SE Runtime Environment, 1.6.0-b105
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.visualweb.designer.cssengine.CssEngineServiceImpl.getBackgroundImageUrlForElement(CssEngineServiceImpl.java:1069)
        at org.netbeans.modules.visualweb.css.CssBox.initializeBackgroundImage(CssBox.java:485)
        at org.netbeans.modules.visualweb.css.CssBox.initializeBackground(CssBox.java:462)
        at org.netbeans.modules.visualweb.css.ContainerBox.initializeBackground(ContainerBox.java:150)
        at org.netbeans.modules.visualweb.css.PageBox.initializeBackground(PageBox.java:1155)
        at org.netbeans.modules.visualweb.css.CssBox.initializeInvariants(CssBox.java:309)
Comment 11 ecivil 2008-11-30 19:33:31 UTC
Created attachment 74319 [details]
stacktrace
Comment 12 ecivil 2008-11-30 19:35:26 UTC
Build: NetBeans IDE 6.1 (Build 200804211638)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105, Java(TM) SE Runtime Environment, 1.6.0-b105
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.IllegalStateException: [Winsys] TopComponent org.netbeans.core.multiview.MultiViewCloneableTopComponent throws runtime exception from its componentShowing() method.
Please repair it! Probable cause is at org.netbeans.modules.visualweb.designer.cssengine.CssEngineServiceImpl.getBackgroundImageUrlForElement(CssEngineServiceImpl.java:1069)
Comment 13 ecivil 2008-11-30 19:35:37 UTC
Created attachment 74320 [details]
stacktrace