Jump to content
  • SWTException when close Preview view


    heshanx
    Assigned User Massimo Rabbi
    CategoryBug report
    PriorityImmediate
    ReproducibilityAlways
    ResolutionFixed
    SeverityMajor
    StatusResolved
    Versionv6.0.4

    step 1. Right click on a jrxml file, and click "Preview".

     

    step 2. Close "Preview view".

     

    Exception:

     

    org.eclipse.swt.SWTException: Widget is disposed

    at org.eclipse.swt.SWT.error(SWT.java:4361)

    at org.eclipse.swt.SWT.error(SWT.java:4276)

    at org.eclipse.swt.SWT.error(SWT.java:4247)

    at org.eclipse.swt.widgets.Widget.error(Widget.java:468)

    at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:340)

    at org.eclipse.swt.widgets.Control.setLayoutData(Control.java:3377)

    at net.sf.jasperreports.eclipse.viewer.ReportViewer.setupTabs(ReportViewer.java:148)

    at net.sf.jasperreports.eclipse.viewer.ReportViewer.setReport(ReportViewer.java:106)

    at net.sf.jasperreports.eclipse.viewer.ReportViewer.setReport(ReportViewer.java:100)

    at net.sf.jasperreports.eclipse.ui.ReportPreviewUtil$1.run(ReportPreviewUtil.java:52)

    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)

    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)

    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)

    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)

    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)

    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)

    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)

    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

    at com.jaspersoft.studio.rcp.intro.Application.start(Application.java:96)

    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(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    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)

     



    User Feedback

    Recommended Comments

    Changed Status from New to Feedback Requested


    Hi,I tried in both development stream and 6.0.4 (Mac OS X 10.10.3) but I was not able to reproduce.Do you see an error dialog appearing after you try to open using directly "JasperReports Preview"? Or did you noticed in console?Did you tried with a simple JRXML or did it occurred with JasperReports Books?It would be great if you can register the screencast with your use case. It can help reproduce the issue.Thanks in advance.Regards,Massimo.
    Link to comment
    Share on other sites


×
×
  • Create New...