Forum: Building VoltDB Applications

Post: Unimplemented Object Type: class [Ljava.lang.String

Unimplemented Object Type: class [Ljava.lang.String
etumbokon
Dec 10, 2010
Hi,

I'm trying to compile a procedure that use arrays as parameters just like org.voltdb.benchmark.tpcc.procedures.InsertOrderLineBatched. However, I'm getting the following error messages. What is causing these errors?

Thanks,
Edgar

Build: https://svn.voltdb.com/eng/branches/voltdb-1.2?revision=1178
Version: 1.2.03

[java] 764 [main] INFO COMPILER - [PutMessage.class]: Compiling Statement: INSERT INTO retryqueue VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
[java] 851 [main] INFO COMPILER - [PutManyMessages.class]: Compiling Statement: INSERT INTO retryqueue VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
[java] Exception in thread "main" org.voltdb.VoltTypeException: Unimplemented Object Type: class [Ljava.lang.String;
[java] at org.voltdb.VoltType.typeFromClass(VoltType.java:233)
[java] at org.voltdb.compiler.ProcedureCompiler.compileJavaProcedure(ProcedureCompiler.java:326)
[java] at org.voltdb.compiler.ProcedureCompiler.compile(ProcedureCompiler.java:66)
[java] at org.voltdb.compiler.VoltCompiler.compileDatabaseNode(VoltCompiler.java:672)
[java] at org.voltdb.compiler.VoltCompiler.compileXMLRootNode(VoltCompiler.java:432)
[java] at org.voltdb.compiler.VoltCompiler.compileCatalog(VoltCompiler.java:391)
[java] at org.voltdb.compiler.VoltCompiler.compile(VoltCompiler.java:301)
[java] at org.voltdb.compiler.VoltCompiler.main(VoltCompiler.java:935)

BUILD FAILED
re: arrays as parameters
tcallaghan
Dec 10, 2010
Edgar,

Can you post the relevant source code for your client application and stored procedure in this forum thread or email it to me at tcallaghan@voltdb.com?

-Tim
re: arrays as parameters
tcallaghan
Dec 10, 2010
Edgar,

As per your email, an array cannot be a partitioning parameter to a stored procedure.
I will be creating a ticket in our bug database to improve the messaging for this scenario.

-Tim
Jira ticket number
tcallaghan
Dec 13, 2010
FYI, the defect ticket to improve this error message is at http://issues.voltdb.com/browse/ENG-933

-Tim