facebook

exception while running the tutorial report

  1. MyEclipse Archived
  2.  > 
  3. MyEclipse Reports
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #289089 Reply

    cannelle
    Member

    Hi all,

    I tried to run a report using the MyEclipse tutorial http://www.myeclipseide.com/documentation/reporting/quickstart/

    and when I try to run it on a web browser, I have this exception :

    org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report; nested exception is: java.lang.NoClassDefFoundError: org.eclipse.birt.report.data.adapter.api.DataSessionContext
    java.lang.Class.initializeClass(libgcj.so.81)
    org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.(DataGenerationEngine.java:59)
    org.eclipse.birt.report.engine.data.DataEngineFactory.createDataEngine(DataEngineFactory.java:84)
    org.eclipse.birt.report.engine.executor.ExecutionContext.openDataEngine(ExecutionContext.java:706)
    org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:199)
    org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:87)
    org.eclipse.birt.report.service.ReportEngineService.runReport(Unknown Source)
    org.eclipse.birt.report.service.BirtViewerReportService.runReport(Unknown Source)
    org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(Unknown Source)
    org.eclipse.birt.report.service.actionhandler.BirtGetPageActionHandler.__checkDocumentExists(Unknown Source)
    org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.prepareParameters(Unknown Source)
    org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.__execute(Unknown Source)
    org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(Unknown Source)
    org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(Unknown Source)
    org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(Unknown Source)
    org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleGetPage(Unknown Source)
    java.lang.reflect.Method.invoke(libgcj.so.81)
    org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(Unknown Source)
    org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(Unknown Source)
    java.lang.reflect.Method.invoke(libgcj.so.81)
    org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
    org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(Unknown Source)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    java.lang.Thread.run(libgcj.so.81)

    The derby server and MyEclipse Tomcat are both running.
    I retrieve the data from an Oracle database.

    I’m using Eclipse 3.3 and MyEclipse 6.5.1 on Linux (Ubuntu).

    Any idea about what is going wrong ?

    thanks for your help.

    #289097 Reply

    Loyal Water
    Member

    Can you go to MyEclipse > Installation Summary > installation Details and paste the information here for me.

    When you setup MyEclipse Reports with MyEclipse, did you get any errors?

    Can you go to MyEclipse > Example-On-Demand and try running the MERSimpleReportExample. Do you face the same issue?

    #289099 Reply

    cannelle
    Member

    here is the installation summary :

    *** Date: 
    Tuesday, September 16, 2008 3:14:20 PM EDT
    
    ** System properties:
    OS=Linux
    OS version=2.6.24-19-generic
    Java version=1.6.0_06
    
    
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.5.1 GA
    Build id: 6.5.1-GA-20080715
    
    
    *** Eclipse details:
    Eclipse SDK
    
    Version: 3.3.1.1
    Build id: M20071023-1652
    
    
    
    
    Eclipse Project SDK
    
    Version: 3.3.2.R33x_r20071022-7M7J7C_Mu2gop0b_GAwplOBhyuKO
    Build id: M20071023-1652
    
    
    Eclipse Platform
    
    Version: 3.3.2.R33x_v20071022-_19UEksF-G8Yc6bUv3Dz
    Build id: M20071023-1652
    
    
    Eclipse RCP
    
    Version: 3.3.2.R33x_r20071022-8y8eE9CEV3FspP8HJrY1M2dS
    Build id: M20071023-1652
    
    
    Eclipse Plug-in Development Environment
    
    Version: 3.3.2.R33x_r20071022-7N7M4CYWLBCz-yHkMIuHN
    Build id: M20071023-1652
    
    
    Eclipse Java Development Tools
    
    Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
    Build id: M20071023-1652
    
    
    Eclipse Graphical Editing Framework
    
    Version: 3.3.2.v20080129
    Build id: 20080221-1602
    
    
    
    
    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86_64
    -showsplash
    -launcher
    /opt/eclipse/eclipse
    -name
    Eclipse
    --launcher.library
    /opt/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.2.R331_v20071019/eclipse_1021.so
    -startup
    /opt/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
    -exitdata
    3d0012
    -vm
    /usr/bin/java

    I installed Eclipse 3.3 and MyEclipse 6.5.1 today.
    I just untared the eclipse3.3, run it and then I when to Help>Software Update>find and install and I pointed to the MyEclipseDiscoveryArchive.zip

    the report feature was available then.

    I will try to run the MERSimpleReportExample and see what happens.

    #289100 Reply

    cannelle
    Member

    Yes, the MERSimpleReportExample generates exactly the same exception.

    #289105 Reply

    Loyal Water
    Member

    If you go to File > New > Project > MyEclipse, do you see the Report Development > Report Web Project option in there?

    #289106 Reply

    cannelle
    Member

    Yes, I can see it and I used it to create my report.

    I have also another issue : I can see nothing in the Property Editor thumbnail even when I select the “table” object.

    #289111 Reply

    cannelle
    Member

    after restarting with a new workspace, it’s finally working in MyEclipse browser (the property editor too).

    But I still have an exception when I type the url in an external browser (no stack trace is displayed). It’s just saying : version mismatch.
    Do you know why ?

    thanks.

    #289137 Reply

    Loyal Water
    Member

    Can you paste the entire exception here for me. I feel you might have to switch to Java 1.5. I’ll take a look at the exception and let you know.

    #289165 Reply

    cannelle
    Member

    It’s working on any other browser than Firefox 3. And when I have this exception on F3, I can only see the message :
    Exception : version Mismatch

    and the stack trace is empty.

    #289170 Reply

    Loyal Water
    Member

    Is there any additional information about this error recorded under <workspace>/.metadata/.log file?

    #289172 Reply

    cannelle
    Member

    no, nothing.

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: exception while running the tutorial report

You must be logged in to post in the forum log in