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 241500 - Missing manifest attribute & null pointer exception
Summary: Missing manifest attribute & null pointer exception
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 8.0
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: TomasKraus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-06 16:18 UTC by ostermann_bernd
Modified: 2014-07-08 02:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ostermann_bernd 2014-02-06 16:18:03 UTC
Product Version = NetBeans IDE 8.0 Beta (Build 201401141042)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.7.0_51
Runtime = Java HotSpot(TM) Client VM 24.51-b03
Glassfish 4.0

I have an Enterprse application with app client and ejb's based on platform EE7.  The Ear file was generated by Netbeans.
I can run it within Netbeans 8.0.
When I start it by java webstart (or out of glassfish admin console or by javaws),  the java console showed the following message:
Missing Permissions manifest attribute in main jar: 1.)http://Ost-Mobile:8080/___JWSappclient/___system/s1as/glassfish/modules/gf-client-module.jar
2.)#### Java Web Start Error:
#### null

ad 1.) gf-client-module.jar is a system jar of glassfish, I suupose. I  cannot add  permissions to it.
Should be added by the provider of this jar file.


ad 2.)The application was not started by Java webstart:
Stacktrace of java web start:
java.lang.NullPointerException
	at java.io.StringReader.<init>(Unknown Source)
	at org.glassfish.appclient.client.JWSAppClientContainerMain.insertMaskingLoader(JWSAppClientContainerMain.java:186)
	at org.glassfish.appclient.client.JWSAppClientContainerMain.main(JWSAppClientContainerMain.java:132)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)