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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists