Re: MDR Stand-alone
Joao Paulo Ferreira <[email protected]> Thu, 14 Aug 2003 15:46:43 -0700 (PDT)
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, i got it... i put the 01-02-15.xml and the 01-02-15_diff.xml ant it works fine. Still got some questions: 1-What are these 01-02-15.xml and the 01-02-15_diff.xml files? What are their role in the MDR? 2-I needed to find the uml14.jar, containning the omg.uml.* packages, why there is no reference about it in the MDR resources? Thanks Again --- Daniel Prusa <[email protected]> wrote: > Hi, > > as for the uml2mof application, where did you get it > - did you build it > from sources or downloaded ? > I did not manage to reproduce the bug with "normal" > configuration - > everything works fine, however, reading the stack > trace, I found out > that it can be reproduced if 01-02-15.xml file is > replaced by > 01-02-15_Diff.xml. When you build from sources, > 01-02-15.xml is required > to be downloaded at > http://www.omg.org/cgi-bin/doc?ad/01-02-15 (see our > instructions: > http://mdr.netbeans.org/uml2mof/building.html - step > 3). > So, if the problems you encountered are caused by > 01-02-15.xml file, > download the file and place it to xmidiffs > directory, delete storage > files in uml2mof directory (mdr.btx, mdr.btd), > execute "ant realclean" > and rebuild the tool. > > Daniel > > Joao Paulo Ferreira wrote: > > >Hello, i'm new with the MDR. Particulary, i'm using > it > >to read XMI Files (Poseidon 1.6/XMI 1.2) and > generate > >code, and so on. > >I try to start running and understandind the > uml2mof > >application, but i can't even run it. > >Every time i run i get the message at the end of > this > >e-mail. It ocurrs at the line: > >reader.read(UmlPackage.class.getResource("/resources/01-02-15_Diff.xml").toString(), > >umlMM); > >I double-check the file and its fine, can someone > >please help me to run this uml2mof application? > > > >Thanks > > > > > >java.lang.StackOverflowError > > at java.net.URLStreamHandler.parseURL(Unknown > Source) > > at > sun.net.www.protocol.file.Handler.parseURL(Unknown > >Source) > > at java.net.URL.<init>(Unknown Source) > > at java.net.URL.<init>(Unknown Source) > > at > >sun.misc.URLClassPath$FileLoader.getResource(Unknown > >Source) > > at > >sun.misc.URLClassPath$FileLoader.findResource(Unknown > >Source) > > at sun.misc.URLClassPath.findResource(Unknown > Source) > > at java.net.URLClassLoader$2.run(Unknown Source) > > at > java.security.AccessController.doPrivileged(Native > >Method) > > at java.net.URLClassLoader.findResource(Unknown > >Source) > > at java.lang.ClassLoader.getResource(Unknown > Source) > > at > java.lang.ClassLoader.getResourceAsStream(Unknown > >Source) > > at javax.xml.parsers.FactoryFinder.find(Unknown > >Source) > > at > >javax.xml.parsers.SAXParserFactory.newInstance(Unknown > >Source) > > at > >org.netbeans.lib.jmi.xmi.XmiSAXReader.read(XmiSAXReader.java:115) > > at > >org.netbeans.lib.jmi.xmi.XmiSAXReader.read(XmiSAXReader.java:99) > > at > >org.netbeans.lib.jmi.xmi.XmiSAXReader.read(XmiSAXReader.java:105) > > at > >org.netbeans.lib.jmi.xmi.XmiContext.resolveDifferences(XmiContext.java:335) > > at > >org.netbeans.lib.jmi.xmi.XmiElement$Difference.endElement(XmiElement.java:274) > > at > >org.netbeans.lib.jmi.xmi.XmiSAXReader.endElement(XmiSAXReader.java:240) > > at > >org.apache.crimson.parser.Parser2.maybeElement(Unknown > >Source) > > > > > > > > > > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com