[jbosstools-issues] [JBoss JIRA] (JBDS-4095) unparseable date in o.j.t.foundation.checkup

Alexey Kazakov (JIRA) issues at jboss.org
Thu Oct 6 14:31:00 EDT 2016


     [ https://issues.jboss.org/browse/JBDS-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov reassigned JBDS-4095:
------------------------------------

    Assignee: Rob Stryker


Or maybe [~dbocharov] can take a look?
This is from the code which checks the version of JVM and if it's less than 1.8 then shows the error because we require 1.8. It parse eclipse log and look for a latest session in the log not to report about some outdated JVM version problems.

> unparseable date in o.j.t.foundation.checkup
> --------------------------------------------
>
>                 Key: JBDS-4095
>                 URL: https://issues.jboss.org/browse/JBDS-4095
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: foundation
>    Affects Versions: 10.2.0.AM1
>         Environment: {code}
> Red Hat JBoss Developer Studio
> Version: 10.2.0.AM1
> Build id: AM1-v20160923-1714-B6096
> Build date: 20160923-1714
> $➔ uname -a
> Linux t540p-f24-vm01 4.7.4-200.fc24.x86_64 #1 SMP Thu Sep 15 18:42:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
> [14:00:12] nboldt at t540p-f24-vm01:~/devstudio-10.2.0.AM1
> $➔ java -version
> openjdk version "1.8.0_65"
> OpenJDK Runtime Environment (build 1.8.0_65-b17)
> OpenJDK 64-Bit Server VM (build 25.65-b01, mixed mode)
> {code}
>            Reporter: Nick Boldt
>            Assignee: Rob Stryker
>         Attachments: unparesable-date.png
>
>
> Just started up devstudio 10.2.0.AM1-v20160923-1714-B6096 and got this error:
> {code}
> Unparseable date: "Thu Oct 06 13:55:38 EDT 2016"
> java.text.ParseException: Unparseable date: "Thu Oct 06 13:55:38 EDT 2016"
> 	at java.text.DateFormat.parse(DateFormat.java:366)
> 	at org.jboss.tools.foundation.checkup.JVMProblemDetector.getSessionDate(JVMProblemDetector.java:677)
> 	at org.jboss.tools.foundation.checkup.JVMProblemDetector.scanLine(JVMProblemDetector.java:240)
> 	at org.jboss.tools.foundation.checkup.JVMProblemDetector.readLogFile(JVMProblemDetector.java:186)
> 	at org.jboss.tools.foundation.checkup.JVMProblemDetector.earlyStartup(JVMProblemDetector.java:118)
> 	at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:77)
> 	at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> 	at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2829)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list