Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Read A CrossTab reptdesign from a java EE application (Error when reading a .reptDesign file and not when preiewing it in the birt report viewer)
Read A CrossTab reptdesign from a java EE application [message #1073162] Wed, 24 July 2013 04:48 Go to next message
fateh titouche is currently offline fateh titouche
Messages: 4
Registered: July 2013
Junior Member
hi, i am woeking on birt 4.2 and tomcat 6, struts 2 , i have designed a crosstab with birt, when i preview this it works, but when i try to open this file (".rptdeign") from my web application i have this stack trace:
Error.DesignFileException.SYNTAX_ERROR - 19 errors found! 
1.)  ( line = 4911, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
2.)  ( line = 4917, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
3.)  ( line = 4923, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
4.)  ( line = 4930, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
5.)  ( line = 4936, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
6.)  ( line = 4937, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
7.)  ( line = 4938, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
8.)  ( line = 4945, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
9.)  ( line = 4946, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
10.)  ( line = 4947, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
11.)  ( line = 4948, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
12.)  ( line = 4955, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
13.)  ( line = 4956, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
14.)  ( line = 4957, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
15.)  ( line = 4958, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
16.)  ( line = 4965, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
17.)  ( line = 4972, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
18.)  ( line = 4979, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
19.)  ( line = 4986, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[0] is full.)
Re: Read A CrossTab reptdesign from a java EE application [message #1073189 is a reply to message #1073162] Wed, 24 July 2013 05:36 Go to previous messageGo to next message
donino donino is currently offline donino donino
Messages: 160
Registered: July 2011
Senior Member
Fateh, i already encountered this error with a report developed in v4.3 designer and opened with a v4.2 birt engine, especially when we make use of crosstables. Double check if your report has been developed in the same designer version as your birt engine.
Re: Read A CrossTab reptdesign from a java EE application [message #1073682 is a reply to message #1073189] Thu, 25 July 2013 05:47 Go to previous messageGo to next message
fateh titouche is currently offline fateh titouche
Messages: 4
Registered: July 2013
Junior Member
for information i use two data bases to construct the data cube, one is oracle 10g and the second is mysql 5.1, can someone help me to résolve my problem? add to this my report (the .rptdesign) works well on birt viewer but dont work when i call it from my java action classe , i can read other reports from the same java action classe, but all the reports based en data cube don't work

[Updated on: Thu, 25 July 2013 11:19]

Report message to a moderator

Re: Read A CrossTab reptdesign from a java EE application [message #1074189 is a reply to message #1073682] Fri, 26 July 2013 04:50 Go to previous messageGo to next message
fateh titouche is currently offline fateh titouche
Messages: 4
Registered: July 2013
Junior Member
this is the complete stack trace
26 juil. 2013 10:44:51 org.eclipse.birt.report.model.parser.ModuleReader readModule
GRAVE: Line Number:4555 Error Code:Error.XMLParserException.EXCEPTION Exception:org.eclipse.birt.report.model.api.command.ContentException: The slot(header) of the report.Body[2] is full. Message:A generic exception occurred. 
26 juil. 2013 10:44:51 org.eclipse.birt.report.engine.api.impl.ReportEngineHelper getReportDesignHandle
GRAVE: invalid design file file:/C:/Users/[b]totot[/b]/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/ControleInterneV4/reports/restitParEntreprise.rptdesign
org.eclipse.birt.report.engine.api.EngineException: The design file file:/C:/Users/toto.VEDOM1/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/ControleInterneV4/reports/restitParEntreprise.rptdesign has error and can not be run.
	at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.getReportDesignHandle(ReportEngineHelper.java:260)
	at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:274)
	at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:196)
	at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:130)
	at org.eclipse.birt.report.engine.api.impl.ReportEngine.openReportDesign(ReportEngine.java:310)
	at com.toto.ci.struts.action.ReportAction.genereRapport(ReportAction.java:120)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441)
	at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243)
	at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165)
	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252)
	at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)

	at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:235)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:130)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:138)
	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:165)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:179)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at com.toto.ci.struts.interceptors.totoValidationInterceptor.intercept(totoValidationInterceptor.java:20)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
	at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)
	at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.toto.ci.filter.UserFilter.doFilter(UserFilter.java:37)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.toto.utils.ActionMessageUtils.doFilter(ActionMessageUtils.java:50)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.toto.ci.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:71)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at fr.smile.hibernate.HibernateFilter.doFilter(HibernateFilter.java:56)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at fr.smile.bench.BenchFilter.doFilter(BenchFilter.java:36)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.toto.ci.filter.ExceptionFilter.doFilter(ExceptionFilter.java:24)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
	at java.lang.Thread.run(Unknown Source)
Caused by: Error.DesignFileException.SYNTAX_ERROR - 1 errors found! 
1.)  ( line = 4555, tag = extended-item)   (Element = ExtendedItem, Name = null), org.eclipse.birt.report.model.api.command.ContentException (code = Error.ContentException.SLOT_IS_FULL, message : The slot(header) of the report.Body[2] is full.)

	at org.eclipse.birt.report.model.parser.ModuleParserHandler.doEndDocument(ModuleParserHandler.java:348)
	at org.eclipse.birt.report.model.parser.ModuleParserHandler.endDocument(ModuleParserHandler.java:278)
	at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source)
	at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
	at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
	at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
	at org.eclipse.birt.report.model.parser.ModuleReader.readModule(ModuleReader.java:97)
	at org.eclipse.birt.report.model.parser.DesignReader.read(DesignReader.java:88)
	at org.eclipse.birt.report.model.core.DesignSessionImpl.openDesign(DesignSessionImpl.java:315)
	at org.eclipse.birt.report.model.api.SessionHandleImpl.openDesign(SessionHandleImpl.java:294)
	at org.eclipse.birt.report.engine.parser.ReportParser.getDesignHandle(ReportParser.java:158)
	at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.getReportDesignHandle(ReportEngineHelper.java:255)
	... 89 more
 [26 juil. 2013 10:44:51 - controle-interne] DEBUG (BenchFilter.java:39) - Bench filter : Total : 21984 ms  [/controle-interne/rapport/genereRapport.action][null]
 
Re: Read A CrossTab reptdesign from a java EE application [message #1103374 is a reply to message #1074189] Fri, 06 September 2013 13:34 Go to previous messageGo to next message
Anbukkani G is currently offline Anbukkani G
Messages: 1
Registered: September 2013
Junior Member
Hi.
i am new in java developer.Me to facing same kind of issue please any one help me.
.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/[my application name] does not exist or is not a readable directory

Thanks and Regards
Anbukkani.G
Re: Read A CrossTab reptdesign from a java EE application [message #1107199 is a reply to message #1103374] Thu, 12 September 2013 00:41 Go to previous message
Kristopher Clark is currently offline Kristopher Clark
Messages: 107
Registered: January 2013
Senior Member
Reading through this thread it's unclear what the solution was but he said it was resolved due to a version problem. Are you trying to render a report that was designed in an different version than what you're using?
Previous Topic:Implementing IProgressMonitor when using Birt viewer tag
Next Topic:EXCEPTION - "optional metadata of column 1 are not available"
Goto Forum:
  


Current Time: Mon Apr 21 03:05:43 EDT 2014

Powered by FUDForum. Page generated in 0.01912 seconds