VerveineJ problem?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

VerveineJ problem?

abergel
Hi!

I am getting an exception with VerveineJ. No idea why.

VerveineJ processing file: ./agilevisualization/example/HelloWorld.java
*** VerveineJ visitor got exception: 'java.lang.NullPointerException' while processing file: ./agilevisualization/example/HelloWorld.java


The code is simply:


I have a .mse file that is created however.

Any what’s going on?

Cheers,
Alexandre

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

HelloWorld.java (157 bytes) Download Attachment
output.mse (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: VerveineJ problem?

Nicolas Anquetil

yes, it is an exception in the JDT parser that I have not been able to track down.
that's why I catch it and continue (may be I should not display anything?)

Do you see anything missing in the resulting model?

nicolas

On 14/09/2015 14:27, Alexandre Bergel wrote:
Hi!

I am getting an exception with VerveineJ. No idea why.

VerveineJ processing file: ./agilevisualization/example/HelloWorld.java
*** VerveineJ visitor got exception: 'java.lang.NullPointerException' while processing file: ./agilevisualization/example/HelloWorld.java


The code is simply:



I have a .mse file that is created however.

Any what’s going on?

Cheers,
Alexandre


-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: VerveineJ problem?

abergel
In reply to this post by abergel
Not really.

The code is :
package agilevisualization.example;

public class HelloWorld {
    public static void main(String[] argv) {
System.out.println("Hello World");
    }
}

In the output.se file, there are only 3 types: agile visualization::example::HelloWorld, java::lang::Object and void. String and System are missing

Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Sep 14, 2015, at 9:27 AM, Alexandre Bergel <[hidden email]> wrote:

Hi!

I am getting an exception with VerveineJ. No idea why.

VerveineJ processing file: ./agilevisualization/example/HelloWorld.java
*** VerveineJ visitor got exception: 'java.lang.NullPointerException' while processing file: ./agilevisualization/example/HelloWorld.java


The code is simply:
<HelloWorld.java>

I have a .mse file that is created however.

Any what’s going on?

Cheers,
Alexandre
<output.mse>
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev