NbPreferences error in setting up a WS

0

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

 

simonabertozzi's picture
Joined: Oct 13 2011 - 6:47am
Last seen: 1 year 7 months ago

1 Answer:

0

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

 

 

simonabertozzi's picture
Joined: Oct 13 2011 - 6:47am
Last seen: 1 year 7 months ago
Feedback