Community
Participate
Working Groups
Created attachment 266475 [details] Main.java Hi. Behaviour is really weird. I noticed that NPE happen only when I try to get binding of a QualifiedName which source file wasn't send to ASTParser.createASTs(...), but exists in source directory (I set it using ASTParser.setEnvironment(..., HERE, ..., ...) Exception: java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.resolveTypeFor(SourceTypeBinding.java:1729) at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.getField(SourceTypeBinding.java:1202) at org.eclipse.jdt.core.dom.DefaultBindingResolver.resolveName(DefaultBindingResolver.java:1308) at org.eclipse.jdt.core.dom.Name.resolveBinding(Name.java:87) at ... I attached two files. Main.java generates the bug, Sources.zip is file that should be unzipped Replace static final File srcRoot = new File("C:\\source"); with your own source directory
Created attachment 266476 [details] Sources.zip
Hi, any changes? I get this exception really often
Sorry, we ran out of time for 4.7. Putting on our radar for 4.8.
bulk move out of 4.8
Hi, any changes? Doesn't seem to be fixed, but last comment was long time ago
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.