Menu

#10 exception if no args on chec command

0.8
closed
blue-server (4)
5
2007-03-12
2007-03-09
Anonymous
No

In the service definition file if you define a command like checkxxx without some args (ex : check_cpu instead of check_cpu!arg1!arg2) the server produce an exception error (java.lang.ArrayIndexOutOfBounds) and seems to stop is work.

the error is located in the file borker.java (line 2871, method broker_service_check) where you split the string with a regexp "[!]" and you define two strings from this split :
the first one is the command itself.
the second one is the args.

so if there is no args defined, you try to access a tab with an index which is inexistant.

DUPIN Nicolas
nicolas.dupin@moss.fr

Discussion

  • Rob Blake

    Rob Blake - 2007-03-09
    • assigned_to: nobody --> rob_blake
     
  • Rob Blake

    Rob Blake - 2007-03-09

    Logged In: YES
    user_id=1619513
    Originator: NO

    This is a repeat log of the same issue?

     
  • Rob Blake

    Rob Blake - 2007-03-12
    • status: open --> closed
     
  • Rob Blake

    Rob Blake - 2007-03-12

    Logged In: YES
    user_id=1619513
    Originator: NO

    This is a repeat of a previously logged issue. This has already been resolved and will be included in the next release.

    Rob

     

Log in to post a comment.

MongoDB Logo MongoDB