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

Bug 408931

Summary: NullPointerException with Maven project build
Product: z_Archived Reporter: Michael Meß <michael.mess>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: fbricon, igor, kentarou
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Michael Meß CLA 2013-05-24 04:07:13 EDT
What steps will reproduce the problem?
1. Maven -> Update Project triggers build and a popup sais "NullPointerException", but there is no StackTrace.

-- Error Details --
Date: Fri May 24 09:55:00 CEST 2013
Message: An internal error occurred during: "Updating Maven Project".
Severity: Error
Product: Eclipse SDK 3.8.2.v201301310800 (org.eclipse.sdk.ide)
Plugin: org.eclipse.core.jobs
Session Data:
eclipse.buildId=M20130131-0800
java.version=1.6.0_43
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -eclipse.password /home/mm/.eclipse/Eclipse.password -keyring /home/mm/.eclipse-keyring/.keyring
Command-line arguments:  -os linux -ws gtk -arch x86_64 -eclipse.password /home/mm/.eclipse/Eclipse.password -keyring /home/mm/.eclipse-keyring/.keyring

This is a continuation of log file /home/mm/macd/workspace/.metadata/.bak_0.log
Created Time: 2013-05-24 09:19:07.552

Exception Stack Trace:
java.lang.NullPointerException
Comment 1 Michael Meß CLA 2013-05-24 04:21:07 EDT
There is no Stack Trace available, thus it is difficult to track down this issue.

The environment got broken after pulling updates. When eclipse tried to build, the NPE occurred.
When trying Maven -> update project, a NPE occurred again.

But I think that it could have something to do with a similar issue, causing NPEs on Project import:
 *  https://jira.codehaus.org/browse/SONARIDE-369
Comment 2 Michael Meß CLA 2013-05-24 04:50:55 EDT
This could have the same cause like Bug 408931 which has a StackTrace for the NullPointerException.
Comment 3 Kentarou Fukuda CLA 2013-05-27 09:32:55 EDT
Hi,

Does it relate to m2e?
Comment 4 Fred Bricon CLA 2013-05-27 09:40:08 EDT
Can you please provide a sample maven project reproducing the error? Hard to point fingers with so little informations.
Comment 5 Michael Meß CLA 2013-06-07 10:20:03 EDT
Something got wrong when copy&pasting the link in my previous comment and I have created a loop... ;)

What I wanted to say is, that this is probably a duplicate of bug 371618.

Hopefully am I right and it won't appear again, when that bug is fixed.
Comment 6 Igor Fedorenko CLA 2014-09-12 18:22:26 EDT

*** This bug has been marked as a duplicate of bug 371618 ***
Comment 7 Denis Roy CLA 2021-04-19 13:24:32 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/