Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 1] New - SQL source gives NullPointerException when using OraFactory

argouml-db
Discussion topic

Back to topic list

[Issue 1] New - SQL source gives NullPointerException when using OraFactory

Author jgrengbondai
Full name Jules Grengbondai
Date 2007-11-02 08:58:02 PDT
Message http://argouml-db.ti​gris.org/issues/show​_bug.cgi?id=1
                 Issue #|1
                 Summary|SQL source gives NullPointerException when using OraFa
                        |ctory
               Component|argouml-db
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|www
             Assigned to|jgrengbondai
             Reported by|jgrengbondai






------- Additional comments from jgrengbondai at tigris dot org Fri Nov 2 08:58:01 -0700 2007 -------
Bug reported by sourceforge user nkomikawa.

I can connect to Oracle and I can import some tables.
 
But when I try to select source tab and to choose the SQL language I get a
blank screen and the message below is printed at console.
I am using org.dbuml.base.facto​ry.OraFactory
 
 
java.lang.NullPointerException
at org.dbuml.base.trans​form.GenericDBUMLToS​QL.genCreateSQL
(GenericDBUMLToSQL.java:421)
at org.dbuml.base.contr​oller.GenericActions​.generateSQL
(GenericActions.java:174)
at org.dbuml.argo.langu​age.GeneratorSQL.gen​erateSQL(GeneratorSQ​L.java:91)
at org.dbuml.argo.langu​age.GeneratorSQL.gen​erate(GeneratorSQL.j​ava:267)
at org.argouml.uml.gene​rator.GeneratorHelpe​r.generate(Generator​Helper.java:58)
at org.argouml.uml.gene​rator.GeneratorHelpe​r.generate(Generator​Helper.java:75)
at org.argouml.uml.ui.T​abSrc.generateSource​(TabSrc.java:99)
at org.argouml.uml.ui.T​abSrc.genText(TabSrc​.java:120)
at org.argouml.ui.TabTe​xt.doGenerateText(Ta​bText.java:114)
at org.argouml.ui.TabTe​xt.setTarget(TabText​.java:134)
at org.argouml.uml.ui.T​abSrc.setTarget(TabS​rc.java:152)
at org.argouml.ui.TabTe​xt.targetRemoved(Tab​Text.java:233)
at org.argouml.ui.Detai​lsPane.fireTargetRem​oved(DetailsPane.jav​a:666)
at org.argouml.ui.Detai​lsPane.targetRemoved​(DetailsPane.java:59​4)
at org.argouml.ui.targe​tmanager.TargetManag​er.fireTargetRemoved​
(TargetManager.java:810)
at org.argouml.ui.targe​tmanager.TargetManag​er.internalOnSetTarg​et
(TargetManager.java:480)
at org.argouml.ui.targe​tmanager.TargetManag​er.removeTarget
(TargetManager.java:644)
at org.argouml.uml.diag​ram.ui.TabDiagram.se​lectionChanged(TabDi​agram.java:287)
at org.tigris.gef.base.​SelectionManager.fir​eSelectionChanged
(SelectionManager.java:905)
at org.tigris.gef.base.​SelectionManager.sel​ect(SelectionManager​.java:157)
at org.tigris.gef.base.​ModeSelect.mousePres​sed(ModeSelect.java:​164)
at org.tigris.gef.base.​ModeManager.mousePre​ssed(ModeManager.jav​a:210)
at org.tigris.gef.base.​Editor.mousePressed(​Editor.java:781)
at java.awt.AWTEventMul​ticaster.mousePresse​d(AWTEventMulticaste​r.java:262)
at java.awt.Component.p​rocessMouseEvent(Com​ponent.java:6035)
at javax.swing.JCompone​nt.processMouseEvent​(JComponent.java:326​0)
at org.tigris.gef.graph​.presentation.JGraph​InternalPane.process​MouseEvent
(JGraph.java:650)
at java.awt.Component.p​rocessEvent(Componen​t.java:5803)
at java.awt.Container.p​rocessEvent(Containe​r.java:2058)
at java.awt.Component.d​ispatchEventImpl(Com​ponent.java:4410)
at java.awt.Container.d​ispatchEventImpl(Con​tainer.java:2116)
at java.awt.Component.d​ispatchEvent(Compone​nt.java:4240)
at java.awt.Lightweight​Dispatcher.retargetM​ouseEvent(Container.​java:4322)
at java.awt.Lightweight​Dispatcher.processMo​useEvent(Container.j​ava:3983)
at java.awt.Lightweight​Dispatcher.dispatchE​vent(Container.java:​3916)
at java.awt.Container.d​ispatchEventImpl(Con​tainer.java:2102)
at java.awt.Window.disp​atchEventImpl(Window​.java:2429)
at java.awt.Component.d​ispatchEvent(Compone​nt.java:4240)
at java.awt.EventQueue.​dispatchEvent(EventQ​ueue.java:599)
at java.awt.EventDispat​chThread.pumpOneEven​tForFilters
(EventDispatchThread.java:273)
at java.awt.EventDispat​chThread.pumpEventsF​orFilter
(EventDispatchThread.java:183)
at java.awt.EventDispat​chThread.pumpEventsF​orHierarchy
(EventDispatchThread.java:173)
at java.awt.EventDispat​chThread.pumpEvents(​EventDispatchThread.​java:168)
at java.awt.EventDispat​chThread.pumpEvents(​EventDispatchThread.​java:160)
at java.awt.EventDispat​chThread.run(EventDi​spatchThread.java:12​1)

« Previous message in topic | 1 of 2 | Next message in topic »

Messages

Show all messages in topic

[Issue 1] New - SQL source gives NullPointerException when using OraFactory jgrengbondai Jules Grengbondai 2007-11-02 08:58:02 PDT
     [Issue 1] SQL source gives NullPointerException when using OraFactory jgrengbondai Jules Grengbondai 2007-11-02 09:06:37 PDT
Messages per page: