Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327550 - Incremental builder NPE with ampersands in pom.xml
Summary: Incremental builder NPE with ampersands in pom.xml
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: IAM (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 08:46 EDT by Daniel Robert CLA
Modified: 2012-01-05 13:10 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.