dkuspawono / google-plugin-for-eclipse

Automatically exported from code.google.com/p/google-plugin-for-eclipse
Eclipse Public License 1.0
0 stars 0 forks source link

NullPointerException in com.google.gdt.eclipse.core.java.ClasspathResourceUtilities.resolveFile #198

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I got the error in a GWT project.

What version of the product are you using? On what operating system?
Eclipse 4.2.2, GPE 3.2.0

Please provide any additional information below.

I got following stack trace:

!ENTRY com.google.gwt.eclipse.core 4 0 2013-05-06 16:47:42.796
!MESSAGE Unexpected error while validating ___ViewImpl.java
!STACK 0
java.lang.NullPointerException
    at com.google.gdt.eclipse.core.java.ClasspathResourceUtilities.resolveFile(ClasspathResourceUtilities.java:129)
    at com.google.gwt.eclipse.core.uibinder.validators.UiBinderJavaValidator$UiBinderOwnerVisitor.getUiXmlWorkspaceRelativePaths(UiBinderJavaValidator.java:122)
    at com.google.gwt.eclipse.core.uibinder.validators.UiBinderJavaValidator$UiBinderOwnerVisitor.validateFieldExistenceInUiXml(UiBinderJavaValidator.java:164)
    at com.google.gwt.eclipse.core.uibinder.validators.UiBinderJavaValidator$UiBinderOwnerVisitor.validateUiFieldExistenceInUiXml(UiBinderJavaValidator.java:187)
    at com.google.gwt.eclipse.core.uibinder.validators.UiBinderJavaValidator$UiBinderOwnerVisitor.validateUiField(UiBinderJavaValidator.java:179)
    at com.google.gwt.eclipse.core.uibinder.validators.UiBinderJavaValidator$UiBinderOwnerVisitor.visit(UiBinderJavaValidator.java:101)
    at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:467)
    at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
    at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2585)
    at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:219)
    at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
    at com.google.gwt.eclipse.core.uibinder.validators.UiBinderJavaValidator.validate(UiBinderJavaValidator.java:520)
    at com.google.gwt.eclipse.core.validators.java.JavaCompilationParticipant$2.acceptAST(JavaCompilationParticipant.java:393)
    at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:892)
    at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:581)
    at org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:894)
    at org.eclipse.jdt.internal.corext.dom.ASTBatchParser.createASTs(ASTBatchParser.java:109)
    at com.google.gwt.eclipse.core.validators.java.JavaCompilationParticipant.handleBuildStarting(JavaCompilationParticipant.java:326)
    at com.google.gwt.eclipse.core.validators.java.JavaCompilationParticipant.access$0(JavaCompilationParticipant.java:307)
    at com.google.gwt.eclipse.core.validators.java.JavaCompilationParticipant$1.run(JavaCompilationParticipant.java:191)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

Original issue reported on code.google.com by udo.wal...@abas.de on 7 May 2013 at 11:31