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

georg.schmiditdesign.de

Members
  • Posts

    26
  • Joined

  • Last visited

georg.schmiditdesign.de's Achievements

Explorer

Explorer (4/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Dear all, I have created a adhoc report out of a crosstab adhoc view. As the adhoc report is generated automatically, it contains one column to show the value of several fields: The value is determined by the name of the field currently in use. As I want to hide the total sum of only one of the columns (measures), I am searching for a way to control the conditional formatting applied to the cell to set the font color to white in order to hide it. Is this possible with the described approach or do you know a better option? Any help is highly welcome :) Thanks and regards Georg
  2. as I have exactly the same stack trace with any report containing text fields, I kindly ask you to post your fix of this problem if you have any. Likewise, I will keep you posted if I have any progress. I am on Linux, with Jaspersoft 6.2.1 Thank you some much and regards Georg
  3. Hi try_walking_in, as I have exactly the same stack trace with any report containing text fields, I kindly ask you to post your fix of this problem if you have any. Likewise, I will keep you posted if I have any progress. I am on Linux, with Jaspersoft 6.2.1 Thank you some much and regards Georg
  4. I guess this is related to the version 3.2.4 of FusionCharts which is used by Jaspersoft. I have tried with version 3.5.1 and it worked fine :) What is also strange is that when looking at the rendered HTML, you still can see the reference to the Gantt.swf, even though the renderer is set to javascript.
  5. Hi there, could anyone please give me an update on the status of following ticket on the problem with custom function in Jaspersoft Studio. https://community.jaspersoft.com/jaspersoft-studio/issues/3972 Thanks a lot for your support!
  6. I just tried with Community Edition 6.0.3 and got the same error. @mrabbi: Which version should fix this bug? Oddly, it works in 5.6.1, but there, I have another problem already reported before: http://community.jaspersoft.com/questions/841321/have-restart-jaspersoft-studio-if-customized-jasper-function-library-get-changed Where are the function referenced cached in the workspace? I even created a new library project with a sample report, but it somehow used different versions of another library project. The solution according to another post is to register the new functions, but the example functions should be already available in 6.0.3 as they are in 5.6.1: https://community.jaspersoft.com/questions/848371/custom-functions As I already have lost a lot of time with trial and error, I really hope for some hints :)
  7. It just also worked by just restarting the Studio, without even creating a new project. It only did not work after the first use of the function in an expression.
  8. With version 6.0.1, I cannot use HTTP PUT to add users as I keep getting a HTTP Status 415 - Unsupported Media Type in response from the server. The URL is: http://<host>:<port>/jasperserver-pro/rest_v2/users/testuser?Content-Type=application/json The content is: { "fullName":"Testuser", "emailAddress":"testuser@example.com", "enabled":true, "password":"mySecretPassword", "roles":[ {"name":"ROLE_DEMO"}]}In the log, I can see the following: 2015-03-06 14:26:12,177 ERROR GenericExceptionMapper,http-apr-8080-exec-2:47 - Unexpected error occursjavax.ws.rs.WebApplicationException: com.sun.jersey.api.MessageException: A message body reader for Java class com.jaspersoft.jasperserver.dto.authority.ClientUser, and Java type class com.jaspersoft.jasperserver.dto.authority.ClientUser, and MIME media type text/plain; charset=UTF-8 was not found.The registered message body readers compatible with the MIME media type are:text/plain; charset=UTF-8 -> com.sun.jersey.core.impl.provider.entity.StringProvider com.sun.jersey.core.impl.provider.entity.ReaderProvider*/* -> com.sun.jersey.core.impl.provider.entity.FormProvider com.sun.jersey.core.impl.provider.entity.MimeMultipartProvider com.sun.jersey.core.impl.provider.entity.StringProvider com.sun.jersey.core.impl.provider.entity.ByteArrayProvider com.sun.jersey.core.impl.provider.entity.FileProvider com.sun.jersey.core.impl.provider.entity.InputStreamProvider com.sun.jersey.core.impl.provider.entity.DataSourceProvider com.sun.jersey.core.impl.provider.entity.XMLJAXBElementProvider$General com.sun.jersey.core.impl.provider.entity.ReaderProvider com.sun.jersey.core.impl.provider.entity.DocumentProvider com.sun.jersey.core.impl.provider.entity.SourceProvider$StreamSourceReader com.sun.jersey.core.impl.provider.entity.SourceProvider$SAXSourceReader com.sun.jersey.core.impl.provider.entity.SourceProvider$DOMSourceReader com.sun.jersey.json.impl.provider.entity.JSONJAXBElementProvider$General com.sun.jersey.json.impl.provider.entity.JSONArrayProvider$General com.sun.jersey.json.impl.provider.entity.JSONObjectProvider$General com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider$General com.sun.jersey.core.impl.provider.entity.XMLListElementProvider$General com.sun.jersey.core.impl.provider.entity.XMLRootObjectProvider$General com.sun.jersey.core.impl.provider.entity.EntityHolderReader com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider$General com.sun.jersey.json.impl.provider.entity.JSONListElementProvider$General com.sun.jersey.json.impl.provider.entity.JacksonProviderProxy at com.sun.jersey.spi.container.ContainerRequest.getEntity(ContainerRequest.java:470)at com.sun.jersey.server.impl.model.method.dispatch.EntityParamDispatchProvider$EntityInjectable.getValue(EntityParamDispatchProvider.java:123)at com.sun.jersey.server.impl.inject.InjectableValuesProvider.getInjectableValues(InjectableValuesProvider.java:46)at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$EntityParamInInvoker.getParams(AbstractResourceMethodDispatchProvider.java:153)at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:203)at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1483)at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1414)at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1363)at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1353)at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414)at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)at com.jaspersoft.jasperserver.war.StaticFilesCacheControlFilter.doFilter(StaticFilesCacheControlFilter.java:163)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)at com.jaspersoft.jasperserver.api.metadata.user.service.impl.MetadataAuthenticationProcessingFilter.doFilter(MetadataAuthenticationProcessingFilter.java:143)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)at com.jaspersoft.jasperserver.war.util.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:99)at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)at com.jaspersoft.jasperserver.multipleTenancy.MTBasicProcessingFilter.doFilter(MTBasicProcessingFilter.java:194)at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:210)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)at com.jaspersoft.jasperserver.war.NullFilter.doFilter(NullFilter.java:43)at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:210)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)at com.jaspersoft.jasperserver.api.logging.filter.BasicLoggingFilter.doFilter(BasicLoggingFilter.java:53)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)at com.jaspersoft.jasperserver.api.security.JSCsrfGuardFilter.doFilter(JSCsrfGuardFilter.java:83)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)at com.jaspersoft.jasperserver.api.security.WebAppSecurityFilter.doFilter(WebAppSecurityFilter.java:80)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)at com.jaspersoft.jasperserver.war.NullFilter.doFilter(NullFilter.java:43)at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)at com.jaspersoft.jasperserver.api.security.encryption.EncryptionFilter.doFilter(EncryptionFilter.java:150)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)at com.jaspersoft.ji.license.JILicenseFilter.doFilter(JILicenseFilter.java:86)at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)at com.jaspersoft.jasperserver.war.util.SessionDecoratorFilter.doFilter(SessionDecoratorFilter.java:63)at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)at com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:67)at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)at com.jaspersoft.jasperserver.war.P3PFilter.doFilter(P3PFilter.java:43)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:611)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)at java.lang.Thread.run(Thread.java:724)
  9. As you can see from the stack trace, the chart is in the summary band. This is the result from my query, without any NULL values: 5001082 MyProcess 01.09.14 01.09.14 Initiation Phase 50011385001082 MyProcess 01.09.14 01.09.14 Initiating Process Complete 50011395001082 MyProcess 02.09.14 10.11.14 Planning Phase 50011405001082 MyProcess 23.10.14 24.10.14 Define Scope Change and Control Process 50011415001082 MyProcess 02.09.14 16.10.14 Travel Expense 50011425001082 MyProcess 05.09.14 10.11.14 Define Resource Plan 50011435001082 MyProcess 19.09.14 26.09.14 Risk Response and Mitigation Plan 50011445001082 MyProcess 29.09.14 10.10.14 Identify Storage Requirements 50011455001082 MyProcess 13.10.14 24.10.14 Identify Infrastructure Requirements 50011465001082 MyProcess 27.10.14 07.11.14 Complete Project Plan 50011475001082 MyProcess 09.11.14 09.11.14 Planning Phase Gate Complete 50011485001082 MyProcess 09.11.14 01.01.15 Design Phase 50011495001082 MyProcess 10.11.14 15.12.14 Requirements Definition 50011505001082 MyProcess 18.12.14 01.01.15 Functional and Technical Design 50011515001082 MyProcess 18.12.14 18.12.14 Hardware Acquisition 50011525001082 MyProcess 18.12.14 18.12.14 Design Phase Gate Complete 50011535001082 MyProcess 04.01.15 24.02.15 Construction Phase 50011545001082 MyProcess 05.01.15 15.01.15 Database Development 50011555001082 MyProcess 19.01.15 22.01.15 User Interface Development 50011565001082 MyProcess 26.01.15 24.02.15 Unit and Performance Testing 50011575001082 MyProcess 24.02.15 24.02.15 Construction Phase Gate Complete 50011585001082 MyProcess 24.02.15 04.04.15 Deployment and Quality Phase 50011595001082 MyProcess 24.02.15 06.03.15 Functional and System Testing 50011605001082 MyProcess 09.03.15 13.03.15 Usability and User Acceptance Testing 50011615001082 MyProcess 16.03.15 20.03.15 User Training Plan 50011625001082 MyProcess 23.03.15 27.03.15 Train the Trainer Classes 50011635001082 MyProcess 30.03.15 03.04.15 Trainer Certification and User Validation 50011645001082 MyProcess 04.04.15 04.04.15 Deployment Phase Gate Complete 50011655001082 MyProcess 04.04.15 11.04.15 Closing Phase 50011665001082 MyProcess 06.04.15 10.04.15 Lessons Learned 50011675001082 MyProcess 11.04.15 11.04.15 Closing Phase Gate Complete 5001168
  10. It seems not to be possible to deploy .JASPER files to the server. Instead, you have to change the references for your subreports from .JASPER to .JRXML. Please find more details here: https://docs.google.com/document/d/1ydQMTmyA9Empozn63IVVGoDpSfa0udHnptdS4m1TViM/edit?pli=1
  11. With Jaspersoft Studio 6.0.1, I get a NullPointerException when compiling a report containing only a Gantt chart widget. This is the stack trace: net.sf.jasperreports.engine.JRException: java.lang.NullPointerException at com.jaspersoft.studio.editor.preview.view.control.ReportControler.fillReport(ReportControler.java:467) at com.jaspersoft.studio.editor.preview.view.control.ReportControler.access$18(ReportControler.java:442) at com.jaspersoft.studio.editor.preview.view.control.ReportControler$4.run(ReportControler.java:334) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.lang.NullPointerException at java.util.Calendar.setTime(Unknown Source) at java.text.SimpleDateFormat.format(Unknown Source) at java.text.SimpleDateFormat.format(Unknown Source) at java.text.DateFormat.format(Unknown Source) at com.jaspersoft.jasperreports.fusion.widgets.DefaultWidgetDataXmlGenerator.writeGanttTask(DefaultWidgetDataXmlGenerator.java:506) at com.jaspersoft.jasperreports.fusion.widgets.DefaultWidgetDataXmlGenerator.generateXml(DefaultWidgetDataXmlGenerator.java:372) at com.jaspersoft.jasperreports.fusion.widgets.gantt.GanttFillChart.getDataXML(GanttFillChart.java:257) at com.jaspersoft.jasperreports.fusion.widgets.AbstractWidgetFillComponent.copyWidgetData(AbstractWidgetFillComponent.java:96) at com.jaspersoft.jasperreports.fusion.widgets.AbstractWidgetFillComponent.fill(AbstractWidgetFillComponent.java:160) at net.sf.jasperreports.engine.fill.JRFillComponentElement.fill(JRFillComponentElement.java:194) at net.sf.jasperreports.engine.fill.JRFillElementContainer.fillElements(JRFillElementContainer.java:583) at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:396) at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:358) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillSummaryNoLastFooterSamePage(JRVerticalFiller.java:1072) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillSummary(JRVerticalFiller.java:1031) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportEnd(JRVerticalFiller.java:295) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:131) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:540) at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFill.run(BaseFillHandle.java:120) at java.lang.Thread.run(Unknown Source) This is the JRXML-Tag: <componentElement><reportElement x="0" y="0" width="802" height="336" uuid="6f88b495-a76f-4aaa-bee1-e0f1b596fa29"/><fw:ganttChart xmlns:fw="http://jaspersoft.com/fusion" xsi:schemaLocation="http://jaspersoft.com/fusion http://jaspersoft.com/schema/fusion.xsd" useTime="true"><fw:widgetProperty name="caption"><fw:propertyExpression><![CDATA["Mein Titel"]]></fw:propertyExpression></fw:widgetProperty><fw:widgetProperty name="subCaption"><fw:propertyExpression><![CDATA["Mein Untertitel"]]></fw:propertyExpression></fw:widgetProperty><fw:widgetProperty name="ganttLineAlpha"><fw:propertyExpression><![CDATA[new Integer(44)]]></fw:propertyExpression></fw:widgetProperty><fw:categorySet><fw:category><fw:startExpression><![CDATA[new SimpleDateFormat("yyyy-MM-dd").parse("2009-07-27")]]></fw:startExpression><fw:endExpression><![CDATA[new SimpleDateFormat("yyyy-MM-dd").parse("2009-08-27")]]></fw:endExpression><fw:labelExpression><![CDATA["Sample Category"]]></fw:labelExpression></fw:category></fw:categorySet><fw:processes><dataset/><fw:process><fw:idExpression><![CDATA[$F{ID}]]></fw:idExpression><fw:labelExpression><![CDATA[$F{NAME}]]></fw:labelExpression></fw:process></fw:processes><fw:tasks><fw:tasksProperty name="showlabels"><fw:propertyExpression><![CDATA[boolean.TRUE]]></fw:propertyExpression></fw:tasksProperty><fw:tasksProperty name="showstartdate"><fw:propertyExpression><![CDATA[boolean.TRUE]]></fw:propertyExpression></fw:tasksProperty><fw:tasksProperty name="showenddate"><fw:propertyExpression><![CDATA[boolean.TRUE]]></fw:propertyExpression></fw:tasksProperty><dataset/><fw:task><fw:taskProperty name="showLabels"><fw:propertyExpression><![CDATA[boolean.TRUE]]></fw:propertyExpression></fw:taskProperty><fw:idExpression><![CDATA[$F{PRID}]]></fw:idExpression><fw:processIdExpression><![CDATA[$F{ID}]]></fw:processIdExpression><fw:startExpression><![CDATA[$F{PRSTART}]]></fw:startExpression><fw:endExpression><![CDATA[$F{PRFINISH}]]></fw:endExpression><fw:labelExpression><![CDATA[$F{PRNAME}]]></fw:labelExpression></fw:task></fw:tasks></fw:ganttChart></componentElement>[/code] Any hint on what I could try to change would be great!
  12. With JasperReports Server 6.0.0 and Jaspersoft Studio, the upload of an image from Studio to the Server is not working anymore. This worked in 5.6.1. To reproduce: 1. Create report in Studio with image element, e.g TestReport with logo.png 2. Publish to server. The wizard will inform to upload the image to TestReport_files folder. 3. Open report at server. Following message will be shown: Repository file resource /temp/TestReport_files/logo.png could not be loadedIn the Tomcat-log, following stacktrace is found: 2015-01-23 14:35:44,803 ERROR AsyncJasperPrintAccessor,pool-6-thread-27:299 - Error during report executionnet.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports.engine.JRException: Error opening input stream from URL : repo:logo.pngat net.sf.jasperreports.repo.DefaultRepositoryService.getInputStream(DefaultRepositoryService.java:117)at net.sf.jasperreports.repo.InputStreamPersistenceService.load(InputStreamPersistenceService.java:48)at net.sf.jasperreports.repo.DefaultRepositoryService.getResource(DefaultRepositoryService.java:155)at net.sf.jasperreports.repo.RepositoryUtil.findInputStream(RepositoryUtil.java:176)at net.sf.jasperreports.repo.RepositoryUtil.getBytesFromLocation(RepositoryUtil.java:192)at net.sf.jasperreports.engine.RenderableUtil.getRenderable(RenderableUtil.java:121)at net.sf.jasperreports.engine.fill.JRFillImage.evaluateImage(JRFillImage.java:536)at net.sf.jasperreports.engine.fill.JRFillImage.evaluate(JRFillImage.java:472)at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:259)at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:455)at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillTitle(JRVerticalFiller.java:320)at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:256)at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:124)at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:540)at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFill.run(BaseFillHandle.java:120)at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$SynchronousExecutor.execute(EngineServiceImpl.java:882)at net.sf.jasperreports.engine.fill.BaseFillHandle.startFill(BaseFillHandle.java:165)at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$AsynchronousReportFiller.fillReport(EngineServiceImpl.java:838)at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:1727)at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportFill.runWithDataSource(EngineServiceImpl.java:1082)at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportFill.runReport(EngineServiceImpl.java:1011)at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportRunnable.run(EngineServiceImpl.java:904)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)at java.lang.Thread.run(Thread.java:724)Caused by: net.sf.jasperreports.engine.JRException: Error opening input stream from URL : repo:logo.pngat net.sf.jasperreports.engine.util.JRLoader.getInputStream(JRLoader.java:303)at net.sf.jasperreports.repo.DefaultRepositoryService.getInputStream(DefaultRepositoryService.java:100)... 24 moreCaused by: java.io.IOException: Repository file resource /temp/TestReport_files/logo.png could not be loadedat com.jaspersoft.jasperserver.api.engine.jasperreports.util.repo.RepositoryConnection.getInputStream(RepositoryConnection.java:103)at java.net.URL.openStream(URL.java:1037)at net.sf.jasperreports.engine.util.JRLoader.getInputStream(JRLoader.java:299)... 25 more2015-01-23 14:35:44,838 ERROR errorPage_jsp,http-apr-8081-exec-7:294 - JSException:
×
×
  • Create New...