You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "gilbertoca (via GitHub)" <gi...@apache.org> on 2023/06/05 14:04:41 UTC
[GitHub] [netbeans] gilbertoca opened a new issue, #6045: Provider org.apache.xpath.jaxp.XPathFactoryImpl not found
gilbertoca opened a new issue, #6045:
URL: https://github.com/apache/netbeans/issues/6045
### Apache NetBeans version
Apache NetBeans 18
### What happened
Download Netbeans 18 zip file, extracted and run it. It shows me a dialog to import my plugins, marked all of them, restarted. Netbeans started again, it opens, then I wait for the decompress and indexing remote maven repo, then I wait, wait .... 15min, cancel the indexing and restart again. Now it shows me notification with the exception in the tittle:
`java.util.ServiceConfigurationError: javax.xml.xpath.XPathFactory: Provider org.apache.xpath.jaxp.XPathFactoryImpl not found
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:589)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1212)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1221)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator$1.run(ServiceLoader.java:1268)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator$1.run(ServiceLoader.java:1267)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1270)
at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1300)
at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1385)
at java.xml/javax.xml.xpath.XPathFactoryFinder$2.run(XPathFactoryFinder.java:335)
at java.xml/javax.xml.xpath.XPathFactoryFinder$2.run(XPathFactoryFinder.java:331)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.xml/javax.xml.xpath.XPathFactoryFinder.findServiceProvider(XPathFactoryFinder.java:331)
at java.xml/javax.xml.xpath.XPathFactoryFinder._newFactory(XPathFactoryFinder.java:212)
at java.xml/javax.xml.xpath.XPathFactoryFinder.newFactory(XPathFactoryFinder.java:137)
at java.xml/javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:223)
at java.xml/javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:113)
at org.netbeans.modules.ide.ergonomics.fod.FeatureInfo.isProject(FeatureInfo.java:182)
at org.netbeans.modules.ide.ergonomics.fod.FeatureProjectFactory.checkProjects(FeatureProjectFactory.java:301)
at org.netbeans.modules.ide.ergonomics.fod.FeatureProjectFactory.run(FeatureProjectFactory.java:292)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1419)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2034)
--------------- linked to ------------------
javax.xml.xpath.XPathFactoryConfigurationException: java.util.ServiceConfigurationError: javax.xml.xpath.XPathFactory: Provider org.apache.xpath.jaxp.XPathFactoryImpl not found
at java.xml/javax.xml.xpath.XPathFactoryFinder.findServiceProvider(XPathFactoryFinder.java:346)
at java.xml/javax.xml.xpath.XPathFactoryFinder._newFactory(XPathFactoryFinder.java:212)
at java.xml/javax.xml.xpath.XPathFactoryFinder.newFactory(XPathFactoryFinder.java:137)
at java.xml/javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:223)
at java.xml/javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:113)
at org.netbeans.modules.ide.ergonomics.fod.FeatureInfo.isProject(FeatureInfo.java:182)
at org.netbeans.modules.ide.ergonomics.fod.FeatureProjectFactory.checkProjects(FeatureProjectFactory.java:301)
at org.netbeans.modules.ide.ergonomics.fod.FeatureProjectFactory.run(FeatureProjectFactory.java:292)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1419)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2034)
Caused by: java.util.ServiceConfigurationError: javax.xml.xpath.XPathFactory: Provider org.apache.xpath.jaxp.XPathFactoryImpl not found
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:589)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1212)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1221)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator$1.run(ServiceLoader.java:1268)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator$1.run(ServiceLoader.java:1267)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1270)
at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1300)
at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1385)
at java.xml/javax.xml.xpath.XPathFactoryFinder$2.run(XPathFactoryFinder.java:335)
at java.xml/javax.xml.xpath.XPathFactoryFinder$2.run(XPathFactoryFinder.java:331)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.xml/javax.xml.xpath.XPathFactoryFinder.findServiceProvider(XPathFactoryFinder.java:331)
... 11 more
Caused: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: java.util.ServiceConfigurationError: javax.xml.xpath.XPathFactory: Provider org.apache.xpath.jaxp.XPathFactoryImpl not found
at java.xml/javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:119)
at org.netbeans.modules.ide.ergonomics.fod.FeatureInfo.isProject(FeatureInfo.java:182)
at org.netbeans.modules.ide.ergonomics.fod.FeatureProjectFactory.checkProjects(FeatureProjectFactory.java:301)
at org.netbeans.modules.ide.ergonomics.fod.FeatureProjectFactory.run(FeatureProjectFactory.java:292)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1419)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2034)
`


### How to reproduce
_No response_
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
OpenSUSE 15.4
### JDK
openjdk version "11.0.19" 2023-04-18
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
_No response_
### Are you willing to submit a pull request?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] matthiasblaesing commented on issue #6045: Provider org.apache.xpath.jaxp.XPathFactoryImpl not found
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #6045:
URL: https://github.com/apache/netbeans/issues/6045#issuecomment-1604891146
Thank you for the check @gilbertoca. I released a new version of the plantuml plugin, which does not bundle Xalan anymore. I fact an update of batik dropped it, so there was not even an override necessary:
https://plugins.netbeans.apache.org/catalogue/?id=58
I assume, that verification will be done in the next few days. Meanwhile you can download the new version manually. Closing this here, as the issue is not in NetBeans.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] matthiasblaesing commented on issue #6045: Provider org.apache.xpath.jaxp.XPathFactoryImpl not found
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #6045:
URL: https://github.com/apache/netbeans/issues/6045#issuecomment-1591744993
Ah - sorry. Overlooked. This looks suspicious:
> WARNING [org.netbeans.ProxyClassLoader]: Will not load class org.apache.xpath.jaxp.XPathFactoryImpl arbitrarily from one of ModuleCL@67592d78[org.netbeans.modules.plantumlnb] and ModuleCL@44719cf2[io.github.moacirrf.netbeans.markdown] starting from SystemClassLoader[728 modules]; see http://wiki.netbeans.org/DevFaqModuleCCE
I checked both referenced plugins:
- NetBeans PlantUML: https://github.com/matthiasblaesing/plantuml-nb
- NetBeans markdown: https://github.com/moacirrf/netbeans-markdown
and found xalan in both cases in the `NBM`. According to:
https://issues.apache.org/jira/browse/BATIK-1329
xalan is not required for batik and indeed a quick test showed, that the PlantUML Plugin continues to work without it.
Could you please remove the file `$HOME/.netbeans/dev/modules/ext/org.netbeans.modules.plantumlnb/1/xalan/xalan.jar` and see if that fixes the issue for you? That is the Xalan dependency installed by the PlantUML plugin.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] matthiasblaesing commented on issue #6045: Provider org.apache.xpath.jaxp.XPathFactoryImpl not found
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #6045:
URL: https://github.com/apache/netbeans/issues/6045#issuecomment-1577125798
Please show the full `messages.log` for the run.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] gilbertoca commented on issue #6045: Provider org.apache.xpath.jaxp.XPathFactoryImpl not found
Posted by "gilbertoca (via GitHub)" <gi...@apache.org>.
gilbertoca commented on issue #6045:
URL: https://github.com/apache/netbeans/issues/6045#issuecomment-1591667215
@matthiasblaesing I've upload the messages.log file
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] gilbertoca commented on issue #6045: Provider org.apache.xpath.jaxp.XPathFactoryImpl not found
Posted by "gilbertoca (via GitHub)" <gi...@apache.org>.
gilbertoca commented on issue #6045:
URL: https://github.com/apache/netbeans/issues/6045#issuecomment-1591932854
It seems to work, no more exception:

I will upload the messages.log here, so you my need some information about that plugins:
[messages.log](https://github.com/apache/netbeans/files/11750263/messages.log)
Thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] matthiasblaesing closed issue #6045: Provider org.apache.xpath.jaxp.XPathFactoryImpl not found
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing closed issue #6045: Provider org.apache.xpath.jaxp.XPathFactoryImpl not found
URL: https://github.com/apache/netbeans/issues/6045
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists