Jump to content
JasperReports Library 7.0 is now available ×

Problem while compiling jrxml file having MySQL procedure with parameters?


javianjava

Recommended Posts

Hi friends,

       My procedure is

                          CALL GET_LOST_PROPERTY_Info_DETAILS1($P{PropertyRegNo},$P{LangCd})

      My database is MySQL.

     I am unable to compile my jrxml file.

     I am using SQL query language and parameters types are BIGINT and INT in database.

    I am new to use procedures in iReport.

Please let me know the steps to get result of procedure in a report.

Exception is as fallows in IReport.

java.lang.ArrayIndexOutOfBoundsException: -1
 at java.util.Vector.elementAt(Vector.java:430)
 at javax.swing.JTabbedPane.getTitleAt(JTabbedPane.java:1091)
 at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.updateHtmlViews(BasicTabbedPaneUI.java:3564)
 at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.componentAdded(BasicTabbedPaneUI.java:3699)
 at java.awt.Container.processContainerEvent(Container.java:2067)
 at java.awt.Container.processEvent(Container.java:2038)
 at java.awt.Component.dispatchEventImpl(Component.java:4630)
 at java.awt.Container.dispatchEventImpl(Container.java:2099)
 at java.awt.Component.dispatchEvent(Component.java:4460)
 at java.awt.Container.addImpl(Container.java:1085)
 at javax.swing.JTabbedPane.insertTab(JTabbedPane.java:703)
 at javax.swing.JTabbedPane.addTab(JTabbedPane.java:777)
 at javax.swing.JTabbedPane.add(JTabbedPane.java:814)
 at com.jaspersoft.ireport.designer.logpane.IRConsoleTopComponent.updateLogTabs(IRConsoleTopComponent.java:87)
 at com.jaspersoft.ireport.designer.logpane.IRConsoleTopComponent.createNewLog(IRConsoleTopComponent.java:202)
 at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:237)
 at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)

 

 

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 months later...

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