Does anybody have a recipe for connecting iReport to MongoDB 2.4 for reporting?

0

I updated the Jar file in my iReport like the last answer to this question recommends: http://community.jaspersoft.com/questions/816104/ireport-5x-mongo-authentication-replica-set-authentication-failure

But turning on authentication in MongoDB breaks my reports.  I'm using iReport Pro 5.2.0 and MongoDB 2.4.6.

Here's a snippet from my MongoDB logs:

Mon Sep 23 17:18:22.139 [conn54] assertion 16550 not authorized for query on mongodb.system.namespaces ns:mongodb.system.namespaces query:{}
Mon Sep 23 17:19:00.973 [conn53] command denied: { replSetGetStatus: 1.0, forShell: 1.0 }
Mon Sep 23 17:19:03.530 [conn53] end connection 24.173.78.26:58419 (13 connections now open)
 
Any help would be appreciated.
pnichols_1's picture
Joined: Jul 16 2013 - 3:35pm
Last seen: 6 years 6 months ago

3 Answers:

0

Can you post the iReport IDE log snipplet with the error (in the menu got to VIEW/IDE Log)? It looks like is failing the authentication for some reason. 

Cna you try with the latest version of Jaspersoft Studio (http://community.jaspersoft.com/project/jaspersoft-studio) to see if you run into the same issue?

marianol's picture
5018
Joined: Sep 13 2011 - 8:04am
Last seen: 1 year 6 months ago
0

I can give Jaspersoft Studio a shot.  This is my iReport IDE Log:

 

-------------------------------------------------------------------------------
>Log Session: Tuesday, September 24, 2013 11:33:49 AM CDT
>System Info: 
  Product Version         = Jaspersoft iReport Designer Professional 5.2.0 
  Operating System        = Linux version 3.8.0-19-generic running on amd64
  Java; VM; Vendor        = 1.7.0_25; OpenJDK 64-Bit Server VM 23.7-b01; Oracle Corporation
  Runtime                 = OpenJDK Runtime Environment 1.7.0_25-b30
  Java Home               = /usr/lib/jvm/java-7-openjdk-amd64/jre
  System Locale; Encoding = en_US (ireportpro); UTF-8
  Home Directory          = /home/pnichols
  Current Directory       = /home/pnichols/Desktop/iReport-Professional-5.2.0/bin
  User Directory          = /home/pnichols/.ireportpro/5.2.0
  Installation            = /home/pnichols/Desktop/iReport-Professional-5.2.0/ireportpro
                            /home/pnichols/Desktop/iReport-Professional-5.2.0/ide10
                            /home/pnichols/Desktop/iReport-Professional-5.2.0/ireport
                            /home/pnichols/Desktop/iReport-Professional-5.2.0/nb6.5
                            /home/pnichols/Desktop/iReport-Professional-5.2.0/platform9
  Boot & Ext. Classpath   = /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/netx.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/plugin.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/classes:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/java-atk-wrapper.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/pulse-java.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunjce_provider.jar
  Application Classpath   = /home/pnichols/Desktop/iReport-Professional-5.2.0/platform9/lib/boot.jar:/home/pnichols/Desktop/iReport-Professional-5.2.0/platform9/lib/org-openide-modules.jar:/home/pnichols/Desktop/iReport-Professional-5.2.0/platform9/lib/org-openide-util.jar
  Startup Classpath       = /home/pnichols/Desktop/iReport-Professional-5.2.0/platform9/core/core.jar:/home/pnichols/Desktop/iReport-Professional-5.2.0/platform9/core/org-openide-filesystems.jar:/home/pnichols/Desktop/iReport-Professional-5.2.0/bin/./../ireportpro/core/locale/core_ireportpro.jar
-------------------------------------------------------------------------------
WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module com.jaspersoft.ireport: added = [module org.netbeans.modules.options.api/1 > 1.4, module org.netbeans.modules.db/1 > 1.24] removed = [module org.netbeans.modules.db/0-1 > 1.21.0.5, module org.netbeans.modules.options.api/0-1 > 1.5.1]; details: [Major release version of module changed from 0 to 1 to signal stability; update your dependencies]
WARNING [org.netbeans.core.startup.NbEvents]: The extension /home/pnichols/Desktop/iReport-Professional-5.2.0/ireport/modules/ext/slf4j-api-1.5.8.jar may be multiply loaded by modules: [/home/pnichols/Desktop/iReport-Professional-5.2.0/ireport/modules/com-jaspersoft-ireport-hadoop-hive.jar, /home/pnichols/Desktop/iReport-Professional-5.2.0/ireport/modules/com-jaspersoft-ireport.jar]; see: http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/ope...
WARNING [org.netbeans.core.startup.NbEvents]: The extension /home/pnichols/Desktop/iReport-Professional-5.2.0/ireport/modules/ext/slf4j-log4j12-1.5.8.jar may be multiply loaded by modules: [/home/pnichols/Desktop/iReport-Professional-5.2.0/ireport/modules/com-jaspersoft-ireport-hadoop-hive.jar, /home/pnichols/Desktop/iReport-Professional-5.2.0/ireport/modules/com-jaspersoft-ireport.jar]; see: http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/ope...
WARNING [org.netbeans.core.modules]: the module org.netbeans.modules.xml.text uses org.netbeans.modules.editor.deprecated.pre61completion which is deprecated.
WARNING [org.netbeans.core.modules]: the module org.netbeans.modules.db uses org.openide.options which is deprecated: Use org.openide.util.NbPreferences instead.
WARNING [org.netbeans.core.projects.cache]: Inefficient to include an empty layer in a module: jar:file:/home/pnichols/Desktop/iReport-Professional-5.2.0/ireport/modules/com-jaspersoft-ireport-mongodb.jar!/com/jaspersoft/ireport/mongodb/layer.xml
WARNING [org.netbeans.core.projects.cache]: Inefficient to include an empty layer in a module: jar:file:/home/pnichols/Desktop/iReport-Professional-5.2.0/ireportpro/modules/com-jaspersoft-ireport-partners.jar!/com/jaspersoft/ireport/partners/layer.xml
WARNING [org.netbeans.core.projects.cache]: Inefficient to include an empty layer in a module: jar:file:/home/pnichols/Desktop/iReport-Professional-5.2.0/ireport/modules/com-jaspersoft-ireport-hadoop-hive.jar!/com/jaspersoft/ireport/hadoop/hive/layer.xml
Cannot initialize GTK colors - using hardcoded defaults sun.swing.plaf.synth.SynthUI
com.jaspersoft.ireport.designer.IRURLClassLoader
com.jaspersoft.ireport.designer.ReportClassLoader
org.netbeans.ModuleManager$SystemClassLoader
sun.misc.Launcher$AppClassLoader
sun.misc.Launcher$ExtClassLoader
log4j:WARN No appenders could be found for logger (net.sf.jasperreports.extensions.ExtensionsEnvironment).
log4j:WARN Please initialize the log4j system properly.
Initializing MongoDb Module
Initializing Hive Module
Adding JSON data source...
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
        org.openide.util [7.18.1.1 1 200903060201]
        org.openide.modules [7.7.1 200903060201]
        org.netbeans.swing.outline [1.1.1 200903060201]
        org.openide.awt [7.3.1.1 200903060201]
        org.jdesktop.layout/1 [1.6.1 1.0.3 200903060201]
        org.netbeans.api.progress/1 [1.12.1.1 1 200903060201]
        org.openide.dialogs [7.8.1 200903060201]
        org.openide.nodes [7.7.3.1 200903060201]
        org.openide.explorer [6.16.3 1 200903060201]
        org.openide.windows [6.24.1 200903060201]
        org.openide.filesystems [7.13.1.1.1 1 200903060201]
        org.netbeans.modules.editor.mimelookup/1 [1.10.1 200903060201]
        org.openide.text [6.21.2 200903060201]
        org.openide.actions [6.8.1.1 200903060201]
        org.netbeans.modules.queries/1 [1.13.1 200903060201]
        org.openide.loaders [7.2.3 200903060201]
        org.netbeans.modules.projectapi/1 [1.19.2 200903060201]
        org.netbeans.modules.projectuiapi/1 [1.31.1.6 6 200903060201]
        org.netbeans.api.xml/1 [1.16.1 200903060201]
        org.netbeans.modules.xml.core/2 [1.15.1.4 4 200903060201]
        org.netbeans.modules.editor.settings/1 [1.22.1 200903060201]
        org.netbeans.modules.editor.util/1 [1.25.1 200903060201]
        org.netbeans.modules.editor.settings.storage/1 [1.18.1 200903060201]
        org.openide.options [6.9.1 200903060201]
        org.netbeans.modules.lexer/2 [1.29.1.1 1 200903060201]
        org.netbeans.modules.editor.lib2/1 [1.8.1.2 2 200903060201]
        org.netbeans.modules.editor.fold/1 [1.9.1 200903060201]
        org.netbeans.modules.editor.lib/1 [1.29.2.8.2 8 200903060201]
        org.openidex.util/3 [3.15.1 200903060201]
        org.netbeans.swing.tabcontrol [1.13.1 200903060201]
        org.netbeans.modules.editor.indent/2 [1.9.1.8 200903060201]
        org.netbeans.modules.editor/3 [1.41.1.3.8.2 3 200903060201]
        org.netbeans.modules.editor.deprecated.pre61settings/0 [1.1.0.1.3.8 1 200903060201]
        org.netbeans.modules.editor.deprecated.pre61completion/0 [1.0.1 200903060201]
        org.netbeans.modules.xml.lexer [1.3.1 200903060201]
        org.netbeans.modules.editor.structure/1 [1.17.1.1 1 200903060201]
        org.netbeans.modules.editor.completion/1 [1.13.2 1 200903060201]
        org.netbeans.modules.editor.bracesmatching/0 [1.6.1 200903060201]
        org.netbeans.spi.navigator/1 [1.7.1 200903060201]
        org.netbeans.modules.xml.text/2 [1.16.2.5 5 200903060201]
        org.netbeans.modules.print [6.5.1 200903060201]
        org.netbeans.api.visual [2.17.1 200903060201]
        org.netbeans.spi.quicksearch [1.0.1 200903060201]
        org.netbeans.modules.options.api/1 [1.10.2 200903060201]
        org.netbeans.libs.xerces/1 [1.12.1 2.8.0 200903060201]
        org.netbeans.modules.editor.errorstripe.api/1 [2.5.1.1 1 200903060201]
        org.netbeans.modules.languages/0 [1.90.1.1 1 200903060201]
        org.netbeans.bootstrap/1 [2.15.1 200903060201]
        org.netbeans.modules.sendopts/2 [2.3.1 200903060201]
        org.netbeans.spi.palette/1 [1.14.1 200903060201]
        org.netbeans.modules.favorites/1 [1.14.3 200903060201]
        org.netbeans.modules.classfile/1 [1.21.1 200903060201]
        org.openide.io [1.13.1 200903060201]
        org.netbeans.core.startup/1 [1.14.1.1 200903060201]
        org.netbeans.modules.javahelp/1 [2.11.1 200903060201]
        org.netbeans.modules.db/1 [1.30.3.30 30 200903060201]
        org.netbeans.core.multiview/1 [1.12.1 200903060201]
        com.jaspersoft.ireport/1 [1.0 1 130625]
        com.jaspersoft.ireport.jasperserver [1.0 130625]
        com.jaspersoft.ireport.addons [1.0 130625]
        org.netbeans.libs.jsr223/1 [1.8.1 6 200903060201]
        org.netbeans.swing.plaf [1.8.1 200903060201]
        org.netbeans.core/2 [3.10.4.1 200903060201]
        org.netbeans.modules.settings/1 [1.15.1 200903060201]
        org.openide.execution [1.12.1 200903060201]
        org.netbeans.core.execution/1 [1.12.1.1 200903060201]
        org.netbeans.libs.jna/1 [1.1.2 200903060201]
        org.netbeans.core.windows/2 [2.12.3.1 200903060201]
        org.netbeans.core.nativeaccess/1 [1.1.2 200903060201]
        com.jaspersoft.ireport.heartbeat [1.0 130625]
        org.netbeans.modules.web.flyingsaucer/1 [1.2.1 1 200903060201]
        org.netbeans.modules.editor.errorstripe/2 [2.5.1.1.1 1 200903060201]
        org.netbeans.modules.options.keymap [1.4.1 200903060201]
        org.netbeans.modules.options.editor/1 [1.10.1 200903060201]
        org.netbeans.modules.diff/1 [1.20.1.42.1 42 200903060201]
        org.netbeans.modules.editor.guards/1 [1.2.1 200903060201]
        org.netbeans.modules.refactoring.api [1.4.1 200903060201]
        org.netbeans.modules.languages.refactoring/0 [1.0.1.1 1 200903060201]
        org.netbeans.modules.extbrowser/1 [1.13.1 200903060201]
        org.netbeans.modules.autoupdate.services [1.5.2 200903060201]
        com.jaspersoft.jasperreports.license [1.0 130625]
        com.jaspersoft.ireport.components.fusion [1.0 130625]
        org.netbeans.modules.editor.macros/0 [1.2.1.1.8 1 200903060201]
        org.netbeans.modules.editor.mimelookup.impl/1 [1.3.1 200903060201]
        com.jaspersoft.jasperserver.ireport.domains [1.0 130625]
        org.netbeans.modules.editor.plain.lib/1 [1.6.1 200903060201]
        com.jaspersoft.ireport.samples [1.0 130625]
        org.netbeans.core.ui/1 [1.12.1 200903060201]
        org.netbeans.core.ide/1 [1.12.1 200903060201]
        org.netbeans.modules.defaults/1 [1.5.1 200903060201]
        org.netbeans.modules.masterfs/2 [2.15.2 200903060201]
        org.netbeans.modules.projectui [1.15.3.1.6 1 200903060201]
        org.netbeans.modules.db.dataview [1.0.3 200903060201]
        org.netbeans.core.output2/1 [1.10.1.1 1 200903060201]
        org.netbeans.modules.db.core [1.7.3 200903060201]
        org.netbeans.modules.dbapi [1.7.1.30 200903060201]
        org.netbeans.modules.db.mysql [0.1.3 2 200903060201]
        com.jaspersoft.ireport.mongodb [0.9.3 130625]
        com.jaspersoft.ireport.components [1.0 130625]
        org.netbeans.modules.db.drivers [1.2.1 200903060201]
        org.netbeans.modules.autoupdate.ui [1.5.1 200903060201]
        org.netbeans.modules.templates [1.3.1 200903060201]
        org.netbeans.modules.core.kit [1.2.4 200903060201]
        org.netbeans.modules.db.metadata.model/0 [0.1.1 200903060201]
        org.netbeans.modules.properties/1 [1.25.2 200903060201]
        org.netbeans.modules.properties.syntax/1 [1.20.1 200903060201]
        com.jaspersoft.ireport.partners [1.0 130625]
        org.netbeans.modules.updatecenters/1 [1.13.1 200903060201]
        org.netbeans.modules.progress.ui [1.2.1 200903060201]
        com.jaspersoft.ireport.hadoop.hive [1.0.4 130625]
        org.netbeans.modules.editor.plain/2 [1.7.1 200903060201]
        com.jaspersoft.jrx [1.0 130625]
        com.jaspersoft.ireport.designer.standalone [1.0 130625]
        com.jaspersoft.ireport.components.highcharts [1.0 130625]
        org.netbeans.modules.utilities/1 [1.29.1 200903060201]
        org.netbeans.modules.db.sql.visualeditor/1 [2.3.1.30 200903060201]
        org.netbeans.modules.db.sql.editor [1.7.1.30 200903060201]
Diagnostic information
Input arguments:
        -Djdk.home=/usr/lib/jvm/java-7-openjdk-amd64/jre
        -Dnetbeans.system_http_proxy=DIRECT
        -Dnetbeans.system_http_non_proxy_hosts=
        -Dnetbeans.dirs=./../ireportpro:./../ide10:./../ireport:./../nb6.5:
        -Dnetbeans.home=/home/pnichols/Desktop/iReport-Professional-5.2.0/platform9
        -Xms24m
        -Xmx512m
        -Dorg.netbeans.ProxyClassLoader.level=1000
        -XX:MaxPermSize=256m
Compiler: HotSpot 64-Bit Tiered Compilers
Heap memory usage: initial 24.0MB maximum 455.1MB
Non heap memory usage: initial 23.2MB maximum 304.0MB
Garbage collector: PS Scavenge (Collections=11 Total time spent=0s)
Garbage collector: PS MarkSweep (Collections=1 Total time spent=0s)
Classes: loaded=6173 total loaded=6173 unloaded 0
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 4,146,139,136
INFO [null]: Total physical memory 4,146,139,136
WARNING [org.openide.filesystems.Ordering]: Not all children in Menu/Window/ marked with the position attribute: [LayersAction.shadow], but some are: [FormattingToolsAction.shadow, OutlineAction.shadow, ErrorHandlerAction.shadow, IRConsoleAction.shadow, GenericInspectorAction.shadow, RepositoryAction.shadow, JRViewerAction.shadow, ViewFavoritesTabAction.shadow, StylesLibraryAction.shadow, ViewRuntimeTabAction.shadow, DomainsAction.shadow, ShowPaletteAction.shadow, org-netbeans-core-actions-GlobalPropertiesAction.shadow, Output, WelcomeAction.shadow, SwitchToRecentDocumentAction.shadow, ProgressListAction.shadow, Separator3.instance, CloseWindowAction.shadow, MaximizeWindowAction.shadow, org-netbeans-core-windows-actions-UndockAction.shadow, Separator4.instance, CloneDocumentAction.shadow, CloseAllDocumentsAction.shadow, CloseAllButThisAction.shadow, DocumentsAction.shadow, Separator5.instance, org-netbeans-core-windows-actions-ResetWindowsAction.shadow]
WARNING [org.openide.filesystems.Ordering]: Found same position 1000 for both Menu/Tools/com-jaspersoft-ireport-designer-standalone-actions-ImportSettingsAction.shadow and Menu/Tools/org-netbeans-modules-favorites-templates-TemplatesAction.instance
WARNING [org.openide.loaders.InstanceDataObject]: instanceClass was a com.jaspersoft.ireport.samples.OpenSampleAction
WARNING [org.openide.loaders.InstanceDataObject]: instanceClass was a com.jaspersoft.ireport.samples.OpenSampleAction
WARNING [org.openide.loaders.InstanceDataObject]: instanceClass was a com.jaspersoft.ireport.samples.OpenSampleAction
WARNING [org.openide.loaders.InstanceDataObject]: instanceClass was a com.jaspersoft.ireport.samples.OpenSampleAction
WARNING [org.openide.loaders.InstanceDataObject]: instanceClass was a com.jaspersoft.ireport.samples.OpenSampleAction
WARNING [org.openide.loaders.InstanceDataObject]: instanceClass was a com.jaspersoft.ireport.samples.OpenSampleAction
WARNING [org.openide.loaders.InstanceDataObject]: instanceClass was a com.jaspersoft.ireport.samples.OpenSampleAction
Action Basic_report created!
Action Elements created!
Action Parameters_and_Variables created!
Action Groups created!
Action Fonts created!
Action Charts created!
Action Subreports created!
Action Crosstabs created!
Charset used: UTF-8!!!!
WARNING [org.netbeans.core.multiview.MultiViewTopComponent]: The MultiviewDescription instance class com.jaspersoft.ireport.designer.JrxmlTextView is not serializable. Cannot persist TopComponent.
Charset used: UTF-8!!!!
Charset used: UTF-8!!!!
Charset used: UTF-8!!!!
Active top component: graph_and_number_small_2.jrxml /home/pnichols/Documents/jasper-reports/graph_and_number_small_2.jrxml
<font face="SansSerif" size="3" color="#000000"><img align="right" src="jar:file:/home/pnichols/Desktop/iReport-Professional-5.2.0/ireport/modules/com-jaspersoft-ireport.jar!/com/jaspersoft/ireport/designer/compiler/comp1_mini.jpg"> &nbsp;Compiling to file... /home/pnichols/Documents/jasper-reports/graph_and_number_small_2.jasper</font>
<font face="SansSerif"  size="3" color="#0000CC"><b>Compilation running time: 774!</b></font><hr>
<font face="SansSerif" size="3" color="#000000"><img align="right" src="jar:file:/home/pnichols/Desktop/iReport-Professional-5.2.0/ireport/modules/com-jaspersoft-ireport.jar!/com/jaspersoft/ireport/designer/compiler/rundb1_mini.jpg"> &nbsp;Filling report...</font>
<font face="SansSerif" size="3" color="#000000"><img align="right" src="jar:file:/home/pnichols/Desktop/iReport-Professional-5.2.0/ireport/modules/com-jaspersoft-ireport.jar!/com/jaspersoft/ireport/designer/compiler/world.png"> &nbsp;Locale: <b>English (United States)</b></font>
<font face="SansSerif" size="3" color="#000000"><img align="right" src="jar:file:/home/pnichols/Desktop/iReport-Professional-5.2.0/ireport/modules/com-jaspersoft-ireport.jar!/com/jaspersoft/ireport/designer/compiler/timezone.png"> &nbsp;Time zone: <b>Default</b></font>
Error filling print... java.lang.IllegalAccessError: tried to access method net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.<init>(Lnet/sf/jasperreports/engine/JRDataset;Ljava/util/Map;)V from class com.jaspersoft.mongodb.query.MongoDbQueryExecuterFactory null
Setting up the file resolver...
java.lang.IllegalAccessError: tried to access method net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.<init>(Lnet/sf/jasperreports/engine/JRDataset;Ljava/util/Map;)V from class com.jaspersoft.mongodb.query.MongoDbQueryExecuterFactory
        at com.jaspersoft.mongodb.query.MongoDbQueryExecuterFactory.createQueryExecuter(MongoDbQueryExecuterFactory.java:48)
        at net.sf.jasperreports.engine.util.JRQueryExecuterUtils$WrappingQueryExecuterFactory.createQueryExecuter(JRQueryExecuterUtils.java:155)
        at net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:1084)
        at net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:668)
        at net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1281)
        at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:900)
        at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:845)
        at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:61)
        at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:446)
        at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:276)
        at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:745)
        at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:891)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
