Bug 465159 - CoreException in Policy.error (49)
Summary: CoreException in Policy.error (49)
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2015-04-22 00:46 EDT by EPP Error Reports CLA
Modified: 2015-05-04 08:55 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description EPP Error Reports CLA 2015-04-22 00:46:55 EDT
The following incident was reported via the automated error reporting:


    code:                   10,000
    plugin:                 org.eclipse.ltk.core.refactoring_3.6.200.v20140826-0859
    message:                Internal Error
    fingerprint:            f20a1b2c
    exception class:        org.eclipse.core.runtime.CoreException
    exception message:      Could not move: C:\workspaces\bukkit\.metadata\.plugins\org.eclipse.ltk.core.refactoring\.refactorings\DSqlApi.
    number of children:     1
    
    org.eclipse.core.runtime.CoreException: Could not move: C:\workspaces\bukkit\.metadata\.plugins\org.eclipse.ltk.core.refactoring\.refactorings\DSqlApi.
    at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:49)
    at org.eclipse.core.internal.filesystem.local.LocalFile.move(LocalFile.java:356)
    at org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistoryService.moveHistory(RefactoringHistoryService.java:900)
    at org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistoryService.peformResourceChanged(RefactoringHistoryService.java:928)
    at org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistoryService.access$1(RefactoringHistoryService.java:909)
    at org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistoryService$3.resourceChanged(RefactoringHistoryService.java:386)
    at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:295)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:287)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:151)
    at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:376)
    at org.eclipse.core.internal.resources.Workspace.checkpoint(Workspace.java:538)
    at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:263)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
    at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:306)
    at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.executeChange(UIPerformChangeOperation.java:92)
    at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:218)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
    at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
   

---   

      code:                   272
      plugin:                 org.eclipse.core.filesystem_1.4.200.v20150115-1924
      message:                Could not move: C:\workspaces\bukkit\.metadata\.plugins\org.eclipse.ltk.core.refactoring\.refactorings\DSqlApi.
      fingerprint:            00000000
      number of children:     0
    
    
   
  

General Information:

    reported-by:      
    anonymous-id:     d21b460c-716c-47ee-925f-418eb036b895
    eclipse-build-id: 4.5.0.I20150203-1300
    eclipse-product:  org.eclipse.epp.package.dsl.product
    operating system: Windows8 6.2.0 (x86_64) - win32
    jre-version:      1.8.0_40-b25

The following plug-ins were present on the execution stack (*):
    1. org.eclipse.core.filesystem_1.4.200.v20150115-1924
    2. org.eclipse.core.resources_3.9.100.v20150114-1351
    3. org.eclipse.core.runtime_3.10.0.v20150112-1422
    4. org.eclipse.jface_3.11.0.v20150121-1751
    5. org.eclipse.ltk.core.refactoring_3.6.200.v20140826-0859
    6. org.eclipse.ltk.ui.refactoring_3.7.200.v20140625-1835

Please note that:
* Messages, stacktraces, and nested status objects may be shortened.
* Bug fields like status, resolution, and whiteboard are sent
  back to reporters.
* The list of present bundles and their respective versions was
  calculated by package naming heuristics. This may or may not reflect reality.

Other Resources:
* Report: https://dev.eclipse.org/recommenders/committers/confess/#/problems/55162a5de4b026254edfeaca  
* Manual: https://dev.eclipse.org/recommenders/community/confess/#/guide


Thank you for your assistance.
Your friendly error-reports-inbox.
Comment 1 Szymon Ptaszkiewicz CLA 2015-05-04 08:55:26 EDT
This CoreException is thrown because java.io.File.renameTo(File) called as part of the move failed. As mentioned in the Javadoc of java.io.File.renameTo(File) "many aspects of the behavior of this method are inherently platform-dependent" and what we know is that for some unknown reason renameTo didn't work. We are not able to do anything more except for logging it as CoreException which we already do. Please reopen if you can provide reproducible steps.