Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327550

Summary: Incremental builder NPE with ampersands in pom.xml
Product: z_Archived Reporter: Daniel Robert <daniel.robert>
Component: IAMAssignee: Project Inbox <iam.Core-inbox>
Status: NEW --- QA Contact:
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Daniel Robert CLA 2010-10-12 08:46:59 EDT
Error:
---
Errors occurred during the build.
Errors running builder 'Maven Incremental Builder' on project '[PROJECT NAME]'.
java.lang.NullPointerException
---

I have reproduced this on several machines and the step to reproduce is to create a property that has a valid, XML-escaped ampersand.  Example:
<project>
...
  <build>
  ...
    <properties>
      <my.jdbc.url>jdbc:mysql://localhost/didiapply?characterEncoding=utf8&amp;characterSetResults=utf8</my.jdbc.url>
    </properties>
  </build>
</project>

Just removing the query string and re-importing the project solves the problem.