mrobinson
Members-
Posts
31 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Everything posted by mrobinson
-
Text Wrapping issue - isStretchWithOverflow alternate in 6.11.0
mrobinson replied to Anand.Nagaraj's topic in Products
I am having the same issue when switching to 6.11.0. Sorry no help, but would like to see a solution. -
OK. I added it to the bug tracker.
-
Attempting to update 6.0.1 to 6.0.3 on Yosemite 10.10.2 and get this error An error occurred while installing the items session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.jaspersoft.studio.rcp.product.executable.cocoa.macosx.x86_64 6.0.3.final, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.ChmodAction). The action chmod failed - file /Applications/TIBCO Jaspersoft Studio 6.0.1.final/Jaspersoft Studio.app/Contents/MacOS/Jaspersoft Studio does not exist
-
VIDEO: Dynamically Setting a Domain Data Source Using Profile Attributes
mrobinson commented on abresci's entry in Best Practices
The problem went away when I modified the J2EE perspective. Unfortunately, I cannot remember exactly what changes I made. -
VIDEO: Dynamically Setting a Domain Data Source Using Profile Attributes
mrobinson commented on abresci's entry in Best Practices
By the workspace, you mean the metadata folder and the project? I have about a 16-18 projects in the workspace. How about if I create a new workspace, move the offending project into it, verify it still has the problem and send that workspace to you? EDITED: I have created the workspace but it is too large to send. I would like to send you privately the url to the zipped workspace on my Dropbox account. Can you provide me an email address to use? -
VIDEO: Dynamically Setting a Domain Data Source Using Profile Attributes
mrobinson commented on abresci's entry in Best Practices
I removed the JasperReport jar file from the project and changed the project to have JasperReports Nature. This corrected the errors in the project. I then quit and restarted. Tried opening an existing jrxml file and also tried a new report. Both attempts failed. Looking at the log file from Eclipse, the errors were similar to the previous but there were some additional errors that may be informative. I am including the entire log file as an attachment. -
VIDEO: Dynamically Setting a Domain Data Source Using Profile Attributes
mrobinson commented on abresci's entry in Best Practices
Changed Assigned User from @User_306070 to @anonymous Yes, I have one. However, if I remove the jasperreports jar from the classpath then my project will be filled with errors due to the missing jasperreports classes. How do you avoid that? -
Updated to a clean Eclipse installation (Juno, Mac OSX, JavaEE IDE), installed JasperSoft Studio, re-imported all my projects into a new workspace. Using JasperReport 5.2.0. When I try to open an exisitng jrxml file, an empty tab is displayed. (Same error when I try to create a new report as well) The Eclipse log shows this... !ENTRY org.eclipse.osgi 2 1 2013-09-16 08:49:14.569!MESSAGE NLS unused message: ImageCreationDialog_bytes in: com.jaspersoft.studio.messages.messages !ENTRY org.eclipse.e4.ui.workbench 4 0 2013-09-16 08:49:33.224!MESSAGE Unable to create class 'org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor' from bundle '666'!STACK 0org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.extensions.ExtensionsEnvironmentat org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:861)at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:841)at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:113)at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:321)at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:242)at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:161)at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:141)at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:894)at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:629)at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:731)at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:702)at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:696)at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:681)at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1115)at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:67)at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)at org.eclipse.swt.widgets.Display.syncExec(Display.java:4607)at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:187)at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:80)at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58)at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:422)at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:389)at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:606)at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:332)at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1029)at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3047)at org.eclipse.ui.internal.WorkbenchPage.access$22(WorkbenchPage.java:2969)at org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:2951)at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2947)at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2911)at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:338)at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:180)at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4136)at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458)at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271)at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3982)at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3621)at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:601)at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)at org.eclipse.equinox.launcher.Main.run(Main.java:1438)Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.extensions.ExtensionsEnvironmentat net.sf.jasperreports.engine.component.ComponentsEnvironment.getCachedBundles(ComponentsEnvironment.java:103)at net.sf.jasperreports.engine.component.ComponentsEnvironment.getBundles(ComponentsEnvironment.java:97)at net.sf.jasperreports.engine.component.ComponentsEnvironment.getComponentBundles(ComponentsEnvironment.java:179)at net.sf.jasperreports.engine.xml.JRReportSaxParserFactory.getSchemaLocations(JRReportSaxParserFactory.java:84)at net.sf.jasperreports.engine.xml.BaseSaxParserFactory.configureParser(BaseSaxParserFactory.java:131)at net.sf.jasperreports.engine.xml.BaseSaxParserFactory.createParser(BaseSaxParserFactory.java:94)at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createParser(JRXmlDigesterFactory.java:1438)at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createDigester(JRXmlDigesterFactory.java:1414)at com.jaspersoft.studio.editor.JrxmlEditor.init(JrxmlEditor.java:532)at org.eclipse.ui.internal.EditorReference.initialize(EditorReference.java:360)at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:301)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:601)at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)... 79 more !ENTRY org.eclipse.ui 4 0 2013-09-16 08:49:33.250!MESSAGE Unhandled event loop exception!STACK 0java.lang.NullPointerExceptionat org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3063)at org.eclipse.ui.internal.WorkbenchPage.access$22(WorkbenchPage.java:2969)at org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:2951)at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2947)at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2911)at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:338)at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:180)at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4136)at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458)at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271)at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3982)at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3621)at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:601)at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
-
Unable to update to latest JS-Studio 1.3.1
mrobinson replied to rlfisherpbtgroup.com's topic in Products
For Juno 4.2 users like me, here is a link from the JasperReports people about installing & testing JasperStudio 1.3.1 http://sourceforge.net/projects/jasperstudio/files/DevelopersInfo/juno_42/ -
Unable to update to latest JS-Studio 1.3.1
mrobinson replied to rlfisherpbtgroup.com's topic in Products
Created a new report and the design display was the same as a pre-existing one. That is, adding, for example, static text is invisible except for the outline. -
Unable to update to latest JS-Studio 1.3.1
mrobinson replied to rlfisherpbtgroup.com's topic in Products
I deleted the old version 1.1.2. Tried reinstalling 1.3.1 and got the dependency exception about apache.commons.pool. I installed that jar file into the plugins folder of Eclipse, restarted, and tried reinstalling 1.3.1. This time it installed without error. However, when I open a pre-existing report in design view, only the lines and outlines of text expressions show up. What's up with that? -
Unable to update to latest JS-Studio 1.3.1
mrobinson replied to rlfisherpbtgroup.com's topic in Products
I also had the same problem with Nebula Widgets. I installed them from the MarketPlace and tried updating to JasperStudio 1.31. Now I get the exception: An error occurred while installing the itemssession context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=[R]com.jaspersoft.studio.data 1.1.2 --> [R]com.jaspersoft.studio.data 1.3.1, action=).Failed to prepare partial IU: [R]com.jaspersoft.studio.data 1.3.1. I am using Juno. Any ideas?? -
The answer to the problem was to add a GROUP footer to the detail band that prints after each detail line finishes. Then move the subreport into the GROUP footer. I tried for several hours trying to get the subreport to print within the detail band but could never get it to work as long as any of the fields above the report used STRETCH.
-
Did you try the ReportDesign perspective?
-
I have a report which uses a subreport in the detail band. It has worked well up until now. But business rules have changed and the text fields above the subreport in the detail band now need to allow stretching. When these attributes are added, the subreport no longer is displayed. There are no errors either in the console or in the debug log.The processing of the subreport happens without issue under both circumstances. Here are 2 code snippets. One works (the subreport is displayed) the other does not (the subreport is not displayed). Any suggestions? Code: Post Edited by mrobinson at 07/15/2011 21:35
-
Whenever I save a report using the new version of the Eclipse plug-in it strips out all of the class attributes in the textFeidlExpression elements. I hope it is something I am missing but I suspect now. Anyone else notice this? Code:BEFORE<textFieldExpression class="java.lang.String"><![CDATA["NOTES: " + $P{message}]]></textFieldExpression>AFTER<textFieldExpression ><![CDATA["NOTES: " + $P{message}]]></textFieldExpression>
-
Thanks. That's an interesting idea. My only question is how you use the line to push down the other textual parts of the summary? Or maybe you don't. That was my biggest issue of how to expand the summary such that it stretched all the way doen to the footer and the text was at the bottom and not the top. I did end up using the background band to add the lines with and it really worked well. In fact, it turned out even better than I had hoped for. This was due to the same point you brought up earlier, that the page header and group header will always print in the same positions as will the footer. Therefore, it was simple to add background lines and shading that made the invoice much more appealing visually. The one issue I could not solve was what I mentioned in the 1st paragraph...expanding the summary and pushing down the text. I did try your idea but it had no effect on size of the summary. Maybe I misunderstood what you were saying.
-
Thanks, that may be what I have to do. I still think there must be a way to have the Summary Band stretch to fill the space. I already use the Summary anyway to display some additional information that is variable. Of course, it stretches just fine in order to print all the text. I just want to to continue stretching to fill down to the footer. I will continue to play around and see if anything might work.
-
I need to be able to draw lines in the area between the last detail line and the start of the last page footer. Reason? customer want to have subtotal information of an Invoice at the bottom of the last page always. While this is not hard to do with the last page footer, there is a glariing space between the last detail item and the start of the footer. The question is how to bridge this gap with vertical lines so the data in the line items looks connected to the subtotal information. I have tried a summary band but have not been able to figure out how to get it to stretch to always fill the space between the two other bands. Has anyone run across a similar situation and found a way to do this?
-
The link you provide to the documentation is broken.
-
Sandra, Thanks for your help. That was indeed the problem. Can you point me to some reference as to how to create dynamic formulas? I saw your note on one of the earlier forum posts about using <propertyExpression /> instead of <property .../> but I cannot find any detailed info about this usage. Or could you provide a simple example? Thanks, Mike
-
I am exporting a report using JRXlsExporter and the following parameters xlsExporter.setParameter(JRXlsExporterParameter.JASPER_PRINT, fileName); xlsExporter.setParameter(JRXlsExporterParameter.OUTPUT_FILE_NAME, realReportPath); xlsExporter.setParameter(JRXlsExporterParameter.IS_ONE_PAGE_PER_SHEET, Boolean.FALSE); xlsExporter.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, Boolean.TRUE); xlsExporter.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_COLUMNS, Boolean.TRUE); xlsExporter.setParameter(JRXlsExporterParameter.IS_DETECT_CELL_TYPE, Boolean.TRUE); The report itself uses the property... <property name="net.sf.jasperreports.export.xls.detect.cell.type" value="true"/> And the field in the Detail band that is used to hold the formula is defined as ... <textField pattern="$#,##0.00;($#,##0.00)" isBlankWhenNull="true" hyperlinkType="None"> <reportElement key="textField-6" x="614" y="1" width="102" height="15"> <property name="net.sf.jasperreports.export.xls.formula" value="ROUND(K9*N9,2)"/> </reportElement> <textFieldExpression class="java.lang.Double"></textFieldExpression> </textField> The report exports fine with all the other columns set with the proper data. However, the formula column is empty. Any ideas? Or has anyone seen a working example that uses a formula in the Detail band? Thanks
-
Hi, I've been through all the posts on this topic and tried the suggestions with no help. I have a text field in the Summary band that will not stretch. I have made changes as per the suggestions of earlier posters but still the text field will not expand. I am using japerreport 2.0.2. The text field definition looks like this. Code: <textField isStretchWithOverflow="true" isBlankWhenNull="true" hyperlinkType="None" evaluationTime="Now"> <reportElement x="3" y="2" width="311" height="63" isPrintWhenDetailOverflows="true"/> <textElement> <font fontName="Helvetica" size="9" isBold="false" isPdfEmbedded="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{message}]]></textFieldExpression> </textField> I have tried removing the font definition with no change in behavior. Any suggestions would be appreciated. Thanks