--
---
You received this message because you are subscribed to the Google Groups "Java™ Pathfinder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-pathfind...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
---
You received this message because you are subscribed to a topic in the Google Groups "Java™ Pathfinder" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/java-pathfinder/H4M3Cb0rpOk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to java-pathfind...@googlegroups.com.
AnweshaThanks and Regards,Any help is welcome. There are commands given where we are asked to give the application classpath, does that mean the path to .class file generated inside the build folder? Tried that, its not working !!Hi,Can anyone plz confirm whether spf (jpf-symbc) and jpf-core can run .class files? In other words if I donot have the source code (.java file) can I use .class file(bytecode) as input to the JPF to get the result? I have seen the document, I need to test and verify. Could you please tell me the command line argument to (NOT bin/jpf and path to the .jpf file) run a bytecode file, I mean .class file?
--
---
You received this message because you are subscribed to a topic in the Google Groups "Java™ Pathfinder" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/java-pathfinder/H4M3Cb0rpOk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to java-pathfind...@googlegroups.com.
--
---
You received this message because you are subscribed to a topic in the Google Groups "Java™ Pathfinder" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/java-pathfinder/H4M3Cb0rpOk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to java-pathfind...@googlegroups.com.
--
---
You received this message because you are subscribed to the Google Groups "Java™ Pathfinder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-pathfind...@googlegroups.com.
could you please elaborate and explain, where do I feed in the path? All I want is to make SPF follow 1 path. Do I need to write a new listener?
could you please elaborate and explain, where do I feed in the path? All I want is to make SPF follow 1 path. Do I need to write a new listener?
On Sat, Sep 7, 2013 at 12:58 PM, Corina Pasareanu <corina...@gmail.com> wrote:
1. First problem is ant test doesn't work, as earlier mentioned in the thread:But when I run ant/test, there is a test failure:build.xml:235: Test gov.nasa.jpf.symbc.TestBooleanSpecial1 failed
2. Second problem is bin/jpf from jpf-symbc doesn't work for compiling .jpf files in symbc: (as I said runJPF.jar from jpf-core if used, works)command bin/jpf path/to/jpf/file/TestPaths.jpf (from within 'jpf-symbc' folder)
The error it gives while compiling is:
[SEVERE] JPF configuration error: error instantiating class.nasa.jpf.symbc.SymbolicInstructionFactory for entry "vm.insn.factory.class":..... [SEVERE] JPF terminated.
3. And finally the third problem is with visualizer (gov/nasa/jpf/symbc/symexectree), it doesn't seem to contain some imported files/packages in SETPrettyPrinter.java, which are att.grappa.* onesSpecially with the current default mercurial link.
Although the last one may not pose much problem, the others are a problem at times. Please have a look at them.Thanks and Regards,
Anwesha
var = 2;
if(var == 2) {
}
--
--
---
You received this message because you are subscribed to a topic in the Google Groups "Java™ Pathfinder" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/java-pathfinder/H4M3Cb0rpOk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to java-pathfind...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Java™ Pathfinder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-pathfind...@googlegroups.com.
Good. I am not using jpf-shell (nor am I maintaining it), so you should probably ask that question on the mailing list. Also be sure to attach the specific build errors you are experiencing.On Wed, Jan 22, 2014 at 1:24 PM, Anwesha <anwesha....@gmail.com> wrote:Thanks Kasper, I got it working now. But there is some issue with the jpf shell build. Please check that.On Tue, Jan 21, 2014 at 4:29 PM, Kasper Søe Luckow <kslu...@gmail.com> wrote:
There must be something wrong with your build or your site.properties file. I cannot reproduce it. Please take a look at why you get the NoSuchMethodError for the getIndexableKey method of Config. That exception is thrown in jpf-core and not in jpf-symbc. Briefly, a NoSuchMethodError means that your compiled classes (in this case Config), does not contain the particular method with that signature. Such errors are typical when you have compiled a class against a different version (that does not have that method) than the one you are actually using when running the application. This makes me almost certain that you have not build your projects properly. Have you by any chance modified getIndexableKey? You could try cleaning jpf-core (and all projects you are depending on) using "ant clean", and then build from scratch all the projects using "ant build".On Tue, Jan 21, 2014 at 12:46 PM, Anwesha <anwesha....@gmail.com> wrote:
Even without jpf-shell, the error I am getting is :
[SEVERE] JPF configuration error: error instantiating class gov.nasa.jpf.jvm.JVMSystemClassLoaderInfo for entry "vm.classloader.class":
> exception in gov.nasa.jpf.jvm.JVMSystemClassLoaderInfo(gov.nasa.jpf.vm.VM,int):
>> java.lang.NoSuchMethodError: gov.nasa.jpf.Config.getIndexableKey(Ljava/lang/String;I)Ljava/lang/String;
> used within "vm.class" instantiation of class gov.nasa.jpf.vm.SingleProcessVM
Thanks and Regards,I used bin/ant build to compile both jpf-core and jpf-symbcI use bin/jpf src/examples/TestPaths.jpf to run but unable to do so. Please help.
AnweshaOn Tue, Jan 21, 2014 at 3:39 PM, Anwesha <anwesha....@gmail.com> wrote:I checked, I am using the correct versions. Could you please check why I am unable to compile .jpf file from symbc.I downloaded the latest build of jpf-shell, and
tried compiling. It gives build errors.
On Wed, Jan 15, 2014 at 4:52 PM, Kasper Søe Luckow <kslu...@gmail.com> wrote:
Looking a bit closer at this issue, it seems to me that something is wrong with your build. How come you get the warning: "[WARNING] unknown classpath element: /home/anwesha/projects/jpf/jpf-shell/build/examples"? That seems to me that you didn't build jpf-shell properly. Otherwise build/examples would be present. Are you sure you have build (using "ant build") jpf-core, jpf-symbc, and jpf-shell (and other projects you might be depending on). Also, please verify that your site.properties are correct. I just did a fresh clone of the repository, and Run*.jar works fine.On Wed, Jan 15, 2014 at 12:09 PM, Anwesha Das <ad...@ncsu.edu> wrote:Hi,Could you please check back.
On Tue, Jan 14, 2014 at 3:39 PM, Anwesha Das <ad...@ncsu.edu> wrote:
Hi,I downloaded the latest core and symbc on 5th Jan. Can you please check and let me know, how to run jpf from symbc, and if everything is fine?
I am having problem again with running a jpf file from jpf-symbc folder. Last time, the problem was Kasper resolved to fix this was"Apparently RunJPF.jar was an old copy from jpf-core v6 that obviously does not work now :)"
This is what I get:
[WARNING] unknown classpath element: /home/anwesha/projects/jpf/jpf-shell/build/examples
[SEVERE] JPF configuration error: error instantiating class gov.nasa.jpf.jvm.JVMSystemClassLoaderInfo for entry "vm.classloader.class":
> exception in gov.nasa.jpf.jvm.JVMSystemClassLoaderInfo(gov.nasa.jpf.vm.VM,int):
>> java.lang.NoSuchMethodError: gov.nasa.jpf.Config.getIndexableKey(Ljava/lang/String;I)Ljava/lang/String;
> used within "vm.class" instantiation of class gov.nasa.jpf.vm.SingleProcessVM
[SEVERE] JPF terminated
Could you please check back, I really need to work on it.Thanks and Regards,
Anwesha
------
Anwesha
Anwesha
Anwesha
Dear all,
I have some questions about running Symbolic PathFinder (SPF). I need
to use SPF in a shell script, but I find most instructions is for
eclipse. I build jpf-core successfully, and tried with some examples
in jpf-core/src/examples.
When I try jpf-symbc
1) I confuse because there are two shell script jpf in jpf-core/bin
and jpf-symbc/bin. The former calls jpf-core/build/RunJPF.jar, and the
latter calls jpf-symbc/tools/RunJPF.jar. So I don't know which script
or jar file should I use for SPF?
2) I tried with both scripts above with :~/Programs/jpf/jpf-symbc$ jpf
src/examples/TestPaths.jpf
For the one in jpf-core/bin, I got the following error:
-------------------
[SEVERE] JPF configuration error: class not found
gov.nasa.jpf.symbc.SymbolicInstructionFactory by classloader:
gov.nasa.jpf.JPFClassLoader@10b30a7
> used within "vm.class" instantiation of class gov.nasa.jpf.jvm.JVM
[SEVERE] JPF terminated
-------------------
For the one in jpf-symbc/bin, I got the error:
error: cannot find gov.nasa.jpf.JPF
So I guess, there is something wrong with my configuration, this is my
site.properties file:
------------------------------
user.home = /home/d2b
jpf.home = ${user.home}/Programs/jpf
jpf-core = ${jpf.home}/jpf-core
jpf-symbc = ${jpf.home}/jpf-symbc
extensions=${jpf-core},${jpf-symbc}
------------------------------
Could you tell me how to fix it?
3) Do I need to build jpf-symbc ? I tried bin/ant test and have the
following error:
ERROR: no ant.jar found in known tools dirs (check your
site.properties)
My site.properties file is as above.
Thank you very much.
Best wishes,
Sang