Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NaN in job monitor screen #1

Open
GoogleCodeExporter opened this issue Sep 6, 2015 · 6 comments
Open

NaN in job monitor screen #1

GoogleCodeExporter opened this issue Sep 6, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. go to job monitor screen with active jobs running
2.
3.

What is the expected output? What do you see instead?
Date and time instead of NaN

What version of the product are you using? On what operating system?
JWatch 0.8 - Quartz 2.0.1 - CentOS 5.5 - Tomcat 6

Please provide any additional information below.


Original issue reported on code.google.com by jeremie....@gmail.com on 1 Jul 2011 at 8:44

Attachments:

@GoogleCodeExporter
Copy link
Author

Interesting. I never tested in a clustered environment, but good to know it 
sorta works. ;-)

Can you tell me briefly:
1. What browser/version are you using?
2. Can you paste what the JSON output looks like by hitting the RESTFul url? 
http://localhost:8081/jwatch/ui?action=monitor_jobs

This is likely a client-rendering issue.


Original comment by royru...@gmail.com on 5 Jul 2011 at 1:53

@GoogleCodeExporter
Copy link
Author

Hi I am experiencing the same issue as described here. I am using quartz 2.0.2, 
apache-tomcat 6.0.33. Do you have a solution or an idea where to look for this. 
Tested Firefox 6 and Internet Explorer 8 with same results.

Thanks,
Torsten

Original comment by tglu...@gmail.com on 12 Oct 2011 at 6:38

@GoogleCodeExporter
Copy link
Author

Here is the json result.

Original comment by tglu...@gmail.com on 12 Oct 2011 at 6:45

Attachments:

@GoogleCodeExporter
Copy link
Author

I run in the same issue. In my case problem was e.g. a date 04/26/12 15:29:00 
EEST. Reason is that javascript date.parse fails to parse some timezone 
declarations. I fixed this by changing the date format pattern in the 
Tools.java to "MM/dd/yy HH:mm:ss Z" which produces date as e.g. 04/26/12 
15:29:00 +0300.

Original comment by kalle.ma...@gmail.com on 26 Apr 2012 at 1:18

@GoogleCodeExporter
Copy link
Author

even I am also getting the same issue

Original comment by kcc...@gmail.com on 11 Jan 2013 at 11:43

Attachments:

@GoogleCodeExporter
Copy link
Author

The date value is read by the application as a String instead a Date. When 
passing the date String to the Ext.util.Format.date method the parser doesn't 
understand the timezone code in the end of the String.

What I did to solve the problem temporally was remove the timezone code before 
parsing the date String.

I did something like:

function removeTimeZone(input) {
        var patt = '\\d+/\\d+/\\d+\\s\\d+:\\d+:\\d+';
        return input.match(patt);
}

So, the String '11/12/13 17:58:03 BRST' becomes '11/12/13 17:58:03' and the 
parsing works like a charm.

I'll commit this fix in my fork at GitHub 
(https://github.com/lucassaldanha/jwatch).

Original comment by lucas.sa...@cortex-intelligence.com on 12 Nov 2013 at 9:14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant