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

erikd

Members
  • Posts

    21
  • Joined

  • Last visited

erikd'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. Looks like iReport can only have one instance opened per ireport.exe file. I was thinking of opening multiple instances using one ireport.exe file, just like in most browsers where a user can either open a new tab or a new browser to handle new web browsing.
  2. I am trying to open multiple instances of Jasper iReport in Windows 7 environment. I tried the press Shift + double click ireport icon, and it did not work. Is there a way to use multiple iReport instances concurrently? Cheers!
  3. Does anybody have an idea on this? Is there a way to switch screens from "Designer" screen to "Preview" screen from another action class? I copied the runReport function of iReport which includes lines which invoke "IReportCompiler ic = new IReportCompiler();" and used "RequestProcessor.Task task = RequestProcessor.getDefault().post(ic);" to execute the process in another action class. But this only works if I initially press on the "Preview" button. If I don't it won't switch to "Preview" screen. I hope somebody can help me on this.
  4. Hi, I know this post has been here for sometime already. I just wanted to know if there has been a solution for this? Any input is highly appreciated.
  5. I have created a class which extends OptionProcessor. I have implemented both getOptions and process methods. The class is located in the class files of an nbm plugin. I have added the complete clas name in the META-INF org.netbeans.spi.sendopts.OptionProcessor as a Service. It works well when I debug my plugin from sources. But when I install the plugin as nbm in ireport.exe, The class methods are not called eventhough I place the correct parameters in the command prompt. How do I make the scenario above work? Thanks!
  6. I have a question about the method cancelFill() of AsynchronousFillHandle. If the method stops the report fill process, does it completely stop the thread from executing and throw away the JasperPrint that was processed halfway? Is there a way to still retrieve the JasperPrint object and display the report? The AsynchronousFillHandle source seems to only throw an exception and call AsynchronousFilllListener.reportCancelled() method.
  7. Thanks for posting the solution here. I moved to version 4.3.1.
  8. Hi, I am trying to call the "Preview", which is the button between "XML" button and "Query Report" Icon, from another location. My code are as follows: JrxmlVisualView jrxmlVisualView = IReportManager.getInstance().getActiveVisualView(); JrxmlEditorSupport jrxmlEditorSupport = jrxmlVisualView.getEditorSupport(); MultiViewDescription[] multiViewDescriptions = jrxmlEditorSupport.getDescriptions(); JrxmlPreviewView jrxmlPreviewView = (JrxmlPreviewView)multiViewDescriptions[2]; jrxmlPreviewView.componentShowing(); It compiles perfectly, but it does not change the screen to Preview view. How do I change the screen to display the preview without manually clicking the "Preview" button? Any input is highly appreciated. Thanks. Erik
  9. Hi, I have compiled the iReport 4.5.0 sources and was testing multiple nested lists. My JRXML file is valid and can be used in my application however, when I use iReport to design the file, it throws a lot of exceptions. Here is an exception that I have encountered while trying to undo a field insertion inside a nested list: java.lang.NullPointerException at com.jaspersoft.ireport.designer.undo.UndoMoveChildrenUndoableEdit.updateChildren(UndoMoveChildrenUndoableEdit.java:98) at com.jaspersoft.ireport.designer.undo.UndoMoveChildrenUndoableEdit.updateChildren(UndoMoveChildrenUndoableEdit.java:83) at com.jaspersoft.ireport.designer.undo.UndoMoveChildrenUndoableEdit.undo(UndoMoveChildrenUndoableEdit.java:51) at com.jaspersoft.ireport.designer.undo.AggregatedUndoableEdit.undo(AggregatedUndoableEdit.java:60) at javax.swing.undo.UndoManager.undoTo(UndoManager.java:320) at javax.swing.undo.UndoManager.undo(UndoManager.java:398) at com.jaspersoft.ireport.designer.undo.UndoRedoManager.superUndo(UndoRedoManager.java:54) at com.jaspersoft.ireport.designer.undo.UndoRedoManager.undo(UndoRedoManager.java:63) at org.netbeans.core.multiview.MultiViewPeer$DelegateUndoRedo.undo(MultiViewPeer.java:773) at org.openide.actions.UndoAction.performAction(UndoAction.java:177) at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:118) at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77) at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:114) at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:1007) at javax.swing.JComponent.processKeyBindings(JComponent.java:2897) at javax.swing.JComponent.processKeyEvent(JComponent.java:2814) at java.awt.Component.processEvent(Component.java:6065) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4651) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676) at java.awt.Component.dispatchEventImpl(Component.java:4523) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:602) at java.awt.EventQueue$1.run(EventQueue.java:600) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$2.run(EventQueue.java:616) at java.awt.EventQueue$2.run(EventQueue.java:614) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:613) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Also, I cannot access or select fields inside a nest list. I need to go to XML view for the changes. I also encounter an error when I right click on a field inside a nested list: java.lang.NullPointerException at com.jaspersoft.ireport.designer.actions.BringElementToFrontAction.enable(BringElementToFrontAction.java:174) at org.openide.util.actions.NodeAction$DelegateAction.resultChanged(NodeAction.java:611) at org.openide.util.actions.NodeAction$DelegateAction.<init>(NodeAction.java:556) at org.openide.util.actions.NodeAction.createContextAwareInstance(NodeAction.java:351) at org.openide.util.Utilities.actionsToPopup(Utilities.java:2664) at com.jaspersoft.ireport.designer.actions.ReportElementPopupMenuProvider.getPopupMenu(ReportElementPopupMenuProvider.java:94) at org.netbeans.modules.visual.action.PopupMenuAction.handleMouseEvent(PopupMenuAction.java:113) at org.netbeans.modules.visual.action.PopupMenuAction.mouseReleased(PopupMenuAction.java:89) at org.netbeans.api.visual.action.WidgetAction$Chain.mouseReleased(WidgetAction.java:790) at org.netbeans.api.visual.widget.SceneComponent$Operator$3.operate(SceneComponent.java:553) at org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:324) at org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:316) at org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:316) at org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:279) at org.netbeans.api.visual.widget.SceneComponent.mouseReleased(SceneComponent.java:155) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.Component.processMouseEvent(Component.java:6288) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6053) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4651) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168) at java.awt.Container.dispatchEventImpl(Container.java:2085) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:602) at java.awt.EventQueue$1.run(EventQueue.java:600) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$2.run(EventQueue.java:616) at java.awt.EventQueue$2.run(EventQueue.java:614) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:613) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Has anybody encountered the same exceptions? Are there fixes for these exceptions?
  10. To solve my enquiry, instead of using sub-report files, I just used List element and created datasets.
  11. I have an invoice report with subreports. Is it currently possible to have the subreports embedded inside the main report's jrxml?
  12. I have solved my enquiry already. I just created an iReport plugin which connects to our system through web service.
  13. I was able to make my own plugin already. =) Thanks to the links below: http://jasperforge.org/website/ireportwebsite/IR%20Website/ir_compiling_ireport.html http://jasperforge.org/uploads/publish/ireportwebsite/IR%20Website/ir_ireport_plugin_dev.html I just used the versions I needed and fixed some errors while building the ireport sources.
×
×
  • Create New...