From: Joao L. <jn...@gm...> - 2011-12-15 13:53:46
|
Hello I'm getting the following error when trying to obtain the various tables of the database. What could be causing the error? > org.postgresql.util.PSQLException: ERROR: relation "dp_da_accessibility" > does not exist > Position: 19 > at > org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062) > at > org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795) > at > org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) > at > org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479) > at > org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:353) > at > org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:252) > at > org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208) > at > org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208) > at > org.geotools.jdbc.HeuristicPrimaryKeyFinder.createPrimaryKey(HeuristicPrimaryKeyFinder.java:133) > at > org.geotools.jdbc.HeuristicPrimaryKeyFinder.getPrimaryKey(HeuristicPrimaryKeyFinder.java:59) > at > org.geotools.jdbc.CompositePrimaryKeyFinder.getPrimaryKey(CompositePrimaryKeyFinder.java:45) > at org.geotools.jdbc.JDBCDataStore.getPrimaryKey(JDBCDataStore.java:902) > Caused: java.io.IOException: Error looking up primary key > at org.geotools.jdbc.JDBCDataStore.getPrimaryKey(JDBCDataStore.java:915) > at org.geotools.jdbc.JDBCFeatureSource.<init>(JDBCFeatureSource.java:87) > at > org.geotools.jdbc.JDBCDataStore.createFeatureSource(JDBCDataStore.java:769) > at > org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:385) > at > org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:350) > at > org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:103) > at org.plan.maps.ColoredMapImpl.addFeatureLayer(ColoredMapImpl.java:118) > at org.plan.maps.AddLayerAction.connect(AddLayerAction.java:57) > [catch] at > org.plan.maps.AddLayerAction.actionPerformed(AddLayerAction.java:37) > at org.openide.awt.AlwaysEnabledAction$1.run(AlwaysEnabledAction.java:137) > at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95) > at > org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116) > at > org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99) > at > org.openide.awt.AlwaysEnabledAction.actionPerformed(AlwaysEnabledAction.java:140) > at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) > at > javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) > at > javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) > at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) > at > javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) > at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290) > at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) > at java.awt.Component.processMouseEvent(Component.java:6504) > at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) > at java.awt.Component.processEvent(Component.java:6269) > at java.awt.Container.processEvent(Container.java:2229) > at java.awt.Component.dispatchEventImpl(Component.java:4860) > at java.awt.Container.dispatchEventImpl(Container.java:2287) > at java.awt.Component.dispatchEvent(Component.java:4686) > at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) > at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) > at java.awt.Container.dispatchEventImpl(Container.java:2273) > at java.awt.Window.dispatchEventImpl(Window.java:2713) > at java.awt.Component.dispatchEvent(Component.java:4686) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707) > at java.awt.EventQueue.access$000(EventQueue.java:101) > at java.awt.EventQueue$3.run(EventQueue.java:666) > at java.awt.EventQueue$3.run(EventQueue.java:664) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) > at > java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) > at java.awt.EventQueue$4.run(EventQueue.java:680) > at java.awt.EventQueue$4.run(EventQueue.java:678) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:677) > at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148) > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) -- Com os melhores cumprimentos, João Lobo |