[MAGNOLIA-583] Move, Copy and Delete commands should alert if there were deactivation issues Created: 20/Oct/05  Updated: 23/Jan/13  Resolved: 27/Oct/05

Status: Closed
Project: Magnolia
Component/s: admininterface
Affects Version/s: 2.1.2
Fix Version/s: 2.1.4, 3.0 Beta 1

Type: Bug Priority: Major
Reporter: Karsten Wintermann Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows XP SP2
Tomcat 5.0.28
J2SDK 1.4.2_05
Jackrabbit/BerkeleyDB


Issue Links:
relation
is related to MAGNOLIA-582 Cannot change node data title from un... Closed
is related to MAGNOLIA-581 Incorrect behavior when creating or m... Closed
is related to MAGNOLIA-565 Change default subscriber port from 8... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

The commands "Move" and "Copy" in the "Config" tree of the Admin-GUI cause a NullPointerException.

The contents of either the affected node or all of "Config" disappear until you select the "Config" tree again at the left hand side of the screen.

The following message is generated in the log:

ERROR info.magnolia.cms.servlets.MVCServletHandlerImpl MVCServletHandlerImpl.java(execute:73) 20.10.2005 11:08:53 can't call command: copy
java.lang.NullPointerException
at info.magnolia.cms.gui.control.Tree.pasteNode(Tree.java:672)
at info.magnolia.module.admininterface.AdminTreeMVCHandler.copyOrMove(AdminTreeMVCHandler.java:218)
at info.magnolia.module.admininterface.AdminTreeMVCHandler.copy(AdminTreeMVCHandler.java:200)
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:324)
at info.magnolia.cms.servlets.MVCServletHandlerImpl.execute(MVCServletHandlerImpl.java:70)
at info.magnolia.cms.servlets.MVCServlet.doGet(MVCServlet.java:108)
at info.magnolia.cms.servlets.MVCServlet.doPost(MVCServlet.java:48)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
at info.magnolia.cms.servlets.EntryServlet.redirect(EntryServlet.java:214)
at info.magnolia.cms.servlets.EntryServlet.doGet(EntryServlet.java:126)
at info.magnolia.cms.servlets.EntryServlet.doPost(EntryServlet.java:182)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at info.magnolia.cms.filters.SecurityFilter.doFilter(SecurityFilter.java:73)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at info.magnolia.cms.filters.MultipartRequestFilter.doFilter(MultipartRequestFilter.java:80)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)



 Comments   
Comment by Philipp Bracher [ 20/Oct/05 ]

Was not able to reproduce. Need more information. Can you start the tomcat, performe the critical action and then attache here the resulting log?

Thanks

Philipp Bracher

Comment by bartoli marco [ 24/Oct/05 ]

I have installed tomcat 5.0.30 and jdk 1.4.2_07

i have the same error on Delete / move and copy on my site !

error log :

ERROR info.magnolia.cms.servlets.MVCServletHandlerImpl 24.10.2005 09:11:04 – can't call command: move
java.lang.NullPointerException
at info.magnolia.cms.gui.control.Tree.pasteNode(Tree.java:672)
at info.magnolia.module.admininterface.AdminTreeMVCHandler.copyOrMove(Ad
minTreeMVCHandler.java:218)
at info.magnolia.module.admininterface.AdminTreeMVCHandler.move(AdminTre
eMVCHandler.java:207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at info.magnolia.cms.servlets.MVCServletHandlerImpl.execute(MVCServletHa
ndlerImpl.java:70)
at info.magnolia.cms.servlets.MVCServlet.doGet(MVCServlet.java:108)
at info.magnolia.cms.servlets.MVCServlet.doPost(MVCServlet.java:48)

....

Comment by Karsten Wintermann [ 24/Oct/05 ]

Sorry, I'm not able to determine the exact steps to reproduce this behavior. It happens after I edit some attributes in the "Config" repository. After some time the system enters a state where all copy and move operations reproducibly fail.

Comment by Philipp Bracher [ 24/Oct/05 ]

Thanks for the comment. If your system runs again in this state can you check:

  • does it help to close the browser (login again)?
  • does it help to restart the system?
Comment by bartoli marco [ 25/Oct/05 ]

I have restart my system, i can't delete o copy node on website, but now there isn't nothing on error log.

Thanks

Comment by Philipp Bracher [ 25/Oct/05 ]

there were a discussion on the user list:

  • configure the subscriber properly or set the active flag of the subscriber to false
  • we will provide better error messages (only done yet for the activation)
Comment by Philipp Bracher [ 25/Oct/05 ]

is the same

Comment by Philipp Bracher [ 25/Oct/05 ]

the same problem

Comment by Philipp Bracher [ 25/Oct/05 ]

this would avoid the most of those problems

Comment by bartoli marco [ 25/Oct/05 ]

i have configured the subscriber activate to false and i can do all my change.

IT WORKS FINE.. Thanks

Comment by Karsten Wintermann [ 25/Oct/05 ]

In my case I believe it had nothing to do with subscribers. Copy and Move worked fine up to a certain point, then after that they failed. I did not touch the subscriber configuration for this. I know the issue with unreachable subscribers, but this one is different.

Comment by Philipp Bracher [ 27/Oct/05 ]
  • alert deactivation issues
  • alert message if the subscribers is false configured
  • alert warning if the operation will cause a deactivation
Generated at Mon Feb 12 03:18:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.