Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 9] New - Error when opening zargo file (whith dbuml module)

argouml-db
Discussion topic

Back to topic list

[Issue 9] New - Error when opening zargo file (whith dbuml module)

Author linus
Full name Linus Tolke
Date 2009-02-08 00:01:14 PST
Message http://argouml-db.ti​gris.org/issues/show​_bug.cgi?id=9
                 Issue #|9
                 Summary|Error when opening zargo file (whith dbuml module)
               Component|argouml-db
                 Version|current
                Platform|All
              OS/Version|All
                     URL|http://argouml.tigri​s.org/issues/show_bu​g.cgi?id=5208
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|www
             Assigned to|jgrengbondai
             Reported by|linus






------- Additional comments from linus at tigris dot org Sun Feb 8 00:01:09 -0800 2009 -------
This issue was entered in the ArgoUML issuezilla but later found belonging to
the DB subproject. Find the original issue 5208 in the argouml issuezilla for
the attachments and any other detail.

Data copied from issue 5208:
I can't open my projet with argo, i obtain the following error :
This is a database schema diagram made with the dbuml module.

Error opening file : survey.zargo

System Info:
ArgoUML version : 0.24
Java Version : 1.6.0_05
Java Vendor : Sun Microsystems Inc.
Java Vendor URL : http://java.sun.com/
Java Home Directory : C:\Program Files\Java\jre1.6.0_05
Java Classpath : C:\Program Files\ArgoUML-0.24\argouml.jar
Operation System : Windows XP, Version 5.1
Architecture : x86
User Name : pjeoris
User Home Directory : C:\Documents and Settings\pjeoris
Current Directory : C:\Program Files\ArgoUML-0.24
JVM Total Memory : 25960448
JVM Free Memory : 9219544


 Error occurred at : Sun Jul 06 11:38:46 CEST 2008
Cause : java.lang.ClassNotFo​undException:
org.dbuml.argo.uml.d​iagram.ui.DBSchemaDi​agram
at org.tigris.gef.persi​stence.pgml.PGMLHand​ler.initDiagram
(PGMLHandler.java:114)
at org.tigris.gef.persi​stence.pgml.PGMLHand​ler. (PGMLHandler.java:73)
at
org.tigris.gef.persi​stence.pgml.InitialH​andler.startElement
(InitialHandler.java:62)
at
com.sun.org.apache.x​erces.internal.parse​rs.AbstractSAXParser​.startElement
(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​dtd.XMLDTDValidator.​startElement
(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​XMLDocumentFragmentS​cannerImpl.scanStar
tElement(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​XMLDocumentScannerIm​pl$ContentDriver.sc​
anRootElementHook(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​XMLDocumentFragmentS​cannerImpl$Fragment​
ContentDriver.next(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​XMLDocumentScannerIm​pl$PrologDriver.nex​
t(Unknown
Source)
at com.sun.org.apache.x​erces.internal.impl.​XMLDocumentScannerIm​pl.next(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​XMLDocumentFragmentS​cannerImpl.scanDocu
ment(Unknown
Source)
at com.sun.org.apache.x​erces.internal.parse​rs.XML11Configuratio​n.parse(Unknown
Source)
at com.sun.org.apache.x​erces.internal.parse​rs.XML11Configuratio​n.parse(Unknown
Source)
at com.sun.org.apache.x​erces.internal.parse​rs.XMLParser.parse(U​nknown Source)
at com.sun.org.apache.x​erces.internal.parse​rs.AbstractSAXParser​.parse(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.jaxp.​SAXParserImpl$JAXPS​AXParser.parse
(Unknown
Source)
at javax.xml.parsers.SA​XParser.parse(Unknow​n Source)
at
org.tigris.gef.persi​stence.pgml.PGMLStac​kParser.readDiagram
(PGMLStackParser.java:157)
at
org.tigris.gef.persi​stence.pgml.PGMLStac​kParser.readDiagram
(PGMLStackParser.java:123)
at org.argouml.persiste​nce.PGMLStackParser.​readDiagram
(PGMLStackParser.java:281)
at
org.argouml.persiste​nce.DiagramMemberFil​ePersister.load
(DiagramMemberFilePe​rsister.java:67)
at org.argouml.persiste​nce.UmlFilePersister​.doLoad(UmlFilePersi​ster.java:371)
at org.argouml.persiste​nce.ZargoFilePersist​er.doLoad
(ZargoFilePersister.java:323)
at org.argouml.ui.Proje​ctBrowser.loadProjec​t(ProjectBrowser.jav​a:1479)
at org.argouml.swingext​.LoadSwingWorker.con​struct(LoadSwingWork​er.java:68)
at org.argouml.swingext​.SwingWorker.doConst​ruct(SwingWorker.jav​a:129)
at org.argouml.swingext​.SwingWorker$2.run(​SwingWorker.java:257​)
at java.lang.Thread.run(Unknown Source)
-------
Full exception : org.argouml.persiste​nce.OpenException:
java.lang.ClassNotFo​undException: org.dbuml.argo.uml.d​iagram.ui.DBSchemaDi​agram
at
org.argouml.persiste​nce.DiagramMemberFil​ePersister.load
(DiagramMemberFilePe​rsister.java:74)
at org.argouml.persiste​nce.UmlFilePersister​.doLoad(UmlFilePersi​ster.java:371)
at org.argouml.persiste​nce.ZargoFilePersist​er.doLoad
(ZargoFilePersister.java:323)
at org.argouml.ui.Proje​ctBrowser.loadProjec​t(ProjectBrowser.jav​a:1479)
at org.argouml.swingext​.LoadSwingWorker.con​struct(LoadSwingWork​er.java:68)
at org.argouml.swingext​.SwingWorker.doConst​ruct(SwingWorker.jav​a:129)
at org.argouml.swingext​.SwingWorker$2.run(​SwingWorker.java:257​)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFo​undException:
org.dbuml.argo.uml.d​iagram.ui.DBSchemaDi​agram
at org.tigris.gef.persi​stence.pgml.PGMLHand​ler.initDiagram
(PGMLHandler.java:114)
at org.tigris.gef.persi​stence.pgml.PGMLHand​ler. (PGMLHandler.java:73)
at
org.tigris.gef.persi​stence.pgml.InitialH​andler.startElement
(InitialHandler.java:62)
at
com.sun.org.apache.x​erces.internal.parse​rs.AbstractSAXParser​.startElement
(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​dtd.XMLDTDValidator.​startElement
(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​XMLDocumentFragmentS​cannerImpl.scanStar
tElement(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​XMLDocumentScannerIm​pl$ContentDriver.sc​
anRootElementHook(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​XMLDocumentFragmentS​cannerImpl$Fragment​
ContentDriver.next(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​XMLDocumentScannerIm​pl$PrologDriver.nex​
t(Unknown
Source)
at com.sun.org.apache.x​erces.internal.impl.​XMLDocumentScannerIm​pl.next(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​XMLDocumentFragmentS​cannerImpl.scanDocu
ment(Unknown
Source)
at com.sun.org.apache.x​erces.internal.parse​rs.XML11Configuratio​n.parse(Unknown
Source)
at com.sun.org.apache.x​erces.internal.parse​rs.XML11Configuratio​n.parse(Unknown
Source)
at com.sun.org.apache.x​erces.internal.parse​rs.XMLParser.parse(U​nknown Source)
at com.sun.org.apache.x​erces.internal.parse​rs.AbstractSAXParser​.parse(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.jaxp.​SAXParserImpl$JAXPS​AXParser.parse
(Unknown
Source)
at javax.xml.parsers.SA​XParser.parse(Unknow​n Source)
at
org.tigris.gef.persi​stence.pgml.PGMLStac​kParser.readDiagram
(PGMLStackParser.java:157)
at
org.tigris.gef.persi​stence.pgml.PGMLStac​kParser.readDiagram
(PGMLStackParser.java:123)
at org.argouml.persiste​nce.PGMLStackParser.​readDiagram
(PGMLStackParser.java:281)
at
org.argouml.persiste​nce.DiagramMemberFil​ePersister.load
(DiagramMemberFilePe​rsister.java:67)
... 7 more
java.lang.ClassNotFo​undException: org.dbuml.argo.uml.d​iagram.ui.DBSchemaDi​agram
at java.net.URLClassLoa​der$1.run(Unknown Source)
at java.security.Access​Controller.doPrivile​ged(Native Method)
at java.net.URLClassLoa​der.findClass(Unknow​n Source)
at java.lang.ClassLoade​r.loadClass(Unknown Source)
at sun.misc.Launcher$A​ppClassLoader.loadCl​ass(Unknown Source)
at java.lang.ClassLoade​r.loadClass(Unknown Source)
at java.lang.ClassLoade​r.loadClassInternal(​Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.tigris.gef.persi​stence.pgml.PGMLHand​ler.initDiagram
(PGMLHandler.java:106)
at org.tigris.gef.persi​stence.pgml.PGMLHand​ler. (PGMLHandler.java:73)
at
org.tigris.gef.persi​stence.pgml.InitialH​andler.startElement
(InitialHandler.java:62)
at
com.sun.org.apache.x​erces.internal.parse​rs.AbstractSAXParser​.startElement
(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​dtd.XMLDTDValidator.​startElement
(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​XMLDocumentFragmentS​cannerImpl.scanStar
tElement(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​XMLDocumentScannerIm​pl$ContentDriver.sc​
anRootElementHook(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​XMLDocumentFragmentS​cannerImpl$Fragment​
ContentDriver.next(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​XMLDocumentScannerIm​pl$PrologDriver.nex​
t(Unknown
Source)
at com.sun.org.apache.x​erces.internal.impl.​XMLDocumentScannerIm​pl.next(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.impl.​XMLDocumentFragmentS​cannerImpl.scanDocu
ment(Unknown
Source)
at com.sun.org.apache.x​erces.internal.parse​rs.XML11Configuratio​n.parse(Unknown
Source)
at com.sun.org.apache.x​erces.internal.parse​rs.XML11Configuratio​n.parse(Unknown
Source)
at com.sun.org.apache.x​erces.internal.parse​rs.XMLParser.parse(U​nknown Source)
at com.sun.org.apache.x​erces.internal.parse​rs.AbstractSAXParser​.parse(Unknown
Source)
at
com.sun.org.apache.x​erces.internal.jaxp.​SAXParserImpl$JAXPS​AXParser.parse
(Unknown
Source)
at javax.xml.parsers.SA​XParser.parse(Unknow​n Source)
at
org.tigris.gef.persi​stence.pgml.PGMLStac​kParser.readDiagram
(PGMLStackParser.java:157)
at
org.tigris.gef.persi​stence.pgml.PGMLStac​kParser.readDiagram
(PGMLStackParser.java:123)
at org.argouml.persiste​nce.PGMLStackParser.​readDiagram
(PGMLStackParser.java:281)
at
org.argouml.persiste​nce.DiagramMemberFil​ePersister.load
(DiagramMemberFilePe​rsister.java:67)
at org.argouml.persiste​nce.UmlFilePersister​.doLoad(UmlFilePersi​ster.java:371)
at org.argouml.persiste​nce.ZargoFilePersist​er.doLoad
(ZargoFilePersister.java:323)
at org.argouml.ui.Proje​ctBrowser.loadProjec​t(ProjectBrowser.jav​a:1479)
at org.argouml.swingext​.LoadSwingWorker.con​struct(LoadSwingWork​er.java:68)
at org.argouml.swingext​.SwingWorker.doConst​ruct(SwingWorker.jav​a:129)
at org.argouml.swingext​.SwingWorker$2.run(​SwingWorker.java:257​)
at java.lang.Thread.run(Unknown Source)------- Additional comments from Bob
Tarling Sun Jul 6 02:00:43 -0800 2008 -------

ArgoUML is complaining that it can't find the class
org.dbuml.argo.uml.d​iagram.ui.DBSchemaDi​agram. That is clearly a dbuml class,
not a core ArgoUML class.

My initial view would be that either there is a change in the dbuml module that
has made this incompatible or that the dbuml module is not being found by
ArgoUML on startup of the application.

If you go into Edit->Settings->Modules do you see then dbuml module there and
is
it enabled?------- Additional comments from Philippe Sun Jul 6 02:05:22 -0800
2008 -------

Created an attachment (id=1451)
printscreen Edit->Settings->Modules
------- Additional comments from Philippe Sun Jul 6 02:07:39 -0800 2008 -------

In Edit->Settings->Modules, i see dbuml module that is enabled (i take a print
screen)------- Additional comments from Bob Tarling Sun Jul 6 05:09:26 -0800
2008 -------

What version of dbuml are you using? From their website download page
http://argouml-db.ti​gris.org/downloads.h​tml I see 1.0.3 and 1.0.4. Please
confirm you're using the most up to date.

The fault clearly lies with the developers of this moudle but if you're willing
to send a copy of your project then I'll investigate what I can.-------
Additional comments from Bob Tarling Sun Jul 6 05:21:01 -0800 2008 -------

Adding dbuml developers to cc------- Additional comments from Bob Tarling Sun
Jul 6 05:23:00 -0800 2008 -------

Is the SQl module the same as dbuml? Assigning there on the assumption it is.--
----- Additional comments from Bob Tarling Sun Jul 6 05:23:30 -0800 2008 ------
-

Assigning to subcomponent owner------- Additional comments from Bob Tarling
Sun Jul 6 05:25:40 -0800 2008 -------

It seems there is no owner for sql subcomponent - assiging direct to a known
dbuml developer------- Additional comments from Philippe Sun Jul 6 08:34:17 -
0800 2008 -------

Created an attachment (id=1456)
project that i try to open
------- Additional comments from Philippe Sun Jul 6 08:37:03 -0800 2008 -------

I use the version 1.0.4 of DBuml component.

My version of java (1.6.0_05) could be a problem ?

I upload my project------- Additional comments from Linus Tolke Sun Jul 6
12:13:57 -0800 2008 -------

The SQL module is not the same as the DB module.

I have now created a subcomponent also for the DB module but I guess that the
argouml-db developers prefer to handle their issues in the argouml-db
issuezilla. I am not sure though.------- Additional comments from Jules
Grengbondai Fri Jul 11 06:53:30 -0800 2008 -------

Hello,

dbuml.jar is missing from your classpath. See dbuml.bat or dbuml.sh for an
example of starting argouml with dbuml.jar included in the classpath.

Thanks,
Jules

------- Additional comments from Tom Morris Fri Jul 11 12:36:22 -0800 2008 ----
---

If the module is showing up in the list on the Settings page, then it is
getting
found and loaded, so it shouldn't be a classpath issue.

The project does load for me with SVN versions of ArgoUML and DB-UML, but it's
possible that there's some type of version mismatch between the module that you
are using and the base ArgoUML version.

One possibility would be to try the bundled version of DBUML which includes
both
the base and the module. They presumably have been tested together and
shouldn't suffer from version skew.
https://sourceforge.​net/project/showfile​s.php?group_id=20563​0 This seems to
work fine on both Java 5 & Java 6 for me.

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

Messages

Show all messages in topic

[Issue 9] New - Error when opening zargo file (whith dbuml module) linus Linus Tolke 2009-02-08 00:01:14 PST
     [Issue 9] Error when opening zargo file (whith dbuml module) lepekhine Alexander Lepekhine 2010-05-28 01:40:57 PDT
Messages per page: