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

java.security.AccessControlException:


Recommended Posts

By: Dianna McDonald - grlgeek

java.security.AccessControlException:

2003-07-02 17:31

Hello,

 

I have an application that can be downloaded via WebStart. It works fine until I try to view a Jasper report, then I the following error:

 

======================================

java.security.AccessControlException: access denied (java.lang.RuntimePermission org.jboss.security.SecurityAssociation.getPrincipalInfo)

at java.security.AccessControlContext.checkPermission(Unknown Source)

at java.security.AccessController.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkPermission(Unknown Source)

at org.jboss.security.SecurityAssociation.getPrincipal(SecurityAssociation.java:112)

at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:74)

at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:111)

at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)

at $Proxy3.getTestHistoryDto(Unknown Source)

at com.apparenet.client.proxy.TestServicesProxyImpl.getTestInfo(TestServicesProxyImpl.java:218)

at com.apparenet.client.swing.model.test.results.TestResultsModel.queryResults(TestResultsModel.java:150)

at com.apparenet.client.swing.model.test.results.TestResultsModel.<init>(TestResultsModel.java:112)

at com.apparenet.client.swing.model.test.report.TestReportResultsDataSource.setFilterParams(TestReportResultsDataSource.java:53)

at appareNetReport.evaluate(appareNetReport.java:318)

at dori.jasper.engine.fill.JRCalculator.evaluate(JRCalculator.java:678)

at dori.jasper.engine.fill.JRCalculator.evaluate(JRCalculator.java:614)

at dori.jasper.engine.fill.JRFillSubreport.evaluate(JRFillSubreport.java:335)

at dori.jasper.engine.fill.JRFillBand.evaluate(JRFillBand.java:371)

at dori.jasper.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:1025)

at dori.jasper.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:602)

at dori.jasper.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:262)

at dori.jasper.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:165)

at dori.jasper.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:496)

at dori.jasper.engine.fill.JRFiller.fillReport(JRFiller.java:144)

at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:350)

at com.apparenet.client.swing.controller.test.GenerateReportAction.actionPerformed(GenerateReportAction.java:171)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

 

NESTED BY :

dori.jasper.engine.JRException: Error evaluating expression value : dataSource_1

at dori.jasper.engine.fill.JRCalculator.evaluate(JRCalculator.java:685)

at dori.jasper.engine.fill.JRCalculator.evaluate(JRCalculator.java:614)

at dori.jasper.engine.fill.JRFillSubreport.evaluate(JRFillSubreport.java:335)

at dori.jasper.engine.fill.JRFillBand.evaluate(JRFillBand.java:371)

at dori.jasper.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:1025)

at dori.jasper.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:602)

at dori.jasper.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:262)

at dori.jasper.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:165)

at dori.jasper.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:496)

at dori.jasper.engine.fill.JRFiller.fillReport(JRFiller.java:144)

at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:350)

at com.apparenet.client.swing.controller.test.GenerateReportAction.actionPerformed(GenerateReportAction.java:171)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission org.jboss.security.SecurityAssociation.getPrincipalInfo)

at java.security.AccessControlContext.checkPermission(Unknown Source)

at java.security.AccessController.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkPermission(Unknown Source)

at org.jboss.security.SecurityAssociation.getPrincipal(SecurityAssociation.java:112)

at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:74)

at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:111)

at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)

at $Proxy3.getTestHistoryDto(Unknown Source)

at com.apparenet.client.proxy.TestServicesProxyImpl.getTestInfo(TestServicesProxyImpl.java:218)

at com.apparenet.client.swing.model.test.results.TestResultsModel.queryResults(TestResultsModel.java:150)

at com.apparenet.client.swing.model.test.results.TestResultsModel.<init>(TestResultsModel.java:112)

at com.apparenet.client.swing.model.test.report.TestReportResultsDataSource.setFilterParams(TestReportResultsDataSource.java:53)

at appareNetReport.evaluate(appareNetReport.java:318)

at dori.jasper.engine.fill.JRCalculator.evaluate(JRCalculator.java:678)

... 36 more

======================================

 

We've associated the report with a datasource that makes an RMI call and that's causing the exception.

 

Has anyone else come across a similar issue and/or knows how to solve this problem?

 

Cheers

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...