Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-25765

OpenShift: java.time.format.DateTimeParseException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 4.5.3.AM2
    • 4.5.3.AM2
    • openshift
    • None
    • Hide

      1. ASSERT: have a nodejs application running on OpenShift Online
      2. EXEC: Inspect properties view for nodejs-mongodb-example (Deployments, Builds, Build config.... )

      Show
      1. ASSERT: have a nodejs application running on OpenShift Online 2. EXEC: Inspect properties view for nodejs-mongodb-example (Deployments, Builds, Build config.... )

    Description

      eclipse.buildId=11.3.0.AM2-v20180301-1142-B2132
      java.version=1.8.0_161
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product
      Command-line arguments:  -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
      
      org.eclipse.ui.views.properties.tabbed
      Error
      Thu Mar 01 15:53:13 CET 2018
      Problems occurred when invoking code from plug-in: "org.eclipse.ui.views.properties.tabbed".
      
      java.time.format.DateTimeParseException: Text '2018-03-01T14:52:48Z' could not be parsed: Unable to obtain ZonedDateTime from TemporalAccessor: {MicroOfSecond=0, InstantSeconds=1519915968, NanoOfSecond=0, MilliOfSecond=0},ISO of type java.time.format.Parsed
      	at java.time.format.DateTimeFormatter.createError(DateTimeFormatter.java:1920)
      	at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1855)
      	at java.time.ZonedDateTime.parse(ZonedDateTime.java:597)
      	at org.jboss.tools.openshift.internal.common.ui.utils.DateTimeUtils.formatSince(DateTimeUtils.java:57)
      	at org.jboss.tools.openshift.internal.common.ui.utils.DateTimeUtils.formatSince(DateTimeUtils.java:49)
      	at org.jboss.tools.openshift.internal.ui.property.BuildPropertySource.getPropertyValue(BuildPropertySource.java:53)
      	at org.eclipse.ui.views.properties.PropertySheetEntry.refreshValues(PropertySheetEntry.java:584)
      	at org.eclipse.ui.views.properties.PropertySheetEntry.createChildEntries(PropertySheetEntry.java:252)
      	at org.eclipse.ui.views.properties.PropertySheetEntry.getChildEntries(PropertySheetEntry.java:339)
      	at org.eclipse.ui.views.properties.PropertySheetViewer.updateCategories(PropertySheetViewer.java:1086)
      	at org.eclipse.ui.views.properties.PropertySheetViewer.updateChildrenOf(PropertySheetViewer.java:1254)
      	at org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:978)
      	at org.eclipse.ui.views.properties.PropertySheetPage.refresh(PropertySheetPage.java:539)
      	at org.jboss.tools.openshift.internal.common.ui.explorer.DefaultPropertySection.refresh(DefaultPropertySection.java:53)
      	at org.eclipse.ui.views.properties.tabbed.TabContents$6.run(TabContents.java:211)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:44)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
      	at org.eclipse.ui.views.properties.tabbed.TabContents.refresh(TabContents.java:214)
      	at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage$SelectionChangedListener.selectionChanged(TabbedPropertySheetPage.java:221)
      	at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:155)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:44)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
      	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:152)
      	at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2180)
      	at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1717)
      	at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:380)
      	at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.setInput(TabbedPropertySheetPage.java:747)
      	at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.selectionChanged(TabbedPropertySheetPage.java:555)
      	at org.eclipse.ui.views.properties.PropertySheet.showSelectionAndDescription(PropertySheet.java:498)
      	at org.eclipse.ui.views.properties.PropertySheet.selectionChanged(PropertySheet.java:478)
      	at org.eclipse.ui.internal.e4.compatibility.SelectionService.notifyListeners(SelectionService.java:239)
      	at org.eclipse.ui.internal.e4.compatibility.SelectionService.handlePostSelectionChanged(SelectionService.java:113)
      	at org.eclipse.ui.internal.e4.compatibility.SelectionService.lambda$2(SelectionService.java:68)
      	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$4.run(SelectionAggregator.java:166)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.notifyPostListeners(SelectionAggregator.java:163)
      	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.access$8(SelectionAggregator.java:161)
      	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8$1.run(SelectionAggregator.java:271)
      	at org.eclipse.e4.core.contexts.RunAndTrack.runExternalCode(RunAndTrack.java:56)
      	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8.changed(SelectionAggregator.java:268)
      	at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:114)
      	at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:355)
      	at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:370)
      	at org.eclipse.e4.ui.internal.workbench.SelectionServiceImpl.setPostSelection(SelectionServiceImpl.java:36)
      	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.lambda$2(CompatibilityPart.java:125)
      	at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:872)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:44)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
      	at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:869)
      	at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1238)
      	at org.eclipse.ui.navigator.CommonViewer.handlePostSelect(CommonViewer.java:457)
      	at org.eclipse.jface.viewers.StructuredViewer.lambda$0(StructuredViewer.java:1261)
      	at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81)
      	at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:261)
      	at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:256)
      	at org.eclipse.jface.util.OpenStrategy$1.lambda$1(OpenStrategy.java:426)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4577)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4186)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
      Caused by: java.time.DateTimeException: Unable to obtain ZonedDateTime from TemporalAccessor: {MicroOfSecond=0, InstantSeconds=1519915968, NanoOfSecond=0, MilliOfSecond=0},ISO of type java.time.format.Parsed
      	at java.time.ZonedDateTime.from(ZonedDateTime.java:565)
      	at java.time.format.Parsed.query(Parsed.java:226)
      	at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1851)
      	... 83 more
      Caused by: java.time.DateTimeException: Unable to obtain ZoneId from TemporalAccessor: {MicroOfSecond=0, InstantSeconds=1519915968, NanoOfSecond=0, MilliOfSecond=0},ISO of type java.time.format.Parsed
      	at java.time.ZoneId.from(ZoneId.java:466)
      	at java.time.ZonedDateTime.from(ZonedDateTime.java:553)
      	... 85 more
      
      

      Attachments

        Activity

          People

            dbocharo@redhat.com Dmitrii Bocharov (Inactive)
            jkopriva@redhat.com Josef Kopriva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: