| Summary: | Help! | ||
|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | SoftDed <softded> |
| Component: | jst.j2ee | Assignee: | jst.j2ee <jst.j2ee-inbox> |
| Status: | RESOLVED NOT_ECLIPSE | QA Contact: | Chuck Bridgham <cbridgha> |
| Severity: | normal | ||
| Priority: | P3 | CC: | ccc, kaloyan, remy.suen |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
SoftDed
(In reply to comment #0) > What steps will reproduce the problem? > 1. > 2. > 3. There is not a lot to go on here about this problem you are seeing. You may also want to check with the GWT folks as you appear to be using GWT. The NPE is coming from com.sun.enterprise.jst.server.sunappsrv.v3.Web30AnnotationReader.addUrlPatternsAsRunAs(). Without knowing that code it is impossible to determine what might be going wrong. You've assigned this to the APT component, but this has nothing to do with Eclipse JDT annotation processing, and actually nothing to do with JDT as far as I can tell except that it is happening within a compilation. From the call stack it appears that org.eclipse.jst.jee.model.internal.common.AbstractAnnotationModelProvider (which is part of the WTP project) has registered a change listener, that is getting triggered because somebody edited some code. That change listener is in turn calling the Web30AnnotationReader, which is then getting the NPE. It is possible the NPE is coming from a call to JDT, but I doubt it since it is not likely that there would be any Sun code calling Eclipse methods. I'm going to move this to WTP. But Remy is right, you will probably have to say a bit more about how to reproduce the problem. From what I can see, this comes from the class: com.sun.enterprise.jst.server.sunappsrv.v3.Web30AnnotationReader That class is not within Eclipse. (Perhaps the Glassfish server adapter?) You will need to work with whoever provides that class to resolve this NPE. |