Home > Oracle, OSB > Incorrect argument type encountered in function or method invocation. in main

Incorrect argument type encountered in function or method invocation. in main

I am working with ORACLE SOA & OSB version 11.1.1.5.0. This error occurs if you use Oracle Business Rules and you forget to pass all the objects defined in your decision function. To elaborate: if in your decision function you have defined as inputs, let’s say, the objects Customer and Address, but in your code you only pass as input the object Customer, then you will get the error message above. To fix it either pass both objects, or remove the unused object from the input settings of your decision function.

The actual error oracle outputs is rather misleading. I spent three hours trying to find out what’s going on.

Categories: Oracle, OSB
  1. jksa291193
    26 November 2018 at 10:51 pm

    Hello, this could be helpfull

    RUL-00012: wrong argument type in function or method invocation {0} {1,choice,0#|0<at line {1,number,integer}} {2,choice,0#|0< column {2,number,integer}} {1,choice,0#|0< } {3,choice,0#|0<in {4}}
    Cause: An argument in an RL function or a Java method invocation was an incorrect type.
    Action: Correct the offending RL code.

    Level: 1

    Type: ERROR

    Impact: Programmatic

    causes

    1. bad type argument for average function
    2. bad argument on function call
    3. arraylist check non zero

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: