| Summary: | NPE in VirtualComponent#create() for validation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Common Tools | Reporter: | Sebastian Oerding <oerding_S> | ||||
| Component: | wst.common | Assignee: | Rosendo Martinez <rosendo> | ||||
| Status: | NEW --- | QA Contact: | Carl Anderson <ccc> | ||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | thatnitind | ||||
| Version: | unspecified | ||||||
| Target Milestone: | Future | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | Maven | ||||||
| Attachments: |
|
||||||
|
Description
Sebastian Oerding
Created attachment 176156 [details]
my logfile with stacktrace
the log contains a lot of stacktraces especially the mentioned one. Even if the bug is due to an added plugin / external component,please give me a hint to track it down.
It looks to be a problem with the WST validation plugin, moving to Web Tools for further investigation. On one of my colleagues pc (Windows 7, Eclipse 3.4.2, JEE + Subclipse, Mylyn and m2eclipse) there is a message about conflicting libs. Maybe this has been broken somewhere on the road to 3.6.0? At the moment I'm not completely sure but I think that the same error occurs when I open my workspace with 3.5.1 or 3.5.2. Should I further investigate? - Sebastian Hello, further investigation lead to the following results: The only real error is the validation. The other errors in the provided logfile cause by other plugins. Especially the bugs mentioned to occur with m2eclipse seem to be a problem of m2eclipse / the underlying Maven. The don't occur when I restart Eclipse and do a fresh checkout. The validation error occurred on a dynamic web project having a folder WebContent/WEB-INF/lib/ containing some libs. These libs conflicted with libs from the Maven dependencies, after deleting the libs from the WEB-INF/lib folder everything is fine and the validation error vanishes. So the bug seems to be cause when libs from Maven dependencies conflict with libs in place. So maybe useful when trying to reproduce the bug. - Sebastian Assuming this is the relevant message for WTP. !ENTRY org.eclipse.core.jobs 4 2 2010-08-09 15:33:03.956 !MESSAGE An internal error occurred during: "Updating Maven Configuration". !STACK 0 java.lang.NullPointerException at org.eclipse.wst.common.componentcore.internal.resources.VirtualComponent.create(VirtualComponent.java:363) Assigning to Rosendo for initial investigation. |