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 239852 - java.util.ServiceConfigurationError: javax.xml.transform.TransformerFactory: Provider net.sf.saxon.TransformerFactoryImpl not found
Summary: java.util.ServiceConfigurationError: javax.xml.transform.TransformerFactory: ...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: issues@web
URL:
Keywords:
: 253680 254379 254414 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-12-29 10:00 UTC by greg3487
Modified: 2015-08-19 09:23 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204639


Attachments
stacktrace (3.36 KB, text/plain)
2013-12-29 10:00 UTC, greg3487
Details

Note You need to log in before you can comment on or make changes to this bug.
Description greg3487 2013-12-29 10:00:40 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b62, Java(TM) SE Runtime Environment, 1.8.0-ea-b120
OS: Windows 8

User Comments:
GUEST: i cant create the new project....... in javafx fxml

GUEST: create app

GUEST: don't now

greg3487: bug

serb: Try open the existed project in Netbeans 7.4 using jdk8b111

GUEST: This problem executando javafx




Stacktrace: 
java.util.ServiceConfigurationError: javax.xml.transform.TransformerFactory: Provider net.sf.saxon.TransformerFactoryImpl not found
   at java.util.ServiceLoader.fail(ServiceLoader.java:239)
   at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
   at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372)
   at java.util.ServiceLoader$LazyIterator.access$700(ServiceLoader.java:323)
   at java.util.ServiceLoader$LazyIterator$2.run(ServiceLoader.java:407)
   at java.security.AccessController.doPrivileged(AccessController.java:0)
Comment 1 greg3487 2013-12-29 10:00:42 UTC
Created attachment 143503 [details]
stacktrace
Comment 2 Milos Kleint 2013-12-30 10:04:01 UTC
likely related to jdk8, issue 152165 could also be related.
Comment 3 Milos Kleint 2014-01-02 09:02:22 UTC
could be just a conincidence but all the reports logged have some custom plugins installed.
Comment 4 Milos Kleint 2014-01-20 08:27:31 UTC
all the reports appear to have this line in common:

WARNING [org.netbeans.ProxyClassLoader]: Will not load class net.sf.saxon.TransformerFactoryImpl arbitrarily from one of ModuleCL@657cb489[org.netbeans.modules.html.validation] and ModuleCL@2062434f[info.gianlucacosta.easypmd.easypmd] starting from SystemClassLoader[897 modules]; see http://wiki.netbeans.org/DevFaqModuleCCE



the problem appears to be caused by interaction between org.netbeans.modules.html.validation module and the easypmd plugin at http://gianlucacosta.info/software/easypmd/

reassigning to html.validation for evaluation
Comment 5 Tomas Mysik 2014-01-20 09:19:05 UTC
(In reply to Milos Kleint from comment #4)
> reassigning to html.validation for evaluation

Incorrectly reassigned so changing...
Comment 6 Exceptions Reporter 2014-03-27 18:00:51 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=204639
Comment 7 twolf2919 2014-03-27 18:21:50 UTC
Since my report was marked as duplicate of this one, I thought I'd point out the cause for my particular issue - since guys on the nbusers mailing list stuck my nose in it :-)  It turned out that EasyPMD (a plugin that didn't seem entirely compatible with NB 8.0 and/or Java 8) was causing the problem.  Once I disabled it, everything worked.

I suggested a future RFE that will bring up an informative error dialog when a plugin fails to start properly - not everyone will be able to decipher (or even know of) the exception in message.log.
Comment 8 giancosta86 2014-04-05 15:17:39 UTC
EasyPmd 4.2 should now fix the compatibility problem with NetBeans 8.
Comment 9 Milutin Kristofic 2015-08-19 09:22:04 UTC
*** Bug 254488 has been marked as a duplicate of this bug. ***
Comment 10 Milutin Kristofic 2015-08-19 09:23:08 UTC
*** Bug 253680 has been marked as a duplicate of this bug. ***
Comment 11 Milutin Kristofic 2015-08-19 09:23:37 UTC
*** Bug 254414 has been marked as a duplicate of this bug. ***
Comment 12 Milutin Kristofic 2015-08-19 09:23:58 UTC
*** Bug 254379 has been marked as a duplicate of this bug. ***