Uploaded image for project: 'Talend Unified Platform'
  1. Talend Unified Platform
  2. TUP-26121

Patch Installation: Error pops up when clicking Update button

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • Bug
    • Status: closed
    • Major
    • Resolution: Fixed
    • None
    • 7.3.1
    • Studio
    • None
    • Hide

      Repro:
      1. Download Patch to local repository(TAC1->Configuration->SoftwareUpdate->Local repository url);
      2. Start Studio, Select connection which using TAC1;
      3. Click Update button;

      Actual:
      Error pops up;

      java.nio.file.InvalidPathException: Illegal char <:> at index 2: /G:/Talend-Studio-20200211_1939-V7.3.1SNAPSHOT/\temp\\UpdateSite_org.talend.studio.patch.updatesite_Patch_20200212_TPS-4100_v1_7.3.1_zip
      	at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
      	at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
      	at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
      	at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
      	at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
      	at java.nio.file.Paths.get(Paths.java:84)
      	at org.talend.utils.io.FilesUtils.validateDestPath(FilesUtils.java:798)
      	at org.talend.utils.io.FilesUtils.unzip(FilesUtils.java:733)
      	at org.talend.utils.io.FilesUtils.unzip(FilesUtils.java:707)
      	at org.talend.commons.utils.io.FilesUtils.unzip(FilesUtils.java:665)
      	at org.talend.core.tis.updatesite.NexusUpdateSiteManager.downLoadAndInstallUpdateSites(NexusUpdateSiteManager.java:90)
      	at org.talend.core.tis.service.CoreTisService.downLoadAndInstallUpdates(CoreTisService.java:523)
      	at org.talend.core.tis.service.CoreTisService.downLoadAndInstallUpdates(CoreTisService.java:502)
      	at org.talend.repository.ui.login.LoginProjectPage.updateStudio(LoginProjectPage.java:1084)
      	at org.talend.repository.ui.login.LoginProjectPage$18.widgetSelected(LoginProjectPage.java:994)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4131)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1055)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3944)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3547)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:822)
      	at org.eclipse.jface.window.Window.open(Window.java:798)
      	at org.talend.repository.RepositoryService.openLoginDialog(RepositoryService.java:322)
      	at org.talend.rcp.intro.Application.logUserOnProject(Application.java:518)
      	at org.talend.rcp.intro.Application.start(Application.java:211)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
      	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:659)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1501)
      

      Expect:
      No error

      Show
      Repro: 1. Download Patch to local repository(TAC1->Configuration->SoftwareUpdate->Local repository url); 2. Start Studio, Select connection which using TAC1; 3. Click Update button; Actual: Error pops up; java.nio.file.InvalidPathException: Illegal char <:> at index 2: /G:/Talend-Studio-20200211_1939-V7.3.1SNAPSHOT/\temp\\UpdateSite_org.talend.studio.patch.updatesite_Patch_20200212_TPS-4100_v1_7.3.1_zip at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182) at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153) at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77) at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94) at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255) at java.nio.file.Paths.get(Paths.java:84) at org.talend.utils.io.FilesUtils.validateDestPath(FilesUtils.java:798) at org.talend.utils.io.FilesUtils.unzip(FilesUtils.java:733) at org.talend.utils.io.FilesUtils.unzip(FilesUtils.java:707) at org.talend.commons.utils.io.FilesUtils.unzip(FilesUtils.java:665) at org.talend.core.tis.updatesite.NexusUpdateSiteManager.downLoadAndInstallUpdateSites(NexusUpdateSiteManager.java:90) at org.talend.core.tis.service.CoreTisService.downLoadAndInstallUpdates(CoreTisService.java:523) at org.talend.core.tis.service.CoreTisService.downLoadAndInstallUpdates(CoreTisService.java:502) at org.talend.repository.ui.login.LoginProjectPage.updateStudio(LoginProjectPage.java:1084) at org.talend.repository.ui.login.LoginProjectPage$18.widgetSelected(LoginProjectPage.java:994) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4131) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1055) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3944) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3547) at org.eclipse.jface.window.Window.runEventLoop(Window.java:822) at org.eclipse.jface.window.Window.open(Window.java:798) at org.talend.repository.RepositoryService.openLoginDialog(RepositoryService.java:322) at org.talend.rcp.intro.Application.logUserOnProject(Application.java:518) at org.talend.rcp.intro.Application.start(Application.java:211) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) 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:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595) at org.eclipse.equinox.launcher.Main.run(Main.java:1501) Expect: No error
    • All
    • 20200211_1939-V7.3.1SNAPSHOT
    • Small

    Attachments

      Activity

        People

          dlin lin dehua
          Shuzhen Shuzhen Qiu
          Zhiwei Xue
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved:

            Time Tracking

              Estimated:
              Original Estimate - 1 hour
              1h
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour
              1h