ZOND v0.34a General Exception Java error on WinXP sp2, 8.7a

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
laamidd
Posts: 48
Joined: Fri Feb 17, 2006 10:31 am

ZOND v0.34a General Exception Java error on WinXP sp2, 8.7a

Post by laamidd »

Hi all,

<This is no longer relevant, see my post below, Thanks.>

I've attached a .doc screenshot and the java debug when I click on the zond button and I just get a white box with a red X in the left corner.

I'm on a WinXPsp2 workstation using Firefox and IE. I only have JRE-6 installed, no other jre's, etc... It's version 6 jre with no updates. jre-5 just crashes my browser, IE or Firefox.

load: class netzond.netzond not found.
java.lang.ClassNotFoundException: netzond.netzond

Any ideas?

Thanks,
Bob
Last edited by laamidd on Thu Feb 14, 2008 2:57 pm, edited 2 times in total.
laamidd
Posts: 48
Joined: Fri Feb 17, 2006 10:31 am

java.lang.NumberFormatException: For input string: "0KN

Post by laamidd »

This is what I get now from the java debug console:
java.lang.NumberFormatException: For input string: "0KN"

I had one of our java programmers look at it and one of our perl guys who dabbles in php.

They both tell me: "one of your functions is returning the string "OKN", and is trying to use it where only integers are expected."

They don't know where that string is coming from, they haven't looked at the source of cacti or the plugin.

The applet does run, but a graph never gets displayed.

I get the pop up window, but it stays blank with no error message or anything.

Any ideas?

Anyone have Zond running/working on a W2K3 box with either IE or Firefox on the client? I'm using jre 1.6 update 4 now.

If I go to the netzond site and run one of their demo's, it works perfectly.


Thanks,
Bob
User avatar
johnrembo
Cacti User
Posts: 216
Joined: Mon Apr 24, 2006 3:33 am

Re: java.lang.NumberFormatException: For input string: "

Post by johnrembo »

laamidd wrote:This is what I get now from the java debug console:
java.lang.NumberFormatException: For input string: "0KN"

I had one of our java programmers look at it and one of our perl guys who dabbles in php.

They both tell me: "one of your functions is returning the string "OKN", and is trying to use it where only integers are expected."

They don't know where that string is coming from, they haven't looked at the source of cacti or the plugin.

The applet does run, but a graph never gets displayed.

I get the pop up window, but it stays blank with no error message or anything.

Any ideas?

Anyone have Zond running/working on a W2K3 box with either IE or Firefox on the client? I'm using jre 1.6 update 4 now.

If I go to the netzond site and run one of their demo's, it works perfectly.


Thanks,
Bob
laamidd, your coleagues are right - for some reasons zond_process.php is returning string value ("OKN"), but zond plugin expects (and accepts) only digit values (integer or real). This results in balnk zond window.

you should perform some more debugging. instructions on doing this can be found at http://www.netzond.com/netzond/debug/debug.html

ps: next time, please post your problems to http://forums.cacti.net/viewtopic.php?t=24934
laamidd
Posts: 48
Joined: Fri Feb 17, 2006 10:31 am

Post by laamidd »

Sorry about that John, I realized last night that that's probably what you wanted, to keep everything in that thread.

I did do the debug stuff last night, and I'm posting it to your thread.

Thanks,
Bob
User avatar
johnrembo
Cacti User
Posts: 216
Joined: Mon Apr 24, 2006 3:33 am

Post by johnrembo »

laamidd wrote:Sorry about that John, I realized last night that that's probably what you wanted, to keep everything in that thread.

I did do the debug stuff last night, and I'm posting it to your thread.

Thanks,
Bob
ok, thnx
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests