puzzle

18 views
Skip to first unread message

DWa...@gmail.com

unread,
Jul 4, 2007, 10:20:10 PM7/4/07
to ViPER Mailing List
Hi, i use the command line to run the viper-gt.jar in the viper-
full-20050525, a Exception was throwed
Exception in thread "main " java.lang.NoClassDefFoundError:org/apache/
commans/logging /LogFactory
at com.hp.hp1.jena.Graph.Node.<clinit><Node.java:34>
at
com.hp.hp1.jena.rdf.model.impl.ResourceImpl.fresh<ResourceImpl.java:
120>
at
com.hp.hp1.jena.rdf.model.impl.ResourceImpl.<init><ResourceImpl.java:
74>
at com.hp.hp1.jena.rdf.model.ResourceImpl
$Impl.creatResource.<ResourceFactory.java:176>
at
com.hp.hp1.jena.rdf.model.ResourceImpl.creatResource.<ResourceFactory.java:
69>
at com.hp.hp1.jena.vocabulary.RDFS.resource<RDFS.java:
18>
at com.hp.hp1.jena.vocabulary.RDFS.<clinit><RDFS.java:
23>
at edu.
umd.cfar.lamp.apploader.Apploader.<clinit><Unknowen Source>
at edu. umd.cfar.lamp.viper.gui.core.RunGT.main<Unknown
Source>
i am a greenin java ,and i don't know how to debug ,so if you tell me
something in detail ,i 'll appreciate.

Michael Reuß

unread,
Jul 5, 2007, 3:35:00 AM7/5/07
to viper-...@googlegroups.com
Since this seems to be a jena problem,  I'd consult http://jena.sourceforge.net/ for help.
(And if you include a little bit more information, e.g. java version, commandline arguments etc. you're more likely to get an answer there...)
Or start it from within Eclipse and look at the debug messages...


Hi, i use the command line to run the viper-gt.jar in the viper-
full-20050525, a Exception was throwed
Exception in thread "main " java.lang.NoClassDefFoundError:org/apache/
commans/logging /LogFactory
             at  com.hp.hp1.jena.Graph.Node.<clinit><Node.java:34>
             at
com.hp.hp1.jena.rdf.model.impl.ResourceImpl.fresh<ResourceImpl.java:
120>
             at
com.hp.hp1.jena.rdf.model.impl.ResourceImpl .<init><ResourceImpl.java:

74>
             at  com.hp.hp1.jena.rdf.model.ResourceImpl
$Impl.creatResource.<ResourceFactory.java:176>
             at
com.hp.hp1.jena.rdf.model.ResourceImpl.creatResource .<ResourceFactory.java:

d wang

unread,
Jul 5, 2007, 10:13:53 PM7/5/07
to viper-...@googlegroups.com
I am glad to hear from you ,my version is1.5.0_06
Because in viper-light-20050525,we have a option Open Existing File,so i didn't type additional commandline arguments.,just simple command : java -jar  viper-gt.jar ,and I will have a go with eclipse.thank you!

2007/7/5, Michael Reuß <michae...@gmail.com>:

DWa...@gmail.com

unread,
Aug 5, 2007, 9:52:15 AM8/5/07
to ViPER Mailing List
Hi,it's all my fault before ,for i ignored two lib-files ,so the
Exception mentioned above was thrown, under your proposal, i run it in
eclipse again with the build.xml provided in viper-full-20050525 ,the
new problem appear ,after asking some friends,now ,i am wondering if
there is some Bugs in source code, that seems so bold maybe, could you
do me a favor to give some suggestion ? many thanks ! and i copy the
Exception below, this seems chaotic,but i have no other good idea, so
forgive me^-^
2007-8-5 21:42:30 edu.umd.cfar.lamp.apploader.AppLoader getIconFor
警告: Error loading icon: Can't get input stream from URL!
2007-8-5 21:42:30 edu.umd.cfar.lamp.apploader.AppLoader getIconFor
警告: Error loading icon: Can't get input stream from URL!
Exception in thread "AWT-EventQueue-0" Exception in thread "AWT-
EventQueue-0"
java.lang.NullPointerExceptionjava.lang.NullPointerException
java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(Unknown Source) at
javax.swing.ImageIcon.<init>(Unknown Source)
at javax.swing.ImageIcon.<init>(Unknown Source)
at
edu.umd.cfar.lamp.apploader.AppLoader.initializeBeanFromResource(Unknown
Source) at
edu.umd.cfar.lamp.apploader.AppLoader.initializeBeanFromResource(Unknown
Source)
at
edu.umd.cfar.lamp.apploader.AppLoader.initializeBeanFromResource(Unknown
Source)
at
edu.umd.cfar.lamp.apploader.AppLoader.initializeBeanFromResource(Unknown
Source) at
edu.umd.cfar.lamp.apploader.AppLoader.initializeBeanFromResource(Unknown
Source)
at
edu.umd.cfar.lamp.apploader.AppLoader.initializeBeanFromResource(Unknown
Source)
at edu.umd.cfar.lamp.apploader.AppLoader.loadBeans(Unknown Source) at
edu.umd.cfar.lamp.apploader.AppLoader.loadBeans(Unknown Source)
at edu.umd.cfar.lamp.apploader.AppLoader.loadBeans(Unknown Source)
at edu.umd.cfar.lamp.apploader.AppLoader.<init>(Unknown Source) at
edu.umd.cfar.lamp.apploader.AppLoader.<init>(Unknown Source)
at edu.umd.cfar.lamp.apploader.AppLoader.<init>(Unknown Source)
at edu.umd.cfar.lamp.apploader.AppLoader$4.run(Unknown Source) at
edu.umd.cfar.lamp.apploader.AppLoader$4.run(Unknown Source)
at edu.umd.cfar.lamp.apploader.AppLoader$4.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source) at
java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source) at
java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source) at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source) at
java.awt.EventDispatchThread.run(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

On 7月5日, 下午3时35分, "Michael Reu " <michael.re...@gmail.com> wrote:
> Since this seems to be a jena problem, I'd consulthttp://jena.sourceforge.net/for help.


> (And if you include a little bit more information, e.g. java version,
> commandline arguments etc. you're more likely to get an answer there...)
> Or start it from within Eclipse and look at the debug messages...
>

> 2007/7/5, DWan...@gmail.com <DWan...@gmail.com>:


>
>
>
> > Hi, i use the command line to run the viper-gt.jar in the viper-
> > full-20050525, a Exception was throwed
> > Exception in thread "main " java.lang.NoClassDefFoundError:org/apache/
> > commans/logging /LogFactory
> > at com.hp.hp1.jena.Graph.Node.<clinit><Node.java:34>
> > at
> > com.hp.hp1.jena.rdf.model.impl.ResourceImpl.fresh<ResourceImpl.java:
> > 120>
> > at

> > com.hp.hp1.jena.rdf.model.impl.ResourceImpl.<init><ResourceImpl.java:


> > 74>
> > at com.hp.hp1.jena.rdf.model.ResourceImpl
> > $Impl.creatResource.<ResourceFactory.java:176>
> > at

> > com.hp.hp1.jena.rdf.model.ResourceImpl.creatResource.<ResourceFactory.java

d wang

unread,
Aug 5, 2007, 10:42:31 AM8/5/07
to ViPER Mailing List
i forget such an important thing that a dialog pop up as the Exception was thown, the dialog says "the program exited without saving your data to a file,would you like to continue editing it,two choice ,one is  start clean,the other continue editing"  best regards !

edu.umd.cfar.lamp.apploader.AppLoader.initializeBeanFromResource (Unknown

Source)
        at
edu.umd.cfar.lamp.apploader.AppLoader.initializeBeanFromResource(Unknown
Source) at
edu.umd.cfar.lamp.apploader.AppLoader.initializeBeanFromResource(Unknown
Source)
        at
edu.umd.cfar.lamp.apploader.AppLoader.initializeBeanFromResource(Unknown
Source)
        at edu.umd.cfar.lamp.apploader.AppLoader.loadBeans(Unknown Source)      at
edu.umd.cfar.lamp.apploader.AppLoader.loadBeans (Unknown Source)

        at edu.umd.cfar.lamp.apploader.AppLoader.loadBeans(Unknown Source)
        at edu.umd.cfar.lamp.apploader.AppLoader.<init>(Unknown Source) at
edu.umd.cfar.lamp.apploader.AppLoader.<init>(Unknown Source)
        at edu.umd.cfar.lamp.apploader.AppLoader.<init>(Unknown Source)
        at edu.umd.cfar.lamp.apploader.AppLoader$4.run(Unknown Source)  at
edu.umd.cfar.lamp.apploader.AppLoader$4.run(Unknown Source)
        at edu.umd.cfar.lamp.apploader.AppLoader$4.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)      at
java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)    at
java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent (Unknown Source)
> > com.hp.hp1.jena.rdf.model.impl.ResourceImpl .<init><ResourceImpl.java:

David Mihalcik

unread,
Aug 5, 2007, 2:13:22 PM8/5/07
to viper-...@googlegroups.com
It is missing an icon. Somehow it isn't being added to the classpath.
I recommend viper-light for the annotation tool. You will probably
have to look at the source to get a good understanding of pe, though.

I'll look at it more later this week.

-davidm

On Aug 5, 2007, at 10:42 AM, "d wang" <dwa...@gmail.com> wrote:

d wang

unread,
Aug 20, 2007, 4:16:21 AM8/20/07
to viper-...@googlegroups.com
Hi , I am sorry to bother you again ,i want  to know the solution to the problem mentioned above ,that is how to add the icon to the classpath, i am looking forward to hear from you.
best regards !

2007/8/6, David Mihalcik <krak...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages