Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core] Error in scheduler when removing adaptor #170

Open
luis100 opened this issue Jan 9, 2013 · 0 comments
Open

[Core] Error in scheduler when removing adaptor #170

luis100 opened this issue Jan 9, 2013 · 0 comments
Assignees
Labels
Milestone

Comments

@luis100
Copy link
Member

luis100 commented Jan 9, 2013

When an adaptor is removed in the adminstration page, an null pointer exception occurs in scheduler.

15:37:04,418 INFO  [eu.scape_project.watch.adaptor.AdaptorManager] (http-localhost-127.0.0.1-8080-1) Shutting down plugin: c3po-0.0.5
15:37:04,419 ERROR [eu.scape_project.watch.web.TemplateService] (http-localhost-127.0.0.1-8080-1) Error invoking mustache controller method: boolean eu.scape_project.watch.web.Administration.redirectPostData() throws java.io.IOException: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_10]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_10]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_10]
    at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_10]
    at eu.scape_project.watch.web.TemplateService.execute(TemplateService.java:200) [classes:]
    at eu.scape_project.watch.web.TemplateService.service(TemplateService.java:111) [classes:]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
    at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_10]
Caused by: java.lang.NullPointerException
    at eu.scape_project.watch.scheduling.quartz.QuartzAdaptorCache.getAdaptorJobKey(QuartzAdaptorCache.java:41) [scout-core-0.1.0.jar:]
    at eu.scape_project.watch.scheduling.quartz.QuartzScheduler.stopAdaptor(QuartzScheduler.java:172) [scout-core-0.1.0.jar:]
    at eu.scape_project.watch.main.ScoutManager$2.onRemoved(ScoutManager.java:171) [scout-core-0.1.0.jar:]
    at eu.scape_project.watch.main.ScoutManager$2.onRemoved(ScoutManager.java:1) [scout-core-0.1.0.jar:]
    at eu.scape_project.watch.dao.DAO.fireOnRemoved(DAO.java:183) [scout-model-0.1.0.jar:]
    at eu.scape_project.watch.domain.SourceAdaptor.delete(SourceAdaptor.java:380) [scout-model-0.1.0.jar:]
    at eu.scape_project.watch.dao.AbstractDO.delete(AbstractDO.java:221) [scout-model-0.1.0.jar:]
    at eu.scape_project.watch.dao.SourceAdaptorDAO.delete(SourceAdaptorDAO.java:232) [scout-model-0.1.0.jar:]
    at eu.scape_project.watch.dao.DAO.delete(DAO.java:260) [scout-model-0.1.0.jar:]
    at eu.scape_project.watch.web.Administration.redirectPostData(Administration.java:67) [classes:]
    ... 20 more
@ghost ghost assigned kduretec Jan 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants