Error from FELIX framework

16 views
Skip to first unread message

dewang....@gmail.com

unread,
Aug 13, 2014, 5:27:25 PM8/13/14
to dot...@googlegroups.com
Hi,

We are seeing this error every minute on our instance. We are running community edition. This happens when we have OSGI Job plugin deployed and we click on "Restart Framework" on the dynamic plugin page. We see this following error :- 

[13/08/14 21:21:00:074 UTC] ERROR business.PublisherQueueJob:
java.lang.NullPointerException
        at org.apache.felix.framework.BundleRevisionImpl.getResourcesLocal(BundleRevisionImpl.java:533)
        at org.apache.felix.framework.BundleWiringImpl.findResourcesByDelegation(BundleWiringImpl.java:1173)
        at org.apache.felix.framework.BundleWiringImpl.getResourcesByDelegation(BundleWiringImpl.java:1083)
        at org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5.getResources(BundleWiringImpl.java:1870)
        at com.dotmarketing.osgi.CombinedLoader.getResources(CombinedLoader.java:112)
        at com.sun.jersey.spi.service.ServiceFinder.getResources(ServiceFinder.java:352)
        at com.sun.jersey.spi.service.ServiceFinder.access$200(ServiceFinder.java:159)
        at com.sun.jersey.spi.service.ServiceFinder$AbstractLazyIterator.setConfigs(ServiceFinder.java:720)
        at com.sun.jersey.spi.service.ServiceFinder$AbstractLazyIterator.hasNext(ServiceFinder.java:732)
        at com.sun.jersey.spi.service.ServiceFinder.toClassArray(ServiceFinder.java:595)
        at com.sun.jersey.api.client.Client.init(Client.java:213)
        at com.sun.jersey.api.client.Client.access$000(Client.java:118)
        at com.sun.jersey.api.client.Client$1.f(Client.java:191)
        at com.sun.jersey.api.client.Client$1.f(Client.java:187)
        at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193)
        at com.sun.jersey.api.client.Client.<init>(Client.java:187)
        at com.sun.jersey.api.client.Client.<init>(Client.java:170)
        at com.sun.jersey.api.client.Client.create(Client.java:679)
        at com.dotcms.publisher.business.PublisherQueueJob.updateAuditStatus(PublisherQueueJob.java:176)
        at com.dotcms.publisher.business.PublisherQueueJob.execute(PublisherQueueJob.java:64)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)


Regards,
Dewang

Jason Tesser

unread,
Aug 14, 2014, 7:40:21 AM8/14/14
to dot...@googlegroups.com
i am not sure what it is but something is wrong with your quartz job and the classes it is trying to use in the plugin 


--
You received this message because you are subscribed to the Google Groups "Dotcms User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
Visit this group at http://groups.google.com/group/dotcms.
For more options, visit https://groups.google.com/d/optout.



--

3250 Mary Street
Suite 405
Miami, FL 33133
Main: 
305-900-2001 | Direct: 305.209.8104

   

Brent Griffin

unread,
Aug 15, 2014, 9:52:28 AM8/15/14
to dot...@googlegroups.com, jason....@dotcms.com
Does this happen without your plugin deployed and you "Restart Framework"?

Very strange stacktrace.  Not sure how this would be related to the OSGi framework unless it has to do with what your plugin is trying to do.

Brent Griffin
Sr. Java Architect
Director of Quality Assurance
dotCMS

Reply all
Reply to author
Forward
0 new messages