Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-7995

"java.io.IOException: Cannot find templates/release_notes.html" error is thrown if release notes are not published

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Invalid
    • Affects Version/s: Release 4.4.0
    • Fix Version/s: None
    • Component/s: Update
    • Labels:
    • Environment:

      Appcelerator Studio, build: 4.4.0.201511241829

    • Sprint:
      2016 Sprint 05 Studio

      Description

      Details: "java.io.IOException: Cannot find templates/release_notes.html" error is thrown if release notes are not published.

      Steps to reproduce:

      1. In Studio, go to Help > Check for Appcelerator Updates
      2. Wait for release notes dialog to appear

      Actual: java.io.IOException is thrown in Studio logs:

      !ENTRY com.appcelerator.titanium.core 4 0 2016-02-22 18:58:04.217
      !MESSAGE (Build 4.4.0.201511241829) [ERROR]  Cannot find templates/release_notes.html
      !STACK 0
      java.io.IOException: Cannot find templates/release_notes.html
      	at org.eclipse.core.internal.runtime.FindSupport.openStream(FindSupport.java:274)
      	at org.eclipse.core.runtime.FileLocator.openStream(FileLocator.java:188)
      	at com.appcelerator.titanium.core.update.DefaultReleaseNotesProvider.getTemplate(DefaultReleaseNotesProvider.java:156)
      	at com.appcelerator.titanium.core.update.DefaultReleaseNotesProvider.applyTemplate(DefaultReleaseNotesProvider.java:137)
      	at com.appcelerator.titanium.core.update.DefaultReleaseNotesProvider.getReleaseNotes(DefaultReleaseNotesProvider.java:108)
      	at com.appcelerator.titanium.core.update.TitaniumRelease.getReleaseNotesText(TitaniumRelease.java:163)
      	at com.appcelerator.titanium.update.ui.internal.TitaniumUpdatePage.updateDetails(TitaniumUpdatePage.java:451)
      	at com.appcelerator.titanium.update.ui.internal.TitaniumUpdatePage.createControl(TitaniumUpdatePage.java:516)
      	at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:178)
      	at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:759)
      	at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:622)
      	at org.eclipse.jface.window.Window.create(Window.java:435)
      	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101)
      	at com.appcelerator.titanium.update.ui.internal.TitaniumUpdateWizardDialog.open(TitaniumUpdateWizardDialog.java:99)
      	at com.appcelerator.titanium.update.ui.handler.TitaniumUpdateHandler$1$1.openMessageDialog(TitaniumUpdateHandler.java:79)
      	at com.aptana.ui.util.UIUtils$3.runInUIThread(UIUtils.java:498)
      	at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:97)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3994)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3671)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126)
      	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:380)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      

      Expected: java.io.IOException should not thrown in Studio logs if Studio cannot find release notes.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kkolipaka Kondal Kolipaka (Inactive)
                Reporter:
                wluu Wilson Luu (Inactive)
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: