12 May
2010
12 May
'10
10:23 a.m.
Le 12/05/2010 12:00, Nicolas Dumoulin a écrit :
After a quick debug, I can see that the problem is with this line: rexp.getAttribute(RInstructions.ATTRIBUTE_NAMES).asStrings()
The NPE occurs because rexp.getAttribute(RInstructions.ATTRIBUTE_NAMES) is null with - RInstructions.ATTRIBUTE_NAMES = "names" - and rexp is a REXPLanguage instance containing - a REXPSymbol "-" - a REXPDouble "1.0"
Thanks, I had a look to the code in R, and I got the attribute "names" containing a list of String : $names [1] "model" "M" "s" "omega" "X" "call" I will try to go further, but as nuiton-j2r do not modify the rexp return from R (and gotten from jri or rserve libraries), i guess this could be also a bug from there. Jean