Hey Folks,
When I try to generate a dbforms-config.xml I get the above exception. I am able to connect to the db, and I have a valid pathname for the file. All the rest of the options on the XML config tab are the defaults. When I click on the "Load" button, nothing happens.
Does anyone have any ideas?
Thanks,
-Joe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Retrieving metadata using the following properties
-----------------------------------------------------
jdbcDriver=org.postgresql.Driver
jdbcURL=jdbc:postgresql://127.0.0.1:5432/cuesol
username=jprosser
password=(hidden)
catalog=null
schemaPattern=null
tableNamePattern=null
java.lang.NullPointerException
at org.dbforms.devgui.XMLConfigGenerator.getForeignKeyInformation(XMLConfigGenerator.java:287)
at org.dbforms.devgui.XMLConfigGenerator.createXMLOutput(XMLConfigGenerator.java:1039)
at org.dbforms.devgui.ConfigFilePanel.actionPerformed(ConfigFilePanel.java:1697)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1445)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1499)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:373)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:245)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:211)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:226)
at java.awt.Component.processMouseEvent(Component.java:3710)
at java.awt.Component.processEvent(Component.java:3539)
at java.awt.Container.processEvent(Container.java:1159)
at java.awt.Component.dispatchEventImpl(Component.java:2588)
at java.awt.Container.dispatchEventImpl(Container.java:1208)
at java.awt.Component.dispatchEvent(Component.java:2492)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2446)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2211)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2120)
at java.awt.Container.dispatchEventImpl(Container.java:1195)
at java.awt.Window.dispatchEventImpl(Window.java:923)
at java.awt.Component.dispatchEvent(Component.java:2492)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:334)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey Folks,
When I try to generate a dbforms-config.xml I get the above exception. I am able to connect to the db, and I have a valid pathname for the file. All the rest of the options on the XML config tab are the defaults. When I click on the "Load" button, nothing happens.
Does anyone have any ideas?
Thanks,
-Joe
Hey!
No idea - could you debug
Henner
-----------------------------------------------------
jdbcDriver=org.postgresql.Driver
jdbcURL=jdbc:postgresql://127.0.0.1:5432/cuesol
username=jprosser
password=(hidden)
catalog=null
schemaPattern=null
tableNamePattern=null
java.lang.NullPointerException
at org.dbforms.devgui.XMLConfigGenerator.getForeignKeyInformation(XMLConfigGenerator.java:287)
at org.dbforms.devgui.XMLConfigGenerator.createXMLOutput(XMLConfigGenerator.java:1039)
at org.dbforms.devgui.ConfigFilePanel.actionPerformed(ConfigFilePanel.java:1697)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1445)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1499)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:373)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:245)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:211)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:226)
at java.awt.Component.processMouseEvent(Component.java:3710)
at java.awt.Component.processEvent(Component.java:3539)
at java.awt.Container.processEvent(Container.java:1159)
at java.awt.Component.dispatchEventImpl(Component.java:2588)
at java.awt.Container.dispatchEventImpl(Container.java:1208)
at java.awt.Component.dispatchEvent(Component.java:2492)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2446)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2211)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2120)
at java.awt.Container.dispatchEventImpl(Container.java:1195)
at java.awt.Window.dispatchEventImpl(Window.java:923)
at java.awt.Component.dispatchEvent(Component.java:2492)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:334)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)
Seems that postgres driver is'nt really supported. Seems that you can not retrieve the needed meta information.
Feel free to change it!
Henner