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 230281

Summary: java.util.MissingResourceException: Can't find resource for bundle com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMessages, key Property 'http://javax.xml.XMLConstants/property/accessExter
Product: platform Reporter: szmitek <szmitek>
Component: JDK ProblemsAssignee: Antonin Nebuzelsky <anebuzelsky>
Status: RESOLVED WONTFIX    
Severity: normal CC: jlahoda, MackSix, Sam.MIT, sreimers, svanimpe, szmitek, tentamen
Priority: P3 Keywords: JDK_8
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 200917
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description szmitek 2013-05-26 11:31:26 UTC
Build: NetBeans IDE Dev (Build 201305252300)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b33, Java(TM) SE Runtime Environment, 1.8.0-ea-b91
OS: Linux

User Comments:
szmitek: Open Netbeans project directory as (Java) project

GUEST: 1) Click Open Project
2) Select Project (this is a JavaFX project)
3) Click Open




Stacktrace: 
java.util.MissingResourceException: Can't find resource for bundle com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMessages, key Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
   at java.util.ResourceBundle.getObject(ResourceBundle.java:425)
   at java.util.ResourceBundle.getString(ResourceBundle.java:382)
   at com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg.getErrorMessage(ErrorMsg.java:311)
   at com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg.toString(ErrorMsg.java:283)
   at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:933)
   at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:707)
Comment 1 szmitek 2013-05-26 11:31:28 UTC
Created attachment 134910 [details]
stacktrace
Comment 2 szmitek 2013-05-26 12:04:14 UTC
Created attachment 134913 [details]
stacktrace

I cannot create and open Java projects
Comment 3 szmitek 2013-05-26 15:16:14 UTC
Created attachment 134917 [details]
stacktrace

After restart with importing Netbeans settings.
Comment 4 Exceptions Reporter 2013-05-26 15:16:17 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=200917
Comment 5 Milos Kleint 2013-05-26 15:30:54 UTC
most likely jdk 1.8 specific
Comment 6 Exceptions Reporter 2013-05-27 09:04:14 UTC
Created attachment 134936 [details]
stacktrace

Created new project
Comment 7 Jan Lahoda 2013-05-27 15:57:54 UTC
I believe this particular one is a clear JDK bug. I hope I'll be able to create a standalone reproducible testcase and report.
Comment 8 Jan Lahoda 2013-05-27 15:58:15 UTC
Created attachment 134960 [details]
stacktrace

Creating a new J2SE Project on JDK8b91.
Comment 9 svanimpe 2013-05-27 16:07:51 UTC
This seems to be related to the JDK that is used to run NetBeans. I had this problem when installing JDK8 b91 because on my Mac, NetBeans uses the latest JDK by default. If I explicitly tell NetBeans to run on b90 or b89 (through netbeans.conf), this error disappears. I have no problem using b91 for my projects, as long as NetBeans itself is run on an earlier version.
Comment 10 Antonin Nebuzelsky 2013-05-29 13:28:28 UTC
Closing as wontfix on our side. JDK bug #8015487.
Comment 11 Milos Kleint 2013-06-14 06:05:02 UTC
*** Bug 230421 has been marked as a duplicate of this bug. ***
Comment 12 Milos Kleint 2013-06-27 12:27:54 UTC
*** Bug 230462 has been marked as a duplicate of this bug. ***
Comment 13 MackSix 2013-08-24 23:54:14 UTC
This was fixed in JDK7u40 b30 according to:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8016421

It works from the command line with JDK7u40 b40 but will not work for me when NetBeans is running on a later version 

I am perplexed why I am having this problem with NetBeans if it was fixed and works from the command line?

It does work running NetBeans on JDK8 b102 just fine.