Community
Participate
Working Groups
What steps will reproduce the problem? 1. Create a New Java Project 2. For the project directory, select an existing directory with no Eclipse files, but with a Groovy src folder 3. Click next through project creation dialog -- Error Details -- Date: Tue Oct 19 10:39:11 CDT 2010 Message: An error occurred while traversing resources. Severity: Error Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.jee.product) Plugin: org.eclipse.core.resources Session Data: eclipse.buildId=M20100909-0800 java.version=1.6.0_20 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product -product org.eclipse.epp.package.jee.product -keyring /Users/ron/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.jee.product -data /Users/ron/Workspaces/e36_tools -product org.eclipse.epp.package.jee.product -keyring /Users/ron/.eclipse_keyring -showlocation Exception Stack Trace: java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at org.eclipse.jdt.internal.compiler.parser.Scanner.getCurrentTokenSource(Scanner.java:459) at org.eclipse.jdt.internal.compiler.parser.diagnose.LexStream.readTokenFromScanner(LexStream.java:90) at org.eclipse.jdt.internal.compiler.parser.diagnose.LexStream.token(LexStream.java:144) at org.eclipse.jdt.internal.compiler.parser.diagnose.LexStream.kind(LexStream.java:184) at org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnoseParser.parseCheck(DiagnoseParser.java:2050) at org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnoseParser.checkPrimaryDistance(DiagnoseParser.java:905) at org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnoseParser.primaryPhase(DiagnoseParser.java:602) at org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnoseParser.errorRecovery(DiagnoseParser.java:519) at org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnoseParser.diagnoseParse(DiagnoseParser.java:377) at org.eclipse.jdt.internal.compiler.parser.Parser.reportSyntaxErrors(Parser.java:10434) at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9402) at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9707) at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.parseStatements(MethodDeclaration.java:119) at org.eclipse.jdt.core.dom.CompilationUnitResolver.parse(CompilationUnitResolver.java:542) at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1194) at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801) at org.eclipse.jdt.internal.ui.wizards.ClassPathDetector.visitCompilationUnit(ClassPathDetector.java:291) at org.eclipse.jdt.internal.ui.wizards.ClassPathDetector.visit(ClassPathDetector.java:347) at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:64) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86) at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:127) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:74) at org.eclipse.jdt.internal.ui.wizards.ClassPathDetector.detectClasspath(ClassPathDetector.java:126) at org.eclipse.jdt.internal.ui.wizards.ClassPathDetector.<init>(ClassPathDetector.java:101) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo.initializeBuildPath(NewJavaProjectWizardPageTwo.java:280) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo.updateProject(NewJavaProjectWizardPageTwo.java:250) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo.access$2(NewJavaProjectWizardPageTwo.java:198) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo$1$UpdateRunnable.run(NewJavaProjectWizardPageTwo.java:159) at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:69) 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.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Please describe exactly what must be installed.
Could you please provide the contents of the project on disk (step 2) when you create it ? Thanks.
If no further details are provided, this will be closed as WORKSFORME.
(In reply to comment #0) > 2. For the project directory, select an existing directory with no Eclipse > files, but with a Groovy src folder What is inside this folder ? Would it be possible to get these files in order to investigate this ?
Closing as WORKSFORME. No steps or any requested information has been provided. Please reopen once you have the requested information.
Need more info.. Verified for 3.7M4