| Summary: | [exceptions] java.lang.NullPointerException on InferredType#resolveType() | ||
|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Pablo <paregs> |
| Component: | General | Assignee: | Project Inbox <jsdt.javascript-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Chris Jaun <cmjaun> |
| Severity: | minor | ||
| Priority: | P3 | CC: | cmjaun |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Pablo
You seem to be using Helios. Please retry it with Indigo. I can reproduce the following error in 3.2.5. Is this what you were seeing, Pablo? !ENTRY org.eclipse.wst.jsdt.ui 4 0 2011-07-13 16:34:56.578 !MESSAGE Error in JSDT Core during AST creation !STACK 0 java.lang.NullPointerException at org.eclipse.wst.jsdt.core.infer.InferredType.resolveType(InferredType.java:309) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveVarType(LocalDeclaration.java:128) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope$DeclarationVisitor.visit(CompilationUnitScope.java:83) at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.traverse(LocalDeclaration.java:305) at org.eclipse.wst.jsdt.internal.compiler.ast.SwitchStatement.traverse(SwitchStatement.java:210) at org.eclipse.wst.jsdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:584) at org.eclipse.wst.jsdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:545) at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:392) at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:320) at org.eclipse.wst.jsdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:572) Yep, i have that. I just now try it with Indigo and I get the same Exception. I dont know how to do for no disble JSValidator. Anyone see something wrong? Thanks for ur time. I think i solved it. I get out the switch/case sentences and it will work properly. I dont know why but it is not getting the exception. Thank you for all. Working in WTP 3.5.1. Checked against 7/18 build. |