The Maven source code does not provide much information around the
exception in this line of source. Can you provide the entire
stacktrace using an online service like www.pastebin.com, and then
send the URL to the paste to this list? (Do NOT send the stacktrace
directly to this list.)

http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-core/src/main/java/org/apache/maven/DefaultMaven.java?annotate=688884

If you have a corrupt or not well-formed pom.xml file in a module
(child, grandchild, etc) it might cause this exception. Are you sure
all the pom.xml files are identical across all modules in this
project, on both machines? Are they both running Windows and the same
JDK etc? They must be some difference that explains the exception.
(I've never seen this myself, that I can recall...)

Wayne

On Sun, Feb 8, 2009 at 5:57 AM, Michael Hüttermann
<[email protected]> wrote:
> Hello Maven gurus,
>
> I'm wondering if the issue I described below never occured before?!
> Does anyone have a hint for me how to solve that issue?
> Thanks !!!!
>
> Michael Hüttermann schrieb:
>>
>> Hello,
>>
>> I'm doing a "mvn clean" inside a project and get the message:
>> Fatal Error
>> Error building POM (may not be this project's POM)
>> Project ID: unknown
>> Reason: Failed to build model from file: C:\...\pom.xml.
>> Error: 'null' for project unknown
>>
>> The Trace delivers an error at
>> org.apache.DefaultMaven.getProjects(DefaultMaven.java:378)
>>
>> Strange is that on one machine the project can be cleaned as expected and
>> on the other the problem above arises. The system environments are the
>> same, i.e. other projects can be build without any problems.
>>
>> What can be the problem? When does the described error pop up normally?
>> Any experiences?
>>
>> Thank you!
>>
>> Best regards
>> Michael
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to