<font face="SansSerif"  size="3">Print not filled. Try to use an EmptyDataSource...</font>
 
pnichols_1's picture
Joined: Jul 16 2013 - 3:35pm
Last seen: 6 years 6 months ago

This is the exception by itself:

Setting up the file resolver... java.lang.IllegalAccessError: tried to access method net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.<init>(Lnet/sf/jasperreports/engine/JRDataset;Ljava/util/Map;)V from class com.jaspersoft.mongodb.query.MongoDbQueryExecuterFactory     at com.jaspersoft.mongodb.query.MongoDbQueryExecuterFactory.createQueryExecuter(MongoDbQueryExecuterFactory.java:48)     at net.sf.jasperreports.engine.util.JRQueryExecuterUtils$WrappingQueryExecuterFactory.createQueryExecuter(JRQueryExecuterUtils.java:155)     at net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:1084)     at net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:668)     at net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1281)     at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:900)     at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:845)     at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:61)     at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:446)     at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:276)     at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:745)     at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:891)     at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)     at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Print not filled. Try to use an EmptyDataSource...

pnichols_1 - 6 years 6 months ago
0

Jaspersoft Studio gives me an error that looks similar to what I've been seeing with iReport:

 

net.sf.jasperreports.engine.JRException: not authorized for query on test.system.namespaces
at com.jaspersoft.mongodb.connection.MongoDbConnection.setDatabase(MongoDbConnection.java:103)
at com.jaspersoft.mongodb.connection.MongoDbConnection.<init>(MongoDbConnection.java:71)
at com.jaspersoft.mongodb.adapter.MongoDbDataAdapterService.createConnection(MongoDbDataAdapterService.java:62)
at com.jaspersoft.mongodb.adapter.MongoDbDataAdapterService.test(MongoDbDataAdapterService.java:82)
at com.jaspersoft.studio.data.wizard.AbstractDataAdapterWizard$3.run(AbstractDataAdapterWizard.java:163)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
 
pnichols_1's picture
Joined: Jul 16 2013 - 3:35pm
Last seen: 6 years 6 months ago
Feedback
randomness