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 244987 - NullPointerException at java.io.File.<init>
Summary: NullPointerException at java.io.File.<init>
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WildFly (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: ehsavoie
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-10 18:32 UTC by petrisal
Modified: 2014-07-24 11:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 209068


Attachments
stacktrace (561 bytes, text/plain)
2014-06-10 18:32 UTC, petrisal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description petrisal 2014-06-10 18:32:02 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) Client VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Linux

User Comments:
petrisal: I tried to start web application on WildFly 8.1.0 server

GUEST: trying to start wildfly, nothing happens

GUEST: Start netbeans web proyect wildfly based

GUEST: starting wildfly in debug mode




Stacktrace: 
java.lang.NullPointerException
   at java.io.File.<init>(File.java:277)
   at org.netbeans.modules.javaee.wildfly.ide.WildflyStartRunnable.createEnvironment(WildflyStartRunnable.java:208)
   at org.netbeans.modules.javaee.wildfly.ide.WildflyStartRunnable.createProcess(WildflyStartRunnable.java:298)
   at org.netbeans.modules.javaee.wildfly.ide.WildflyStartRunnable.run(WildflyStartRunnable.java:136)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Comment 1 petrisal 2014-06-10 18:32:04 UTC
Created attachment 147637 [details]
stacktrace
Comment 2 narendranss 2014-06-23 14:46:27 UTC
I too encountered same exception.
Comment 3 Quality Engineering 2014-06-24 02:41:20 UTC
Integrated into 'main-silver', will be available in build *201406240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/4ba21099a278
User: Emmanuel Hugonnet <ehsavoie@netbeans.org>
Log: Bug #244987: NPE is avoided, but I'm not sure this is good.
Comment 4 Exceptions Reporter 2014-06-25 18:57:04 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=209068