[eclipse-clp-users] Difficulties with CP-viz Viztool under Tkeclipse 6.1 #163

From: Claudio Cesar de Sá <claudio.sa_at_...347...>
Date: Sun, 21 Jul 2013 20:26:24 -0300
Hi

I tried to run a small example to study the CPviz tool. Some strange
results were generated in
Output directory. But some error in Java such .........

Running: viz Viz_RESULTADOS_balanco/configuration.xml
Viz_RESULTADOS_balanco/tree.tre Viz_RESULTADOS_balanco/vis.viz
Started Config Document
End Document
Viz_RESULTADOS_balanco/configuration.xml contains 2 nodes
Started Tree Document
Exception in thread "main" java.lang.NullPointerException
    at ie.ucc.cccc.viz.Tree.addToParent(Tree.java:119)
    at ie.ucc.cccc.viz.Tree.addToParent(Tree.java:110)
    at ie.ucc.cccc.viz.Tree.buildParentLists(Tree.java:99)
.............................
    at ie.ucc.cccc.viz.Viz.runViz(Viz.java:93)
    at ie.ucc.cccc.viz.Viz.main(Viz.java:62)
CP-Viz: viz-command returned with status 256
Aborting execution ...

My Java is:

java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
this installation works under browers et all.


The examples from CPviz manual  provides some strange messages like:
..............................................................................................................
/usr/local/eclipse/lib_public/cpviz.ecl compiled 25560 bytes in 0.43 seconds
cpviz_example.ecl compiled 18696 bytes in 0.56 seconds
calling an undefined procedure top in module eclipse
......................................................................................

The code is attached.

What's the steps sequence to use CP - viz? Should be run after the compile?

thanks

-- 

claudio
    (
    ))
   |""|-.
   |__|-'


**********************************************************************
http://claudiocesar.wordpress.com/about/
***********************************************************************



Received on Sun Jul 21 2013 - 23:26:33 CEST

This archive was generated by hypermail 2.3.0 : Tue Apr 16 2024 - 09:13:20 CEST