Uploaded image for project: 'Ergo'
  1. Ergo
  2. ERGO-331

Error in DoubleBufferedJMapPane if you close and reopen renderer

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • NIST-V1
    • NIST-V1
    • Visualization
    • None

      java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
      at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
      at java.awt.GraphicsConfiguration.createCompatibleImage(GraphicsConfiguration.java:186)
      at edu.illinois.ncsa.ergo.gis.geotools.ui.internal.DoubleBufferedJMapPane.drawLayers(DoubleBufferedJMapPane.java:191)
      at org.geotools.swing.AbstractMapPane.doSetMapContent(AbstractMapPane.java:568)
      at org.geotools.swing.AbstractMapPane.setMapContent(AbstractMapPane.java:517)
      at edu.illinois.ncsa.ergo.gis.geotools.ui.internal.DoubleBufferedJMapPane.setMapContent(DoubleBufferedJMapPane.java:88)
      at edu.illinois.ncsa.ergo.gis.geotools.ui.internal.JMapPaneRenderer.init(JMapPaneRenderer.java:68)
      at edu.illinois.ncsa.ergo.gis.geotools.ui.builders.JMapPaneBuilder.build(JMapPaneBuilder.java:92)
      at edu.illinois.ncsa.ergo.gis.geotools.ui.builders.JMapPaneBuilder.build(JMapPaneBuilder.java:107)
      at edu.illinois.ncsa.ergo.gis.ui.views.RendererView.setRendererBuilder(RendererView.java:120)
      at edu.illinois.ncsa.ergo.gis.ui.actions.AbstractRenderAction$1$1.run(AbstractRenderAction.java:115)
      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:3794)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3433)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      at edu.illinois.ncsa.ergo.eq.rcp.Application.start(Application.java:39)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      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:606)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1488)

              tolbert Nathan Tolbert
              tolbert Nathan Tolbert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: