[graalvm-users] TypeError error message

Oleg Šelajev oleg.selajev at oracle.com
Fri Jul 6 03:15:44 PDT 2018

Hi David! 

thanks for the kind words! It’s really great to receive feedback like that! 

Can you please submit an issue about the unhelpful error message to the GitHub repo: github.com/oracle/graal/issues maybe with a little bit more context. That is the best way to have them fixed!

Thanks again,  

On 6 July 2018 at 13:07:20, David Conrad (davidconrad at acm.org) wrote:


I just started using GraalVM and it's like magic. Well done!  

Unfortunately, I made a silly mistake. I wrote an N-Queens solver  
in C and a driver to call it in Javascript. But I forgot to convert the  
command line parameters from strings to numbers:  

> unknown:0  
> unknown  
> ^  
> TypeError: INVOKE on foreign object failed due to: UnsupportedTypeException  

The error message here is a little less than totally helpful. I'm sure  
this is an area  
that's still under development, but including the actual type and  
expected type (or  
list of acceptable types) is obviously desirable.  

Despite that my early impression of GraalVM is extremely favorable and I want to  
commend everyone working on it for an amazing piece of engineering.  

David Conrad  

GraalVM-Users mailing list  
GraalVM-Users at oss.oracle.com  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/graalvm-users/attachments/20180706/18bb3b7a/attachment.html 

More information about the GraalVM-Users mailing list