Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319388 - MESSAGE An internal error occurred during: "Refresh"
Summary: MESSAGE An internal error occurred during: "Refresh"
Status: RESOLVED DUPLICATE of bug 318006
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.7   Edit
Hardware: Other other
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Pawel Pogorzelski CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-09 09:41 EDT by Alfred Nathaniel CLA
Modified: 2010-07-14 04:01 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alfred Nathaniel CLA 2010-07-09 09:41:26 EDT
Build Identifier: I20100608-0911

An internal error occurred during: "Refresh".
String index out of range: -1477973016

!ENTRY org.eclipse.core.jobs 4 2 2010-07-09 15:25:25.603
!MESSAGE An internal error occurred during: "Refresh".
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -1497895576
        at java.lang.String.checkBounds(String.java:397)
        at java.lang.String.<init>(String.java:442)
        at org.eclipse.core.internal.filesystem.local.Convert.fromPlatformBytes(Convert.java:85)
        at org.eclipse.core.internal.filesystem.local.unix.UnixFileNatives.bytesToFileName(UnixFileNatives.java:170)
        at org.eclipse.core.internal.filesystem.local.unix.UnixFileNatives.fetchFileInfo(UnixFileNatives.java:83)
        at org.eclipse.core.internal.filesystem.local.LocalFileNativesManager.fetchFileInfo(LocalFileNativesManager.java:31)
        at org.eclipse.core.internal.filesystem.local.LocalFile.fetchInfo(LocalFile.java:144)
        at org.eclipse.core.filesystem.provider.FileStore.fetchInfo(FileStore.java:277)
        at org.eclipse.core.filesystem.provider.FileStore.childInfos(FileStore.java:106)
        at org.eclipse.core.internal.localstore.UnifiedTree.getLocalList(UnifiedTree.java:341)
        at org.eclipse.core.internal.localstore.UnifiedTree.addChildren(UnifiedTree.java:137)
        at org.eclipse.core.internal.localstore.UnifiedTree.addNodeChildrenToQueue(UnifiedTree.java:243)
        at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:109)
        at org.eclipse.core.internal.localstore.FileSystemResourceManager.refreshResource(FileSystemResourceManager.java:824)
        at org.eclipse.core.internal.localstore.FileSystemResourceManager.refresh(FileSystemResourceManager.java:808)
        at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1661)
        at org.eclipse.ui.actions.RefreshAction.refreshResource(RefreshAction.java:296)
        at org.eclipse.ui.actions.RefreshAction$3.execute(RefreshAction.java:248)
        at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
        at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
        at org.eclipse.jdt.ui.actions.RefreshAction$WrappedWorkbenchRefreshAction.run(RefreshAction.java:112)
        at org.eclipse.jdt.ui.actions.RefreshAction.performRefresh(RefreshAction.java:190)
        at org.eclipse.jdt.ui.actions.RefreshAction.access$0(RefreshAction.java:185)
        at org.eclipse.jdt.ui.actions.RefreshAction$1.run(RefreshAction.java:179)
        at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
        at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
        at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4777)
        at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:106)
        at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter$1.run(WorkbenchRunnableAdapter.java:121)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


Reproducible: Always

Steps to Reproduce:
Happens on Solaris-Helios in a workspace which has been used promiscously with Solaris-Galileo / Windows-Galileo / Windows-Helios.

Showstopper for using Solaris-Helios.
Comment 1 Olivier Thomann CLA 2010-07-09 13:50:11 EDT
Moving to Platform/Resources
Comment 2 Pawel Pogorzelski CLA 2010-07-12 05:05:47 EDT
Alfred, please provide more details on the OS level, CPU architecture and JVM used.
Comment 3 Alfred Nathaniel CLA 2010-07-12 07:57:53 EDT
32-bit SPARC Sun-JDK 1.6 on Solaris10:

 > uname -a
SunOS sculscge02 5.10 Generic_142900-06 sun4u sparc SUNW,Sun-Fire-480R

 > /usr/jdk/instances/jdk1.6.0/bin/java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)
Comment 4 Pawel Pogorzelski CLA 2010-07-12 12:34:51 EDT
As a workaround please remove org.eclipse.core.filesystem.solaris.sparc from eclipse/plugins.

I managed to repoduce it.
Comment 5 Pawel Pogorzelski CLA 2010-07-12 12:44:35 EDT
Alfred, it looks like a duplicate of bug 319388. Could you try a recent integration build and give it a try?

http://download.eclipse.org/eclipse/downloads/drops/I20100706-0800/index.php
Comment 6 Pawel Pogorzelski CLA 2010-07-13 01:57:48 EDT
(In reply to comment #5)
> Alfred, it looks like a duplicate of bug 319388. Could you try a recent
> integration build and give it a try?
> 
> http://download.eclipse.org/eclipse/downloads/drops/I20100706-0800/index.php

I mean this could be a duplicate of bug 318006.
Comment 7 Pawel Pogorzelski CLA 2010-07-13 07:45:06 EDT
It's the same problem as in bug 318006, everything is fine with a more recent build.

*** This bug has been marked as a duplicate of bug 318006 ***
Comment 8 Szymon Brandys CLA 2010-07-13 13:17:56 EDT
Pawel, do we have a bug for backporting it to 3.6.1?
Comment 9 Szymon Brandys CLA 2010-07-13 13:21:05 EDT
I found it. Bug 319688.
Comment 10 Alfred Nathaniel CLA 2010-07-14 04:01:54 EDT
(In reply to comment #5)
> Alfred, it looks like a duplicate of bug 319388. Could you try a recent
> integration build and give it a try?
> http://download.eclipse.org/eclipse/downloads/drops/I20100706-0800/index.php

I can confirm that the problem is fixed in I20100713-0800.
Thanks for the quick response.