czoog

SHP file import problem

Discussion created by czoog on Nov 15, 2013
I am trying to import a SHP file created from Autocad via FME.  It's in the same coordinate system as the city engine scene, but it is a "custom" coordinate systme according to city engine (TURK-35N).  Anyway, the shapefile opens fine in ArcGIS, and even if I convert it to fileGDB, city engne won't import it.  no error or anything, just nothing.  I check the log and it says the follow after i attempt the import:

eclipse.buildId=unknown
java.version=1.6.0_32
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -data @noDefault


Warning
Fri Nov 15 14:15:31 EST 2013
java.lang.NullPointerException - [main]

java.io.IOException: java.lang.NullPointerException
 at com.procedural.formats.shapefile.ShapeImporter.importLayers(Unknown Source)
 at com.procedural.cemodel.CELayerFactory.importLayers(Unknown Source)
 at com.procedural.ceui.wizards.CELayerImportWizard$2.run(Unknown Source)
 at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
 at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
 at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1008)
 at com.procedural.ceui.wizards.CELayerImportWizard.performImport(Unknown Source)
 at com.procedural.ceui.wizards.CELayerImportWizard.performFinish(Unknown Source)
 at com.procedural.formats.shapefile.ShapeImportWizard.performFinish(Unknown Source)
 at com.procedural.ceui.views.CE3DView.handleDropImport(Unknown Source)
 at com.procedural.ceui.views.CE3DView.handleDrop(Unknown Source)
 at com.procedural.ceui.views.CE3DView.drop(Unknown Source)
 at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
 at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
 at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:456)
 at org.eclipse.swt.dnd.DropTarget.Drop_64(DropTarget.java:392)
 at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:260)
 at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
 at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
 at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363)
 at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289)
 at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
 at org.corebounce.rcp.CBDisplay.readAndDispatch(Unknown Source)
 at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
 at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
 at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
 at com.procedural.cityengine.release.Application.start(Unknown Source)
 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:369)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
 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:597)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Caused by: java.lang.NullPointerException
 at com.procedural.cemodel.CEAbstractLayerImporter.adjustOriginAndSetCS(Unknown Source)
 ... 51 more


Any ideas?  thanks!

Outcomes