This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 242447 - NullPointerException at org.netbeans.modules.maven.j2ee.utils.LoggingUtils.logUsingSourceClass
Summary: NullPointerException at org.netbeans.modules.maven.j2ee.utils.LoggingUtils.lo...
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: All All
: P2 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
: 242978 243462 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-02-28 11:48 UTC by heapifyman
Modified: 2014-07-09 08:36 UTC (History)
11 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207853


Attachments
stacktrace (465 bytes, text/plain)
2014-02-28 11:48 UTC, heapifyman
Details
stacktrace (465 bytes, text/plain)
2014-03-02 14:51 UTC, markiewb
Details
stacktrace (465 bytes, text/plain)
2014-03-06 02:39 UTC, Exceptions Reporter
Details
stacktrace (465 bytes, text/plain)
2014-03-19 14:33 UTC, jyeary
Details
stacktrace (465 bytes, text/plain)
2014-03-19 14:39 UTC, jyeary
Details
stacktrace (465 bytes, text/plain)
2014-03-19 17:18 UTC, jyeary
Details

Note You need to log in before you can comment on or make changes to this bug.
Description heapifyman 2014-02-28 11:48:33 UTC
Build: NetBeans IDE 8.0 RC1 (Build 201402242200)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 7

User Comments:
heapifyman: opening project group with one maven-based java EE project

GUEST: creating maven web project with tomcat 7 server




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.maven.j2ee.utils.LoggingUtils.logUsingSourceClass(LoggingUtils.java:131)
   at org.netbeans.modules.maven.j2ee.utils.LoggingUtils.logUsage(LoggingUtils.java:125)
   at org.netbeans.modules.maven.j2ee.ProjectHookImpl$3.run(ProjectHookImpl.java:159)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Comment 1 heapifyman 2014-02-28 11:48:35 UTC
Created attachment 145660 [details]
stacktrace
Comment 2 markiewb 2014-03-02 14:51:35 UTC
Created attachment 145700 [details]
stacktrace

I do not know what happened here. I only opened NetBeans with some projects loading
Comment 3 Exceptions Reporter 2014-03-04 17:30:38 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=207853
Comment 4 Exceptions Reporter 2014-03-06 02:39:46 UTC
Created attachment 145790 [details]
stacktrace

1. ?nb???Glassfish3?Glassfish4??????????
2. ???->??????Glassfish3??
3. ??Glassfish4?????????????
4. ??NB??????
Comment 5 Exceptions Reporter 2014-03-10 13:34:06 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=207853
Comment 6 jyeary 2014-03-19 14:33:11 UTC
Created attachment 146147 [details]
stacktrace

Exception occurred while opening an existing project.
Comment 7 jyeary 2014-03-19 14:39:11 UTC
Created attachment 146149 [details]
stacktrace

Trying to open an existing Maven web project.
Comment 8 Exceptions Reporter 2014-03-19 14:39:16 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=207853
Comment 9 jyeary 2014-03-19 17:18:15 UTC
Created attachment 146156 [details]
stacktrace

Opened IDE with an existing Maven web project listed in the Projects tab.
Comment 10 Martin Janicek 2014-03-21 07:46:36 UTC
*** Bug 242978 has been marked as a duplicate of this bug. ***
Comment 11 Martin Janicek 2014-03-21 08:07:15 UTC
Fixed by change-set: web-main #1fd8ba522eec
Comment 12 Quality Engineering 2014-03-22 07:30:57 UTC
Integrated into 'main-silver', will be available in build *201403220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1fd8ba522eec
User: Martin Janicek <mjanicek@netbeans.org>
Log: #242447 - NullPointerException at org.netbeans.modules.maven.j2ee.utils.LoggingUtils.logUsingSourceClass
Comment 13 Vladimir Riha 2014-04-23 07:37:41 UTC
No steps to reproduce but the fix looks safe to me. Verified
Comment 14 Martin Janicek 2014-04-23 07:41:25 UTC
Transplanted in: releases #f376918063a1
Comment 15 Quality Engineering 2014-04-24 02:17:06 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/f376918063a1
User: Martin Janicek <mjanicek@netbeans.org>
Log: #242447 - NullPointerException at org.netbeans.modules.maven.j2ee.utils.LoggingUtils.logUsingSourceClass
Comment 16 Martin Janicek 2014-07-09 08:36:41 UTC
*** Bug 243462 has been marked as a duplicate of this bug. ***