Hi Kevin, it should, but oviously you've found a bug. It looks like there is a problem with a relation between two entities, possibly using a composite primary key. Try to remove the relation between these tables and try it again, unfortunately there is not much I can do right now.
regards, Florian > -----Urspr�ngliche Nachricht----- > Von: Kevin Viet [mailto:vietk@;activia.net] > Gesendet: Mittwoch, 23. Oktober 2002 15:06 > An: OJB Users List > Betreff: reversedb > > > Hello all > > Does the feature "saveXML" in reversedb tool works for tables using > multi-attributes primary key? > > > When I hit the button I get this exeption > > java.lang.NullPointerException > at > org.apache.ojb.tools.mapping.reversedb.DBFKRelation.getXMLCollecti > on(DBFKRelation.java:336) > at > org.apache.ojb.tools.mapping.reversedb.DBFKRelation.getXML(DBFKRel > ation.java:349) > at > org.apache.ojb.tools.mapping.reversedb.DBTable.getXML(DBTable.java:594) > at > org.apache.ojb.tools.mapping.reversedb.DBSchema.getXML(DBSchema.java:276) > at > org.apache.ojb.tools.mapping.reversedb.DBCatalog.getXML(DBCatalog. > java:286) > at > org.apache.ojb.tools.mapping.reversedb.DBMeta.getXML(DBMeta.java:384) > at > org.apache.ojb.tools.mapping.reversedb.gui.actions.SaveXMLAction.a > ctionPerformed(SaveXMLAction.java:147) > at > javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764) > at > javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abs > tractButton.java:1817) > at > javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonMo > del.java:419) > at > javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257) > at > javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButt > onListener.java:245) > at java.awt.Component.processMouseEvent(Component.java:5093) > at java.awt.Component.processEvent(Component.java:4890) > at java.awt.Container.processEvent(Container.java:1566) > at java.awt.Component.dispatchEventImpl(Component.java:3598) > at java.awt.Container.dispatchEventImpl(Container.java:1623) > at java.awt.Component.dispatchEvent(Component.java:3439) > at > java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450) > at > java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165) > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095) > at java.awt.Container.dispatchEventImpl(Container.java:1609) > at java.awt.Window.dispatchEventImpl(Window.java:1585) > at java.awt.Component.dispatchEvent(Component.java:3439) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) > at > java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatc > hThread.java:197) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchT > hread.java:150) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:99) > > > > > Thx > > -- > Kevin Viet <[EMAIL PROTECTED]> > ActiVia Networks > > > > > -- > To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org> > -- To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>
