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 254417 - NullPointerException at org.netbeans.modules.glassfish.tooling.server.config.ConfigBuilderProvider.getBuilderConfig
Summary: NullPointerException at org.netbeans.modules.glassfish.tooling.server.config....
Status: RESOLVED INCOMPLETE
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 238992 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-08-17 08:58 UTC by muellermi
Modified: 2015-08-21 01:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 219200


Attachments
stacktrace (4.79 KB, text/plain)
2015-08-17 08:58 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2015-08-17 08:58:22 UTC
Build: NetBeans IDE 8.1 Beta (Build 201508041349)
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:
muellermi: NB 8.1 Beta started with "import previous settings"




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.glassfish.tooling.server.config.ConfigBuilderProvider.getBuilderConfig(ConfigBuilderProvider.java:102)
   at org.netbeans.modules.glassfish.tooling.server.config.ConfigBuilder.getLibraries(ConfigBuilder.java:264)
   at org.netbeans.modules.glassfish.javaee.Hk2LibraryProvider.getLibraryClassPathURLs(Hk2LibraryProvider.java:465)
   at org.netbeans.modules.glassfish.javaee.Hk2LibraryProvider.getJavaEEClassPathURLs(Hk2LibraryProvider.java:361)
   at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory.ensureGlassFishApiSupport(JavaEEServerModuleFactory.java:274)
   at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory.access$200(JavaEEServerModuleFactory.java:79)
Comment 1 muellermi 2015-08-17 08:58:24 UTC
Created attachment 155383 [details]
stacktrace
Comment 2 Petr Hejl 2015-08-17 12:56:51 UTC
*** Bug 238992 has been marked as a duplicate of this bug. ***
Comment 3 Petr Hejl 2015-08-20 09:59:18 UTC
Reporters it looks like there has to be changed something in GF installation before this happened. Any details?
I see this in the IDE log for example: C:\Program Files\glassfish-4.0\glassfish\config\asenv.conf does not exist
Comment 4 Petr Hejl 2015-08-20 10:08:58 UTC
All the reports (except one) seems to be coming from Windows. How did you installed NB with GF? As an administrator? Can you read the folder with GF under the account NB is being executed?
Comment 5 Petr Hejl 2015-08-20 10:33:10 UTC
Better logging: web-main d47820d72a6d.
Comment 6 Quality Engineering 2015-08-21 01:21:14 UTC
Integrated into 'main-silver', will be available in build *201508210002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d47820d72a6d
User: Petr Hejl <phejl@netbeans.org>
Log: #254417 - NullPointerException at org.netbeans.modules.glassfish.tooling.server.config.ConfigBuilderProvider.getBuilderConfig