Problems occurred when invoking code from plug-in: "org.eclipse.core.resources"

java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.compiler.ast.IntLiteral.literalType(IntLiteral.java:95)
at org.eclipse.wst.jsdt.internal.compiler.problem.ProblemReporter.constantOutOfFormat(ProblemReporter.java:1003)
at org.eclipse.wst.jsdt.internal.compiler.ast.IntLiteral.resolveType(IntLiteral.java:124)
at org.eclipse.wst.jsdt.internal.compiler.ast.EqualExpression.resolveType(EqualExpression.java:161)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:292)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:292)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:292)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolveTypeExpecting(Expression.java:808)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:190)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:84)
at org.eclipse.wst.jsdt.internal.compiler.ast.ForStatement.resolve(ForStatement.java:281)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:84)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:193)
java.lang.NullPointerException
at com.genuitec.eclipse.ast.deploy.core.packaging.WarPackager.ā(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.packaging.WarPackager.getWarDependencyProjects(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.packaging.DefaultPackagerStrategy.getLibraryProjects(Unknown Source)

今早我也遇到这样的问题了,一直弹出这种提示,刚开始以为是插件版本不符的问题导致不能调用结果一直尝试都不能解决后来
查了下国外网友遇到的问题和我相似查考他的做法需要清空你工作空间org.eclipse.core.resources\.projects中之前的删除项目预留下来的项目导致空指针异常调用失败所以我直接删除D:\workspaces\.metadata\.plugins\org.eclipse.core.resources\.projects中的项目,删除myeclipse 中的项目关闭myeclpse.再打开myeclipse然后从新svn导入项目。进去后发现不再报错!!
温馨提示:内容为网友见解,仅供参考
第1个回答  2015-10-15
重新安闲插件 吧,,,,,,,
相似回答