Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sample java EE application not running on netbeans PLESASE HELP.

 
Meherdad Bomanbehram
Ranch Hand
Posts: 142
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all I am tryiong to run the sample application "Interceptor Stateless" on netbeans 6.8 . It seems to compile and deploy ok but when i try to run it I get the following error
Can some one please4 guide me as to what is going worng ?

Undeploying ...
Initial deploying InterceptorStateless to C:\Users\user-000\Documents\NetBeansProjects\InterceptorStateless\dist\gfdeploy\InterceptorStateless
Completed initial distribution of InterceptorStateless
post-run-deploy:
run-deploy:
Warning: Could not find file C:\sges-v3\glassfish\domains\domain1\generated\xml\InterceptorStateless\InterceptorStatelessClient.jar to copy.
Copying 1 file to C:\Users\user-000\Documents\NetBeansProjects\InterceptorStateless\dist
Copying 4 files to C:\Users\user-000\Documents\NetBeansProjects\InterceptorStateless\dist\InterceptorStatelessClient
Copying 1 file to C:\Users\user-000\Documents\NetBeansProjects\InterceptorStateless\dist\InterceptorStatelessClient
java.lang.NullPointerException
at org.glassfish.appclient.client.acc.ACCLogger$1.run(ACCLogger.java:149)
at java.security.AccessController.doPrivileged(Native Method)
at org.glassfish.appclient.client.acc.ACCLogger.reviseLogger(ACCLogger.java:146)
at org.glassfish.appclient.client.acc.ACCLogger.init(ACCLogger.java:93)
at org.glassfish.appclient.client.acc.ACCLogger.<init>(ACCLogger.java:80)
at org.glassfish.appclient.client.AppClientFacade.createBuilder(AppClientFacade.java:360)
at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:247)
at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:323)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:338)
Java Result: 1
run-InterceptorStateless-app-client:
run:
BUILD SUCCESSFUL (total time: 10 seconds)
 
M Yama
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to change your GlassFish to v3.0.1 or v3.1.
You can download it from http://download.java.net/glassfish/v3.1/nightly/
Add and use the new Glassfish server to the NetBeans.

Yamaguti
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic