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 257868 - NullPointerException at org.netbeans.modules.maven.j2ee.execution.ExecutionChecker.__isJrEnabled
Summary: NullPointerException at org.netbeans.modules.maven.j2ee.execution.ExecutionCh...
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-05 19:41 UTC by Exceptions Reporter
Modified: 2016-05-05 14:03 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 222237


Attachments
stacktrace (917 bytes, text/plain)
2016-02-05 19:41 UTC, Exceptions Reporter
Details
stacktrace (917 bytes, text/plain)
2016-03-21 12:44 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2016-02-05 19:41:04 UTC
This issue was reported manually by eduardogqf.
It already has 10 duplicates 


Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: Windows 7

User Comments:
GUEST: cant start maven archetype using vaadin framework

GUEST: Imported spring petclinic project (from github) and restarted NB 8.1

GUEST: debug

GUEST: Ok

GUEST: Running web app with JRebel.

GUEST: erro ao depurar o projeto

GUEST: running debug on project

GUEST: .

GUEST: "Run" on new Maven WebApp

GUEST: Trying to run a maven project.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.maven.j2ee.execution.ExecutionChecker.__isJrEnabled(ExecutionChecker.java:0)
   at org.netbeans.modules.maven.j2ee.execution.ExecutionChecker.checkRunConfig(ExecutionChecker.java:0)
   at org.netbeans.modules.maven.execute.PrereqCheckerMerger$Impl.checkRunConfig(PrereqCheckerMerger.java:87)
   at org.netbeans.modules.maven.api.execute.RunUtils.run(RunUtils.java:88)
   at org.netbeans.modules.maven.ActionProviderImpl.invokeAction(ActionProviderImpl.java:314)
   at org.netbeans.modules.maven.ActionProviderImpl$2.run(ActionProviderImpl.java:286)
Comment 1 Exceptions Reporter 2016-02-05 19:41:07 UTC
Created attachment 158392 [details]
stacktrace
Comment 2 eduardogqf 2016-02-05 19:42:54 UTC
I found the problem in my project, for some reason the server to run the project was missing(working before). 

In Projects >  > Contextual Menu > Propertes / Run / Server

The bug is why this configuration was lost.
Comment 3 Michel Graciano 2016-03-21 12:44:28 UTC
Created attachment 158945 [details]
stacktrace

No idea.
Comment 4 henri.viik 2016-03-31 13:51:39 UTC
The NPE was caused by JRebel NetBeans plugin and the bug is in versions 6.3.2-6.4.1. The fix will be in the next release, 6.4.2, but is also already available in nightly build, downloadable via https://zeroturnaround.com/software/jrebel/download/nightly-build/#!/netbeans.