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 135607

Summary: NullPointerException at org.netbeans.modules.visualweb.designer.markup.RaveDocumentBuilderFactory.createDocumentBuilder
Product: obsolete Reporter: jbsabmello <jbsabmello>
Component: visualwebAssignee: issues@obsolete <issues>
Status: CLOSED WONTFIX    
Severity: blocker CC: abdulvahidu, acestars, ahildoer, andrewmichael, asmotrich, avz, berndwilly, boucherit, daddy_jorge, davti, dbotterill, deyringer, dougpct, dvader666, emiddio, fedesaravia, fgabriel, flotho, fvorraro, gftellez, gncelectronic, hcastro, intisand, italeb, javier1822, jdayton, jeanjacques2001, jonathanvilalopez, juergengruber, kendavis416, kotetsu, Lenter, marius_fc, mohhmekk, nerdknight, pncblessed, punxs, r41h4n, rarputham, ravilan, rdelaplante, richardmijo, robsonrey, rogerappl, rsaravanakumar, shpimenta, soyneto, sternix, townray, ublanco, vagnermontenegro, valexiscg, vanderlylm, wangcll, wangjingfirst, wdpimenta
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=57248
Issue Type: DEFECT Exception Reporter: 57248
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description jbsabmello 2008-05-22 14:26:57 UTC
Build: NetBeans IDE Dev (Build 200805200004)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12
OS: Windows XP, 5.1, x86

User Comments:
Comment 1 jbsabmello 2008-05-22 14:27:03 UTC
Created attachment 61763 [details]
stacktrace
Comment 2 Peter Zavadsky 2008-05-27 18:43:50 UTC
There should be FactoryConfigurationError occurred before. Please, attach it too (or the entire log file).
Thanks.
Comment 3 Peter Zavadsky 2008-06-06 23:36:46 UTC
There is no response for some time.
I suspect that this issue was caused by some of the project classloader issues, which are supposed to be resolved.

If it occurs again, please, reopen and attach entire log file. Thanks.
Comment 4 thompsonwd40 2008-08-24 05:34:27 UTC
[65cat] I am at a work stoppage.  I cannot open a Visual JSF page without receiving some kind of error.  See also
http://www.netbeans.org/issues/show_bug.cgi?id=144940
Comment 5 Peter Zavadsky 2008-08-27 18:10:26 UTC
Hi Thompson, Could you, please, attach the log file with the errors? Thanks
Comment 6 Peter Zavadsky 2008-08-28 19:50:41 UTC
Jbsambmello, please, could you provide the log file, which would provide more info?
You can find it in <userdir>/log/var/messages.log.
Thanks
Comment 7 Peter Zavadsky 2008-09-03 18:22:34 UTC
There was an other issue (of similar effect), which said that this was caused by usage of iReport plugin (probably
installing its own DocumentBuilder, thus breaking this one).
Please, reopen it it is otherwise. Thanks.
Comment 8 frm 2008-10-05 04:44:02 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200810040600)
Comment 9 Peter Zavadsky 2008-10-06 18:40:10 UTC
Hi, I can't reproduce this with clean build.
As stated in similar issues before. This problem was caused by iReport plugin (do you have it installed?), namely by the
fact that it provides apache DOM document classes. However those classes are also provided by dedicated NB module. In
that case, warning is printed into log file (therefore I asked for it), and not such classes are loaded (which leads to
this problem).
Please, examine that, or provide the log file, so we could have that checked. Thanks.
Comment 10 marius_fc 2008-10-07 11:32:44 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b14
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at org.netbeans.modules.visualweb.insync.ModelSet.createInstance(ModelSet.java:269)
        at org.netbeans.modules.visualweb.insync.ModelSet.getInstance(ModelSet.java:250)
        at org.netbeans.modules.visualweb.insync.ModelSet$1.run(ModelSet.java:217)
        at java.lang.Thread.run(Thread.java:619)
Comment 11 marius_fc 2008-10-07 11:32:49 UTC
Created attachment 71274 [details]
stacktrace
Comment 12 rogerappl 2008-11-03 04:54:15 UTC
I have spent some time looking at this and going through the logs - I did have the ireport module loaded and all 
things pointed to this - along with this error I started getting an IllegalState error - this was caused by 
Jasperreport.properties being called from the default module.  After I unloaded the iReports - everything has gone 
fine and I have not had any errors.  (iReports did not work correctly to start with)
Comment 13 Peter Zavadsky 2008-11-07 18:20:39 UTC
OK, so confirmend it is the issue with ireport plugin, passing there.
Comment 14 mohhmekk 2009-01-03 01:31:23 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Linux, 2.6.27-9-generic, i386

User Comments: 


Stacktrace: 
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at org.netbeans.modules.visualweb.insync.ModelSet.createInstance(ModelSet.java:269)
        at org.netbeans.modules.visualweb.insync.ModelSet.getInstance(ModelSet.java:250)
        at org.netbeans.modules.visualweb.insync.ModelSet$1.run(ModelSet.java:217)
        at java.lang.Thread.run(Thread.java:619)
Comment 15 mohhmekk 2009-01-03 01:31:31 UTC
Created attachment 75417 [details]
stacktrace
Comment 16 townray 2009-01-09 10:33:12 UTC
I turn off the plugin ireport and everything's back to normal.
Comment 17 Exceptions Reporter 2009-02-27 03:47:29 UTC
This issue has already 100 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=57248
Comment 18 Exceptions Reporter 2009-07-08 11:51:55 UTC
This issue already has 250 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=57248
Comment 19 Exceptions Reporter 2009-07-09 07:05:09 UTC
This issue already has 251 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=57248
Comment 20 rdelaplante 2009-08-07 16:20:28 UTC
Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows Vista, 6.0, x86

User Comments: 
From the projects tree node I found a .java file that is a backing bean for a Visual Web page.  I double clicked it and the visual web editor opened with the Java tab/view, and this exception. 

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.visualweb.designer.markup.RaveDocumentBuilderFactory.createDocumentBuilder(RaveDocumentBuilderFactory.java:146)
        at org.netbeans.modules.visualweb.designer.markup.RaveDocumentBuilderFactory.newDocumentBuilder(RaveDocumentBuilderFactory.java:127)
        at org.netbeans.modules.visualweb.designer.markup.MarkupServiceImpl.createRaveSourceDocumentBuilder(MarkupServiceImpl.java:338)
        at org.netbeans.modules.visualweb.api.designer.markup.MarkupService.createRaveSourceDocumentBuilder(MarkupService.java:235)
        at org.netbeans.modules.visualweb.insync.markup.MarkupUnit.parseDom(MarkupUnit.java:348)
        at org.netbeans.modules.visualweb.insync.markup.MarkupUnit.read(MarkupUnit.java:502)
Comment 21 rdelaplante 2009-08-07 16:20:36 UTC
Created attachment 85977 [details]
stacktrace
Comment 22 Exceptions Reporter 2009-08-20 04:09:22 UTC
This issue already has 300 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=57248
Comment 23 Marian Mirilovic 2009-09-08 21:47:55 UTC
*** Issue 144938 has been marked as a duplicate of this issue. ***
Comment 24 Exceptions Reporter 2009-09-10 16:18:09 UTC
This issue already has 553 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=57248
Comment 25 acestars 2009-10-09 04:50:52 UTC
This issue was originally marked as duplicate of issue 130683, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments: 
import existing project

Stacktrace: 
java.lang.IllegalArgumentException: D:\Workspace\Netbean\ILOS\web / D:\Workspace\Netbean\ILOS\WebContent\kreditmenengah\kunjunganUsahaEdit.jsp
        at org.netbeans.modules.web.jspparser.ContextUtil.findRelativePath(ContextUtil.java:103)
        at org.netbeans.modules.web.jspparser.ContextUtil.findRelativeContextPath(ContextUtil.java:121)
        at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport.getJSPUri(WebAppParseSupport.java:455)
        at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport.createCompilationContext(WebAppParseSupport.java:422)
        at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport.getJspOpenInfo(WebAppParseSupport.java:242)
        at org.netbeans.modules.web.jspparser.JspParserImpl.getJspOpenInfo(JspParserImpl.java:180)
Comment 26 acestars 2009-10-09 04:51:02 UTC
Created attachment 89155 [details]
stacktrace
Comment 27 Exceptions Reporter 2009-11-11 17:33:09 UTC
This issue already has 652 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=57248
Comment 28 Exceptions Reporter 2010-03-31 23:21:06 UTC
This bug already has 700 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=57248
Comment 29 Jan Chalupa 2011-11-28 09:03:17 UTC
Obsolete issue. Closing.
Comment 30 Marian Mirilovic 2011-11-28 11:37:42 UTC
v/c