Jump to content
We've recently updated our Privacy Statement, available here ×

NbPreferences error in setting up a WS


simonabertozzi

Recommended Posts

Hello,

I managed to successfully set up a web service that calls, executes and exports reports with parameters in pdf. However, I always get this warning:

 

org.openide.util.NbPreferences getPreferencesProvider
WARNING: NetBeans implementation of Preferences not found: java.lang.Exception
at org.openide.util.NbPreferences.getPreferencesProvider(NbPreferences.java:110)
at org.openide.util.NbPreferences.forModule(NbPreferences.java:75)
at com.jaspersoft.ireport.designer.IReportManager.getPreferences(IReportManager.java:1267)
at com.jaspersoft.ireport.jasperserver.ws.WSClient.getManagementService(WSClient.java:649)
at com.jaspersoft.ireport.jasperserver.ws.WSClient.runReport(WSClient.java:399)
 
It's a simple warning so the web service actually works, but I was wondering how can I remove it? Is it maybe some jar library I'm missing? Here is my list of current import:
 
com-jaspersoft-ireport-jasperserver.jar
js_activation-1.1.jar
js_axis-1.4patched.jar
commons-logging-1.1.jar
js_commons-codec-1.3.jar
js_commons-discovery-0.2.jar
js_commons-httpclient-3.1.jar
js_jasperserver-common-ws-4.7.1.ja
js_jaxrpc.jar
js_mail-1.4.jar
js_saaj-api-1.3.jar
js_wsdl4j-1.5.1.jar
jasperreports-5.0.0.jar
com-jaspersoft-ireport.jar
org-openide-modules.jar
org-openide-util.jar
log4j-1.2.15.jar
xercesImpl-2.9.0.jar
jasperreports-fonts-5.0.0.jar
 
Any help would be greatly appreciated!
Best regards,
Simona

 

Link to comment
Share on other sites

  • 1 month later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

After a bit of work I managed to solve my problem, so I'm posting it here for future reference.

I simply needed to add the following NetBeans jars (I found them on my ireport installation) in this order:

- boot.jar

- org-openide-filesystems.jar

- core.jar

And the error disappeard!

Best regards,

Simona

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...