Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] uDig rendering problem .. more details requested?

>From the information provided most of it looks like a case of
incorrectly reporting expected exceptions.  The case that you are
reporting is the renderer finds what is thinks is a index file and it
attempts to parse it.  however it fails to do so.  It was supposed to
then not use indexing and instead log the exception to the logger
instead of firing an exception event.  I've fixed this now as well as
another similar case.  It still render's does it not?

The other problem:
> Unhandled event loop exception
> Reason:
> 
> Failed to execute runnable 
> (org.eclipse.jface.util.Assert$AssertionFailedException: Assertion
> failed: ContentViewer must have a content provider when input is set.) Unhandled event loop exception
> Reason: Widget is disposed

has to do with the add layer wizard, more specifically the Resource Page
of the add layer wizard.  

Jesse

On Sun, 2005-05-29 at 00:11 +0100, Tony Kennedy wrote:
> Hi
> 
> Probably because I've forgotten all about it, remind me, I'm in the 
> middle of three releases hence the burning of midnight oil.
> 
> The shape file is at geobase www.*geobase*.ca, BC road network, message 
> org/geotools/index/TreeException shown when clicking entry in layer view.
> 
> Console Message:
> 
> Unhandled event loop exception
> Reason:
> Failed to execute runnable 
> (org.eclipse.jface.util.Assert$AssertionFailedException: Assertion 
> failed: ContentViewer must have a content provider when input is set.)
> Unhandled event loop exception
> Reason:
> Widget is disposed
> 
> log file is attached.
> 
> Tony
> 
> Jody Garnett wrote:
> 
> > Tony Kennedy wrote:
> >
> >> Hi
> >>
> >> uDig is reporting org/geotools/index/TreeException when attempting to 
> >> render NRNC1_BC_SHAPE_en\ROADSEG.shp from Geobase
> >
> >
> > Hi Tony, we never did manage to get that documentation from you.
> >
> > In any case - is this shapefile something I have access to? Or can you 
> > please send a stack trace from the logs?
> > We are in the last two weeks before 1.0 goes out, and will be leaning 
> > on test cases and the jira task tracker.
> >
> > Jody Garnett
> > _______________________________________________
> > User-friendly Desktop Internet GIS (uDig)
> > http://udig.refractions.net
> > http://lists.refractions.net/mailman/listinfo/udig-devel
> >
> >
> 
> plain text document attachment (.log)
> !SESSION 2005-05-29 00:02:28.948 -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.5.0_03
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
> Framework arguments:  -product net.refractions.udig.ui.products -pdelaunch
> Command-line arguments:  -product net.refractions.udig.ui.products -data E:\Eclipse Workspace\eTRUCS\runtime-workspace -dev file:E:/Eclipse Workspace/eTRUCS/.metadata/.plugins/org.eclipse.pde.core/eTRUCS/dev.properties -pdelaunch -os win32 -ws win32 -arch x86
> 
> !ENTRY org.eclipse.ui 4 4 2005-05-29 00:03:02.627
> !MESSAGE Unhandled event loop exception
> 
> !ENTRY org.eclipse.ui 4 0 2005-05-29 00:03:02.627
> !MESSAGE Failed to execute runnable (org.eclipse.jface.util.Assert$AssertionFailedException: Assertion failed: ContentViewer must have a content provider when input is set.)
> !STACK 0
> org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.jface.util.Assert$AssertionFailedException: Assertion failed: ContentViewer must have a content provider when input is set.)
> 	at org.eclipse.swt.SWT.error(SWT.java:2940)
> 	at org.eclipse.swt.SWT.error(SWT.java:2863)
> 	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:121)
> 	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2898)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2557)
> 	at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:153)
> 	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:303)
> 	at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:830)
> 	at net.refractions.udig.project.ui.internal.ResourceSelectionPage.isPageComplete(ResourceSelectionPage.java:363)
> 	at net.refractions.udig.catalog.ui.IDataWizard.canFinish(IDataWizard.java:197)
> 	at org.eclipse.jface.wizard.WizardDialog.updateButtons(WizardDialog.java:1110)
> 	at net.refractions.udig.catalog.internal.ui.HeadlessWizardDialog.updateButtons(HeadlessWizardDialog.java:181)
> 	at org.eclipse.jface.wizard.WizardDialog.update(WizardDialog.java:1100)
> 	at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1034)
> 	at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1013)
> 	at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1003)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
> 	at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1001)
> 	at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:753)
> 	at net.refractions.udig.catalog.internal.ui.HeadlessWizardDialog.runHeadless(HeadlessWizardDialog.java:144)
> 	at net.refractions.udig.project.ui.internal.actions.WizardDropAction$1.run(WizardDropAction.java:101)
> 	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> 	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118)
> 	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2898)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2557)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1601)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:315)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
> 	at net.refractions.udig.internal.ui.UDIGApplication.run(UDIGApplication.java:27)
> 	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:230)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:371)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:160)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:330)
> 	at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
> 	at org.eclipse.core.launcher.Main.run(Main.java:977)
> 	at org.eclipse.core.launcher.Main.main(Main.java:952)
> Caused by: org.eclipse.jface.util.Assert$AssertionFailedException: Assertion failed: ContentViewer must have a content provider when input is set.
> 	at org.eclipse.jface.util.Assert.isTrue(Assert.java:180)
> 	at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:240)
> 	at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1417)
> 	at net.refractions.udig.project.ui.internal.ResourceSelectionPage$4.run(ResourceSelectionPage.java:275)
> 	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> 	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118)
> 	... 38 more
> 
> !ENTRY org.eclipse.ui 4 4 2005-05-29 00:03:02.647
> !MESSAGE Unhandled event loop exception
> 
> !ENTRY org.eclipse.ui 4 0 2005-05-29 00:03:02.657
> !MESSAGE Widget is disposed
> !STACK 0
> org.eclipse.swt.SWTException: Widget is disposed
> 	at org.eclipse.swt.SWT.error(SWT.java:2940)
> 	at org.eclipse.swt.SWT.error(SWT.java:2863)
> 	at org.eclipse.swt.SWT.error(SWT.java:2834)
> 	at org.eclipse.swt.widgets.Widget.error(Widget.java:393)
> 	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:295)
> 	at org.eclipse.swt.widgets.Tree.getItems(Tree.java:1111)
> 	at org.eclipse.jface.viewers.TreeViewer.getChildren(TreeViewer.java:331)
> 	at org.eclipse.jface.viewers.AbstractTreeViewer.doFindItem(AbstractTreeViewer.java:586)
> 	at org.eclipse.jface.viewers.StructuredViewer.findItem(StructuredViewer.java:701)
> 	at org.eclipse.jface.viewers.AbstractTreeViewer.internalGetWidgetToSelect(AbstractTreeViewer.java:1104)
> 	at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:1061)
> 	at org.eclipse.jface.viewers.CheckboxTreeViewer.setChecked(CheckboxTreeViewer.java:381)
> 	at net.refractions.udig.project.ui.internal.ResourceSelectionPage$6.run(ResourceSelectionPage.java:342)
> 	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> 	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118)
> 	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2898)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2557)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1601)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:315)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
> 	at net.refractions.udig.internal.ui.UDIGApplication.run(UDIGApplication.java:27)
> 	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:230)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:371)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:160)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:330)
> 	at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
> 	at org.eclipse.core.launcher.Main.run(Main.java:977)
> 	at org.eclipse.core.launcher.Main.main(Main.java:952)
> 
> !ENTRY net.refractions.udig.project 1 0 2005-05-29 00:03:09.787
> !MESSAGE Current Renderers:
> 	CompositeRendererImpl
> 	BasicFeatureRenderer
> 	ShapefileFeatureRenderer
> 
> !ENTRY net.refractions.udig.project 1 0 2005-05-29 00:03:09.787
> !MESSAGE Current Renderers:
> 	CompositeRendererImpl
> 	BasicFeatureRenderer
> 	ShapefileFeatureRenderer
> 
> !ENTRY net.refractions.udig.project 2 0 2005-05-29 00:03:11.389
> !MESSAGE org/geotools/index/TreeException
> !STACK 0
> java.lang.NoClassDefFoundError: org/geotools/index/TreeException
> 	at org.geotools.renderer.shape.ShapeRenderer.useIndex(ShapeRenderer.java:1058)
> 	at org.geotools.renderer.shape.ShapeRenderer.<init>(ShapeRenderer.java:182)
> 	at net.refractions.udig.render.internal.feature.shapefile.ShapefileFeatureRenderer.prepareDraw(ShapefileFeatureRenderer.java:138)
> 	at net.refractions.udig.render.internal.feature.shapefile.ShapefileFeatureRenderer.render(ShapefileFeatureRenderer.java:194)
> 	at net.refractions.udig.render.internal.feature.shapefile.ShapefileFeatureRenderer.render(ShapefileFeatureRenderer.java:179)
> 	at net.refractions.udig.project.internal.render.impl.RenderExecutorImpl$RenderJob.startRendering(RenderExecutorImpl.java:202)
> 	at net.refractions.udig.project.internal.render.impl.RenderExecutorImpl$RenderJob.run(RenderExecutorImpl.java:231)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top