Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Dynamic Web Project Renaming Issue
Dynamic Web Project Renaming Issue [message #493059] Thu, 22 October 2009 21:07 Go to next message
Eclipse UserFriend
Originally posted by: runzhou.li.gmail.com

Hi,

I have a server Tomcat 6.0 configured, and whenever I rename a dynamic web
project, it does not update the reference in the server. I get the following
errors:

Message: Error calling delegate modifyModule() ServerWorkingCopy Tomcat v6.0
Server at localhost
Stack Trace: java.lang.NullPointerException
at
org.eclipse.jst.server.tomcat.core.internal.TomcatServer.mod ifyModules(TomcatServer.java:468)
at
org.eclipse.wst.server.core.internal.ServerWorkingCopy.modif yModules(ServerWorkingCopy.java:537)
at
org.eclipse.wst.server.core.ServerUtil.modifyModules(ServerU til.java:370)
at
org.eclipse.jst.j2ee.refactor.operations.ProjectRefactorOper ation.updateServerRefs(ProjectRefactorOperation.java:151)
at
org.eclipse.jst.j2ee.refactor.operations.ProjectRenameOperat ion.updateDependentProjects(ProjectRenameOperation.java:141)
at
org.eclipse.jst.j2ee.refactor.operations.ProjectRefactorOper ation.execute(ProjectRefactorOperation.java:64)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl$1.run(DataModelPausibleOperationImpl .java:376)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(DataModelPausibleOperat ionImpl.java:401)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(DataModelPausibleOperat ionImpl.java:352)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.doExecute(DataModelPausibleOperation Impl.java:242)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.executeImpl(DataModelPausibleOperati onImpl.java:214)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.cacheThreadAndContinue(DataModelPaus ibleOperationImpl.java:89)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.execute(DataModelPausibleOperationIm pl.java:202)
at
org.eclipse.jst.j2ee.refactor.listeners.ProjectRefactoringLi stener$1.runInWorkspace(ProjectRefactoringListener.java:188)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

and

Message: Error updating server Tomcat v6.0 Server at localhost on refactor
of project a
Stack Trace: org.eclipse.core.commands.ExecutionException: Error updating
server Tomcat v6.0 Server at localhost on refactor of project a
at
org.eclipse.jst.j2ee.refactor.operations.ProjectRefactorOper ation.updateServerRefs(ProjectRefactorOperation.java:154)
at
org.eclipse.jst.j2ee.refactor.operations.ProjectRenameOperat ion.updateDependentProjects(ProjectRenameOperation.java:141)
at
org.eclipse.jst.j2ee.refactor.operations.ProjectRefactorOper ation.execute(ProjectRefactorOperation.java:64)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl$1.run(DataModelPausibleOperationImpl .java:376)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(DataModelPausibleOperat ionImpl.java:401)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(DataModelPausibleOperat ionImpl.java:352)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.doExecute(DataModelPausibleOperation Impl.java:242)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.executeImpl(DataModelPausibleOperati onImpl.java:214)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.cacheThreadAndContinue(DataModelPaus ibleOperationImpl.java:89)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.execute(DataModelPausibleOperationIm pl.java:202)
at
org.eclipse.jst.j2ee.refactor.listeners.ProjectRefactoringLi stener$1.runInWorkspace(ProjectRefactoringListener.java:188)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.eclipse.core.runtime.CoreException: null
at
org.eclipse.wst.server.core.internal.ServerWorkingCopy.modif yModules(ServerWorkingCopy.java:592)
at
org.eclipse.wst.server.core.ServerUtil.modifyModules(ServerU til.java:370)
at
org.eclipse.jst.j2ee.refactor.operations.ProjectRefactorOper ation.updateServerRefs(ProjectRefactorOperation.java:151)
... 13 more
Caused by: java.lang.NullPointerException
at
org.eclipse.jst.server.tomcat.core.internal.TomcatServer.mod ifyModules(TomcatServer.java:468)
at
org.eclipse.wst.server.core.internal.ServerWorkingCopy.modif yModules(ServerWorkingCopy.java:537)
... 15 more

This happens in Eclipse 3.5 with WTP 3.1.1
Re: Dynamic Web Project Renaming Issue [message #493189 is a reply to message #493059] Fri, 23 October 2009 14:29 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1313
Registered: July 2009
Senior Member
Please open a Bugzilla report (https://bugs.eclipse.org/bugs/) against
WebTools -> WTP Server Tools -> jst.tools. I'll take a look and see
what is going wrong.

Cheers,
Larry

Runzhou Li wrote:
> Hi,
>
> I have a server Tomcat 6.0 configured, and whenever I rename a dynamic
> web project, it does not update the reference in the server. I get the
> following errors:
>
> Message: Error calling delegate modifyModule() ServerWorkingCopy Tomcat
> v6.0 Server at localhost
> Stack Trace: java.lang.NullPointerException
> at
> org.eclipse.jst.server.tomcat.core.internal.TomcatServer.mod ifyModules(TomcatServer.java:468)
>
> at
> org.eclipse.wst.server.core.internal.ServerWorkingCopy.modif yModules(ServerWorkingCopy.java:537)
>
> at
> org.eclipse.wst.server.core.ServerUtil.modifyModules(ServerU til.java:370)
> at
> org.eclipse.jst.j2ee.refactor.operations.ProjectRefactorOper ation.updateServerRefs(ProjectRefactorOperation.java:151)
>
> at
> org.eclipse.jst.j2ee.refactor.operations.ProjectRenameOperat ion.updateDependentProjects(ProjectRenameOperation.java:141)
>
> at
> org.eclipse.jst.j2ee.refactor.operations.ProjectRefactorOper ation.execute(ProjectRefactorOperation.java:64)
>
> at
> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl$1.run(DataModelPausibleOperationImpl .java:376)
>
> at
> org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
> at
> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(DataModelPausibleOperat ionImpl.java:401)
>
> at
> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(DataModelPausibleOperat ionImpl.java:352)
>
> at
> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.doExecute(DataModelPausibleOperation Impl.java:242)
>
> at
> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.executeImpl(DataModelPausibleOperati onImpl.java:214)
>
> at
> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.cacheThreadAndContinue(DataModelPaus ibleOperationImpl.java:89)
>
> at
> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.execute(DataModelPausibleOperationIm pl.java:202)
>
> at
> org.eclipse.jst.j2ee.refactor.listeners.ProjectRefactoringLi stener$1.runInWorkspace(ProjectRefactoringListener.java:188)
>
> at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38)
>
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> and
>
> Message: Error updating server Tomcat v6.0 Server at localhost on
> refactor of project a
> Stack Trace: org.eclipse.core.commands.ExecutionException: Error
> updating server Tomcat v6.0 Server at localhost on refactor of project a
> at
> org.eclipse.jst.j2ee.refactor.operations.ProjectRefactorOper ation.updateServerRefs(ProjectRefactorOperation.java:154)
>
> at
> org.eclipse.jst.j2ee.refactor.operations.ProjectRenameOperat ion.updateDependentProjects(ProjectRenameOperation.java:141)
>
> at
> org.eclipse.jst.j2ee.refactor.operations.ProjectRefactorOper ation.execute(ProjectRefactorOperation.java:64)
>
> at
> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl$1.run(DataModelPausibleOperationImpl .java:376)
>
> at
> org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
> at
> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(DataModelPausibleOperat ionImpl.java:401)
>
> at
> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(DataModelPausibleOperat ionImpl.java:352)
>
> at
> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.doExecute(DataModelPausibleOperation Impl.java:242)
>
> at
> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.executeImpl(DataModelPausibleOperati onImpl.java:214)
>
> at
> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.cacheThreadAndContinue(DataModelPaus ibleOperationImpl.java:89)
>
> at
> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.execute(DataModelPausibleOperationIm pl.java:202)
>
> at
> org.eclipse.jst.j2ee.refactor.listeners.ProjectRefactoringLi stener$1.runInWorkspace(ProjectRefactoringListener.java:188)
>
> at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38)
>
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: org.eclipse.core.runtime.CoreException: null
> at
> org.eclipse.wst.server.core.internal.ServerWorkingCopy.modif yModules(ServerWorkingCopy.java:592)
>
> at
> org.eclipse.wst.server.core.ServerUtil.modifyModules(ServerU til.java:370)
> at
> org.eclipse.jst.j2ee.refactor.operations.ProjectRefactorOper ation.updateServerRefs(ProjectRefactorOperation.java:151)
>
> ... 13 more
> Caused by: java.lang.NullPointerException
> at
> org.eclipse.jst.server.tomcat.core.internal.TomcatServer.mod ifyModules(TomcatServer.java:468)
>
> at
> org.eclipse.wst.server.core.internal.ServerWorkingCopy.modif yModules(ServerWorkingCopy.java:537)
>
> ... 15 more
>
> This happens in Eclipse 3.5 with WTP 3.1.1
>
>
Re: Dynamic Web Project Renaming Issue [message #493197 is a reply to message #493189] Fri, 23 October 2009 14:53 Go to previous message
Eclipse UserFriend
Originally posted by: runzhou.li.gmail.com

https://bugs.eclipse.org/bugs/show_bug.cgi?id=293184

Bug filed. thank you

"Larry Isaacs" <Larry.Isaacs@sas.com> 写入消息
news:hbsek2$k8r$1@build.eclipse.org...
> Please open a Bugzilla report (https://bugs.eclipse.org/bugs/) against
> WebTools -> WTP Server Tools -> jst.tools. I'll take a look and see
> what is going wrong.
>
> Cheers,
> Larry
>
> Runzhou Li wrote:
>> Hi,
>>
>> I have a server Tomcat 6.0 configured, and whenever I rename a dynamic
>> web project, it does not update the reference in the server. I get the
>> following errors:
>>
>> Message: Error calling delegate modifyModule() ServerWorkingCopy Tomcat
>> v6.0 Server at localhost
>> Stack Trace: java.lang.NullPointerException
>> at
>> org.eclipse.jst.server.tomcat.core.internal.TomcatServer.mod ifyModules(TomcatServer.java:468)
>>
>> at
>> org.eclipse.wst.server.core.internal.ServerWorkingCopy.modif yModules(ServerWorkingCopy.java:537)
>>
>> at
>> org.eclipse.wst.server.core.ServerUtil.modifyModules(ServerU til.java:370)
>> at
>> org.eclipse.jst.j2ee.refactor.operations.ProjectRefactorOper ation.updateServerRefs(ProjectRefactorOperation.java:151)
>>
>> at
>> org.eclipse.jst.j2ee.refactor.operations.ProjectRenameOperat ion.updateDependentProjects(ProjectRenameOperation.java:141)
>>
>> at
>> org.eclipse.jst.j2ee.refactor.operations.ProjectRefactorOper ation.execute(ProjectRefactorOperation.java:64)
>>
>> at
>> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl$1.run(DataModelPausibleOperationImpl .java:376)
>>
>> at
>> org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
>> at
>> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(DataModelPausibleOperat ionImpl.java:401)
>>
>> at
>> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(DataModelPausibleOperat ionImpl.java:352)
>>
>> at
>> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.doExecute(DataModelPausibleOperation Impl.java:242)
>>
>> at
>> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.executeImpl(DataModelPausibleOperati onImpl.java:214)
>>
>> at
>> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.cacheThreadAndContinue(DataModelPaus ibleOperationImpl.java:89)
>>
>> at
>> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.execute(DataModelPausibleOperationIm pl.java:202)
>>
>> at
>> org.eclipse.jst.j2ee.refactor.listeners.ProjectRefactoringLi stener$1.runInWorkspace(ProjectRefactoringListener.java:188)
>>
>> at
>> org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38)
>>
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>
>> and
>>
>> Message: Error updating server Tomcat v6.0 Server at localhost on
>> refactor of project a
>> Stack Trace: org.eclipse.core.commands.ExecutionException: Error
>> updating server Tomcat v6.0 Server at localhost on refactor of project a
>> at
>> org.eclipse.jst.j2ee.refactor.operations.ProjectRefactorOper ation.updateServerRefs(ProjectRefactorOperation.java:154)
>>
>> at
>> org.eclipse.jst.j2ee.refactor.operations.ProjectRenameOperat ion.updateDependentProjects(ProjectRenameOperation.java:141)
>>
>> at
>> org.eclipse.jst.j2ee.refactor.operations.ProjectRefactorOper ation.execute(ProjectRefactorOperation.java:64)
>>
>> at
>> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl$1.run(DataModelPausibleOperationImpl .java:376)
>>
>> at
>> org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
>> at
>> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(DataModelPausibleOperat ionImpl.java:401)
>>
>> at
>> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(DataModelPausibleOperat ionImpl.java:352)
>>
>> at
>> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.doExecute(DataModelPausibleOperation Impl.java:242)
>>
>> at
>> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.executeImpl(DataModelPausibleOperati onImpl.java:214)
>>
>> at
>> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.cacheThreadAndContinue(DataModelPaus ibleOperationImpl.java:89)
>>
>> at
>> org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.execute(DataModelPausibleOperationIm pl.java:202)
>>
>> at
>> org.eclipse.jst.j2ee.refactor.listeners.ProjectRefactoringLi stener$1.runInWorkspace(ProjectRefactoringListener.java:188)
>>
>> at
>> org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38)
>>
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>> Caused by: org.eclipse.core.runtime.CoreException: null
>> at
>> org.eclipse.wst.server.core.internal.ServerWorkingCopy.modif yModules(ServerWorkingCopy.java:592)
>>
>> at
>> org.eclipse.wst.server.core.ServerUtil.modifyModules(ServerU til.java:370)
>> at
>> org.eclipse.jst.j2ee.refactor.operations.ProjectRefactorOper ation.updateServerRefs(ProjectRefactorOperation.java:151)
>>
>> ... 13 more
>> Caused by: java.lang.NullPointerException
>> at
>> org.eclipse.jst.server.tomcat.core.internal.TomcatServer.mod ifyModules(TomcatServer.java:468)
>>
>> at
>> org.eclipse.wst.server.core.internal.ServerWorkingCopy.modif yModules(ServerWorkingCopy.java:537)
>>
>> ... 15 more
>>
>> This happens in Eclipse 3.5 with WTP 3.1.1
>>
>>
Previous Topic:Documentation on Extending Web Page Editor
Next Topic:How do you turn off the popups in the XSLT editor?
Goto Forum:
  


Current Time: Mon Dec 22 02:15:55 GMT 2014

Powered by FUDForum. Page generated in 0.01836 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software