Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » [bug?] Rename File
[bug?] Rename File [message #1751411] Tue, 10 January 2017 05:56
Jernej LekÅ¡e is currently offline Jernej LekÅ¡eFriend
Messages: 1
Registered: January 2017
Junior Member
This does not happen always.

Version: Neon.2 Release (4.6.2)
Build id: 20161208-0600

How to reproduce a possible bug:
1) Create new PHP project
2) Create new PHP File 'newfile.php'
a. 'newfile.php' will open in PHP Perspective
3) Select 'newfile.php' in PHP Explorer
4) Press F2 to rename the file
5) Rename file to 'Newfile.php'
index.php/fa/28069/0/
6) Press Enter on your keyboard to procces to preview
index.php/fa/28070/0/
7) Press Enter on your keyboard
index.php/fa/28071/0/

But if you press Enter twice in very short time it does not rename the file. Does anyone else have same problems?

-------
Updated error log:
eclipse.buildId=4.6.2.M20161124-1400
java.version=1.8.0_111
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.php.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.php.product

org.eclipse.ltk.ui.refactoring
Error
Tue Jan 10 06:58:23 CET 2017
Internal Error

org.eclipse.core.internal.resources.ResourceException: Problems encountered while moving resources.
at org.eclipse.core.internal.resources.Resource.move(Resource.java:1543)
at org.eclipse.ltk.core.refactoring.resource.RenameResourceChange.perform(RenameResourceChange.java:115)
at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:280)
at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:280)
at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:280)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:257)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:305)
at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.executeChange(UIPerformChangeOperation.java:96)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:221)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:86)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Contains: Could not move: D:\wamp\www\Test\newfile.php.

[Updated on: Wed, 11 January 2017 06:01]

Report message to a moderator

Previous Topic:how to write javadoc for var without defining it?
Next Topic:How do you publish or sync files from local workspace to remote server
Goto Forum:
  


Current Time: Sun Nov 18 20:16:56 GMT 2018

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

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

Back to the top