Details
-
Sub-task
-
Resolution: Done
-
Major
-
xCM 6.0
-
None
Description
60 r 26547
When I select my single cron entry (see parent issue), I see that I can delete it.
1/ I shouldn't be able to delete a cron job, if I want to stop it, I should do it from admin center
2/ As mentioned in parent issue, this entrie is an executed job, I should be able to delete only waiting jobs
3/ When I click, I get the following exception:
<Apr 22, 2009 7:58:42 PM CEST> <Error> <ServletContext-> <BEA-000000> <Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract void org.jahia.ajax.gwt.client.service.process.ProcessDisplayService.deleteJob(org.jahia.ajax.gwt.client.data.GWTJahiaProcessJob)' threw an unexpected exception: java.lang.NullPointerException
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
Truncated. see log file for complete stacktrace
java.lang.NullPointerException
at org.jahia.ajax.gwt.engines.pdisplay.server.ProcessDisplayServiceImpl.deleteJob(ProcessDisplayServiceImpl.java:339)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
Truncated. see log file for complete stacktrace