[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [udig-devel] Dxf and rendering
|
Hi Wendy the real exception is this:
Caused by: java.lang.NullPointerException
at
org.geotools.data.FilteringFeatureReader.getFeatureType(FilteringFeatureReade
r.java:87)
Maybe put a break point there and see why a NullPointerException is happening.
It seems to be indicating that all is not well with the datastore.
One of the guys here has just made a datastore and has a large number of really
great test-cases. However it does require that your datastore has write
capabilities. If you would like we could send you those test cases. If you can
pass all the tests you can pretty much guarantee that your datastore will work
with udig.
Let me know if you'd like to see them.
Jesse
Quoting "Edwards, Wendy A ERDC-CERL-IL Contractor"
<Wendy.A.Edwards@xxxxxxxxxxxxxxxxxxx>:
> Sure, this is what the log file looked like (including the stack traces)
>
> !SESSION Tue Aug 02 13:00:45 CDT 2005
> ------------------------------------------
> !ENTRY org.eclipse.core.launcher 4 0 2005-08-02 13:00:45.853
> !MESSAGE -showsplash
> !STACK
> java.io.IOException: CreateProcess: c:\java\eclipse\eclipse -name Eclipse
> -showsplash 600 C:\java\udig\trunk\plugins\net.refractions.udig.ui\splash.bmp
> error=5
> at java.lang.ProcessImpl.create(Native Method)
> at java.lang.ProcessImpl.<init>(Unknown Source)
> at java.lang.ProcessImpl.start(Unknown Source)
> at java.lang.ProcessBuilder.start(Unknown Source)
> at java.lang.Runtime.exec(Unknown Source)
> at java.lang.Runtime.exec(Unknown Source)
> at org.eclipse.core.launcher.Main.runCommand(Main.java:1555)
> at org.eclipse.core.launcher.Main.handleSplash(Main.java:1531)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:276)
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.Main.main(Main.java:948)
>
> !SESSION 2005-08-02 13:00:44.978
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.5.0_03
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Framework arguments: -product net.refractions.udig.ui.products -pdelaunch
> Command-line arguments: -product net.refractions.udig.ui.products -data
> C:\java\runtime-workspace -dev
> file:C:/java/workspace/.metadata/.plugins/org.eclipse.pde.core/udig2/dev.prop
> erties -pdelaunch -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.osgi 2005-08-02 13:00:52.650
> !MESSAGE Bundle update@plugins/org.eclipse.jem_1.1.0/ [238] was not resolved.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.650
> !MESSAGE Missing optionally required bundle org.eclipse.jem.proxy_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.650
> !MESSAGE Missing required bundle org.eclipse.jem.util_0.0.0.
>
> !ENTRY org.eclipse.osgi 2005-08-02 13:00:52.666
> !MESSAGE Bundle update@plugins/org.eclipse.jem.beaninfo_1.1.0/ [239] was not
> resolved.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.666
> !MESSAGE Missing required bundle org.eclipse.jem.proxy_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.666
> !MESSAGE Missing required bundle org.eclipse.jem.workbench_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.666
> !MESSAGE Missing required bundle org.eclipse.jem_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.666
> !MESSAGE Missing required bundle org.eclipse.jem.util_0.0.0.
>
> !ENTRY org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Bundle update@plugins/org.eclipse.jem.proxy_1.1.0/ [240] was not
> resolved.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Missing required bundle org.eclipse.jem.util_0.0.0.
>
> !ENTRY org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Bundle update@plugins/org.eclipse.jem.ui_1.1.0/ [243] was not
> resolved.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Missing required bundle org.eclipse.jem.beaninfo_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Missing required bundle org.eclipse.jem.proxy_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Missing required bundle org.eclipse.jem.util_0.0.0.
>
> !ENTRY org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Bundle update@plugins/org.eclipse.jem.workbench_1.1.0/ [244] was not
> resolved.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Missing required bundle org.eclipse.jem_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Missing required bundle org.eclipse.jem.util_0.0.0.
>
> !ENTRY org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Bundle update@plugins/org.eclipse.ve.cde_1.1.0/ [248] was not
> resolved.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Missing required bundle org.eclipse.jem_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Missing required bundle org.eclipse.jem.util_0.0.0.
>
> !ENTRY org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Bundle update@plugins/org.eclipse.ve.java.core_1.1.0/ [250] was not
> resolved.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Missing required bundle org.eclipse.ve.cde_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Missing required bundle org.eclipse.jem.beaninfo_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Missing required bundle org.eclipse.jem_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Missing required bundle org.eclipse.jem.proxy_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.681
> !MESSAGE Missing required bundle org.eclipse.jem.workbench_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Missing required bundle org.eclipse.jem.util_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Missing required bundle org.eclipse.jem.workbench_0.0.0.
>
> !ENTRY org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Bundle update@plugins/org.eclipse.ve.jfc_1.1.0/ [251] was not
> resolved.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Missing required bundle org.eclipse.ve.java.core_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Missing required bundle org.eclipse.ve.cde_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Missing required bundle org.eclipse.jem_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Missing required bundle org.eclipse.jem.proxy_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Missing required bundle org.eclipse.jem.beaninfo_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Missing required bundle org.eclipse.jem.workbench_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Missing required bundle org.eclipse.jem.util_0.0.0.
>
> !ENTRY org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Bundle update@plugins/org.eclipse.ve.swt_1.1.0/ [255] was not
> resolved.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Missing required bundle org.eclipse.ve.java.core_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Missing required bundle org.eclipse.ve.cde_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Missing required bundle org.eclipse.jem.proxy_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Missing required bundle org.eclipse.jem.beaninfo_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Missing required bundle org.eclipse.jem_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Missing required bundle org.eclipse.jem.workbench_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2005-08-02 13:00:52.697
> !MESSAGE Missing required bundle org.eclipse.jem.util_0.0.0.
>
> !ENTRY org.eclipse.ui 4 4 2005-08-02 13:01:12.869
> !MESSAGE Invalid Menu Extension (Path is invalid):
> org.eclipse.ui.edit.text.gotoLastEditPosition
>
> !ENTRY net.refractions.udig.project 2 0 2005-08-02 13:02:47.462
> !MESSAGE Exception(s) occured during rendering: Exception(s) occured during
> rendering: Exception rendering layer org.geotools.map.DefaultMapLayer@3f3fbd
> !STACK 0
> net.refractions.udig.project.render.RenderException: Exception(s) occured
> during rendering: Exception(s) occured during rendering: Exception rendering
> layer org.geotools.map.DefaultMapLayer@3f3fbd
> at
> net.refractions.udig.render.internal.feature.basic.BasicFeatureRenderer.rende
> r(BasicFeatureRenderer.java:229)
> at
> net.refractions.udig.render.internal.feature.basic.BasicFeatureRenderer.rende
> r(BasicFeatureRenderer.java:184)
> at
> net.refractions.udig.project.internal.render.impl.RenderExecutorImpl$RenderJo
> b.startRendering(RenderExecutorImpl.java:206)
> at
> net.refractions.udig.project.internal.render.impl.RenderExecutorImpl$RenderJo
> b.run(RenderExecutorImpl.java:244)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
> Caused by: net.refractions.udig.project.render.RenderException: Exception(s)
> occured during rendering: Exception rendering layer
> org.geotools.map.DefaultMapLayer@3f3fbd
> at
> net.refractions.udig.render.internal.feature.basic.BasicFeatureRenderer.rende
> r(BasicFeatureRenderer.java:220)
> ... 4 more
> Caused by: java.lang.Exception: Exception rendering layer
> org.geotools.map.DefaultMapLayer@3f3fbd
> at
> org.geotools.renderer.lite.LiteRenderer.paint(LiteRenderer.java:465)
> at
> net.refractions.udig.render.internal.feature.basic.BasicFeatureRenderer.rende
> r(BasicFeatureRenderer.java:217)
> ... 4 more
> Caused by: java.lang.NullPointerException
> at
> org.geotools.data.FilteringFeatureReader.getFeatureType(FilteringFeatureReade
> r.java:87)
> at
> org.geotools.data.AbstractDataStore.getFeatureReader(AbstractDataStore.java:4
> 55)
> at
> org.geotools.data.DefaultFeatureResults.reader(DefaultFeatureResults.java:151
> )
> at
> org.geotools.renderer.lite.LiteRenderer.processStylers(LiteRenderer.java:981)
> at
> org.geotools.renderer.lite.LiteRenderer.paint(LiteRenderer.java:461)
> ... 5 more
>
> !ENTRY net.refractions.udig.project 2 0 2005-08-02 13:02:47.509
> !MESSAGE Exception(s) occured during rendering: Exception(s) occured during
> rendering: Exception rendering layer org.geotools.map.DefaultMapLayer@71c5bc
> !STACK 0
> net.refractions.udig.project.render.RenderException: Exception(s) occured
> during rendering: Exception(s) occured during rendering: Exception rendering
> layer org.geotools.map.DefaultMapLayer@71c5bc
> at
> net.refractions.udig.render.internal.feature.basic.BasicFeatureRenderer.rende
> r(BasicFeatureRenderer.java:229)
> at
> net.refractions.udig.render.internal.feature.basic.BasicFeatureRenderer.rende
> r(BasicFeatureRenderer.java:184)
> at
> net.refractions.udig.project.internal.render.impl.RenderExecutorImpl$RenderJo
> b.startRendering(RenderExecutorImpl.java:206)
> at
> net.refractions.udig.project.internal.render.impl.RenderExecutorImpl$RenderJo
> b.run(RenderExecutorImpl.java:244)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
> Caused by: net.refractions.udig.project.render.RenderException: Exception(s)
> occured during rendering: Exception rendering layer
> org.geotools.map.DefaultMapLayer@71c5bc
> at
> net.refractions.udig.render.internal.feature.basic.BasicFeatureRenderer.rende
> r(BasicFeatureRenderer.java:220)
> ... 4 more
> Caused by: java.lang.Exception: Exception rendering layer
> org.geotools.map.DefaultMapLayer@71c5bc
> at
> org.geotools.renderer.lite.LiteRenderer.paint(LiteRenderer.java:465)
> at
> net.refractions.udig.render.internal.feature.basic.BasicFeatureRenderer.rende
> r(BasicFeatureRenderer.java:217)
> ... 4 more
> Caused by: java.lang.NullPointerException
> at
> org.geotools.data.FilteringFeatureReader.getFeatureType(FilteringFeatureReade
> r.java:87)
> at
> org.geotools.data.AbstractDataStore.getFeatureReader(AbstractDataStore.java:4
> 55)
> at
> org.geotools.data.DefaultFeatureResults.reader(DefaultFeatureResults.java:151
> )
> at
> org.geotools.renderer.lite.LiteRenderer.processStylers(LiteRenderer.java:981)
> at
> org.geotools.renderer.lite.LiteRenderer.paint(LiteRenderer.java:461)
> ... 5 more
>
> !ENTRY net.refractions.udig.project 2 0 2005-08-02 13:02:47.509
> !MESSAGE Exception(s) occured during rendering: Exception(s) occured during
> rendering: Exception rendering layer org.geotools.map.DefaultMapLayer@16cdbb8
> !STACK 0
> net.refractions.udig.project.render.RenderException: Exception(s) occured
> during rendering: Exception(s) occured during rendering: Exception rendering
> layer org.geotools.map.DefaultMapLayer@16cdbb8
> at
> net.refractions.udig.render.internal.feature.basic.BasicFeatureRenderer.rende
> r(BasicFeatureRenderer.java:229)
> at
> net.refractions.udig.render.internal.feature.basic.BasicFeatureRenderer.rende
> r(BasicFeatureRenderer.java:184)
> at
> net.refractions.udig.project.internal.render.impl.RenderExecutorImpl$RenderJo
> b.startRendering(RenderExecutorImpl.java:206)
> at
> net.refractions.udig.project.internal.render.impl.RenderExecutorImpl$RenderJo
> b.run(RenderExecutorImpl.java:244)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
> Caused by: net.refractions.udig.project.render.RenderException: Exception(s)
> occured during rendering: Exception rendering layer
> org.geotools.map.DefaultMapLayer@16cdbb8
> at
> net.refractions.udig.render.internal.feature.basic.BasicFeatureRenderer.rende
> r(BasicFeatureRenderer.java:220)
> ... 4 more
> Caused by: java.lang.Exception: Exception rendering layer
> org.geotools.map.DefaultMapLayer@16cdbb8
> at
> org.geotools.renderer.lite.LiteRenderer.paint(LiteRenderer.java:465)
> at
> net.refractions.udig.render.internal.feature.basic.BasicFeatureRenderer.rende
> r(BasicFeatureRenderer.java:217)
> ... 4 more
> Caused by: java.lang.NullPointerException
> at
> org.geotools.data.FilteringFeatureReader.getFeatureType(FilteringFeatureReade
> r.java:87)
> at
> org.geotools.data.AbstractDataStore.getFeatureReader(AbstractDataStore.java:4
> 55)
> at
> org.geotools.data.DefaultFeatureResults.reader(DefaultFeatureResults.java:151
> )
> at
> org.geotools.renderer.lite.LiteRenderer.processStylers(LiteRenderer.java:981)
> at
> org.geotools.renderer.lite.LiteRenderer.paint(LiteRenderer.java:461)
> ... 5 more
>
> !ENTRY net.refractions.udig.project.ui 1 1 2005-08-02 13:02:57.743
> !MESSAGE Picasso job may not shut down (it's just not a team player).
>
> !ENTRY net.refractions.udig.project.ui 1 0 2005-08-02 13:02:57.915
> !MESSAGE Error running runnable
> !STACK 0
> java.lang.NoClassDefFoundError:
> org/eclipse/emf/ecore/util/BasicExtendedMetaData
> at
> org.eclipse.emf.ecore.util.ExtendedMetaData.<clinit>(ExtendedMetaData.java:86
> 9)
> at
> org.eclipse.emf.ecore.impl.EFactoryImpl.convertToString(EFactoryImpl.java:408
> )
> at
> net.refractions.udig.project.internal.impl.ProjectFactoryImpl.convertURLToStr
> ing(ProjectFactoryImpl.java:577)
> at
> net.refractions.udig.project.internal.impl.ProjectFactoryImpl.convertToString
> (ProjectFactoryImpl.java:211)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.convertToString(XMLHelperImpl.ja
> va:1367)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.getDatatypeValue(XMLSaveImpl.java:
> 2563)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveDataTypeSingle(XMLSaveImpl.jav
> a:1374)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:966)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:227
> 2)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:889)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedMany(XMLSaveImpl.java
> :2001)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1221
> )
> at
> org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:227
> 2)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:889)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedSingle(XMLSaveImpl.ja
> va:1988)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1215
> )
> at
> org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:227
> 2)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.writeTopObject(XMLSaveImpl.java:51
> 0)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.traverse(XMLSaveImpl.java:474)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.save(XMLSaveImpl.java:206)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doSave(XMLResourceImpl.java:19
> 3)
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:893)
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:813)
> at
> net.refractions.udig.project.ui.internal.MapEditor$5.saveAndUnload(MapEditor.
> java:317)
> at
> net.refractions.udig.project.ui.internal.MapEditor$5.run(MapEditor.java:307)
> at
> net.refractions.udig.project.ui.PlatformGIS$Runner.run(PlatformGIS.java:279)
> at
> net.refractions.udig.project.ui.PlatformGIS$Runner.run(PlatformGIS.java:257)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
>
>
> -----Original Message-----
> From: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx
> [mailto:udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Justin
> Deoliveira
> Sent: Tuesday, August 02, 2005 11:31 AM
> To: User-friendly Desktop Internet GIS
> Subject: Re: [udig-devel] Dxf and rendering
>
> Any chance you can fire us off hte stack trace or error log to take a look
> at.
>
> Justin
>
> Edwards, Wendy A ERDC-CERL-IL Contractor wrote:
> > Hi, I've gotten the code to get the layers out of the Dxf files, but
> > it's having some rendering issues. Specifically, it's throwing an
> > exception in the BasicFeatureRenderer render(Graphics2D, Envelope,
> > IProgressMonitor) method. It looks like it's specifically having a
> > problem at the line lite.paint(graphics, paintArea, validBounds); I'm
> > wondering if the problem could be occurring in the processStylers
> > method in LiteRenderer. Any ideas about what could be happening? I
> > checked in the latest code.
> >
> > Thanks,
> > Wendy
> > _______________________________________________
> > User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net
> > http://lists.refractions.net/mailman/listinfo/udig-devel
>
>
> --
> Justin Deoliveira
> Refractions Research Inc.
> Email: jdeolive@xxxxxxxxxxxxxxx
> Phone: 250.885.4387
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>