ServiceLoader Action$Factory
See original GitHub issueI’m getting an error when i use it inside an OSGI environment. With an older version its running fine. The error occurs when the runtime is running and when i deactivate and active a bundle (where ical4j is used inside). Stacktrace:
Caused by: java.util.ServiceConfigurationError: net.fortuna.ical4j.model.PropertyFactory: Provider net.fortuna.ical4j.model.property.Action$Factory not a subtype
at java.util.ServiceLoader.fail(ServiceLoader.java:231)
at java.util.ServiceLoader.access$300(ServiceLoader.java:181)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:369)
at java.util.ServiceLoader$1.next(ServiceLoader.java:445)
at net.fortuna.ical4j.model.AbstractContentFactory.getFactory(AbstractContentFactory.java:85)
at net.fortuna.ical4j.model.PropertyFactoryImpl.createProperty(PropertyFactoryImpl.java:78)
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
ServiceLoader (Java Platform SE 8 ) - Oracle Help Center
A simple service-provider loading facility. A service is a well-known set of interfaces and (usually abstract) classes. A service provider is a specific ......
Read more >Automatical updating of `META-INF/services` with annotations ...
It's very easy to forget about updating META-INF/services for ServiceLoader every time HandlerFactory or ActionFactory is created/deleted.
Read more >Source code - JMRI
ServiceLoader ; 008 009import javax.annotation. ... actionFactory : ServiceLoader.load(DigitalActionFactory.class)) { 034 actionFactory.init(); 035 } 036 037 ...
Read more >ActionFactory (SAS Foundation Services) - SAS Support
ServiceLoader · ServiceLookupFailedException · ServiceNotAvailableException ... public class ActionFactory ... ActionFactory. public ActionFactory() ...
Read more >CalDav Binding not working anymore - Bindings - openHAB ...
Action$Factory not a subtype at java.util. ... ServiceLoader$LazyIterator.access$700(ServiceLoader.java:323) ~[?:?] at java.util.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi,
There is a pre-built jar available here:
https://oss.sonatype.org/content/repositories/snapshots/org/mnode/ical4j/ical4j/2.0.0-bugfix-serviceloader-osgi-SNAPSHOT/
If you could let me know if you have success with it that would be appreciated.
Regards, Ben On 29 Apr 2016 7:17 pm, “paphko” notifications@github.com wrote:
Fixed for now, but will probably look at replacing ServiceLoader in future