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

Get NPE if use 'Copy To Branch' when logon on a SVN project branch

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • Bug
    • Status: closed
    • Major
    • Resolution: Done
    • None
    • 7.3.1, 7.2.2
    • Studio
    • None
    • Hide

      Step
      Logon on a SVN project branch, create a job, and click 'Copy To Branch'

      Actual
      There is no response, and get NPE in error log (git project branch works, only svn has the NPE issue)

      the NPE error is:

      java.lang.NullPointerException
      	at org.talend.repository.svnprovider.ui.dialog.SvnRepositorySelectionTreeContentProvider.hasChildren(SvnRepositorySelectionTreeContentProvider.java:136)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2166)
      	at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:546)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2196)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2880)
      	at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:794)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:841)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:818)
      	at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:604)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:766)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1586)
      	at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:780)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.lambda$1(AbstractTreeViewer.java:1571)
      	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1449)
      	at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:363)
      	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1410)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1565)
      	at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:289)
      	at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1687)
      	at org.talend.repository.svnprovider.ui.dialog.SVNMultiSwitchDialog.createBranch(SVNMultiSwitchDialog.java:260)
      	at org.talend.repository.svnprovider.ui.dialog.SVNMultiSwitchDialog.createDialogArea(SVNMultiSwitchDialog.java:219)
      	at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:771)
      	at org.talend.repository.svnprovider.ui.dialog.SVNMultiSwitchDialog.createContents(SVNMultiSwitchDialog.java:184)
      	at org.eclipse.jface.window.Window.create(Window.java:430)
      	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1099)
      	at org.eclipse.jface.window.Window.open(Window.java:787)
      	at org.talend.repository.svnprovider.actions.CopyToAnotherBranchAction.doRun(CopyToAnotherBranchAction.java:137)
      	at org.talend.repository.ui.actions.AContextualAction$2.run(AContextualAction.java:673)
      	at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:99)
      	at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:258)
      	at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:3557)
      	at org.talend.repository.svnprovider.SvnRepositoryFactory.executeRepositoryWorkUnit(SvnRepositoryFactory.java:351)
      	at org.talend.repository.remoteprovider.RemoteRepositoryFactory.executeRepositoryWorkUnit(RemoteRepositoryFactory.java:886)
      	at org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:2412)
      	at org.talend.repository.ui.actions.AContextualAction.run(AContextualAction.java:686)
      	at org.eclipse.jface.action.Action.runWithEvent(Action.java:476)
      	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:568)
      	at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:400)
      	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.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:636)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151)
      	at org.talend.rcp.intro.Application.start(Application.java:280)
      	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)
      
      
      Show
      Step Logon on a SVN project branch, create a job, and click 'Copy To Branch' Actual There is no response, and get NPE in error log (git project branch works, only svn has the NPE issue) the NPE error is: java.lang.NullPointerException at org.talend.repository.svnprovider.ui.dialog.SvnRepositorySelectionTreeContentProvider.hasChildren(SvnRepositorySelectionTreeContentProvider.java:136) at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2166) at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:546) at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2196) at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2880) at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:794) at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:841) at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:818) at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:604) at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:766) at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1586) at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:780) at org.eclipse.jface.viewers.AbstractTreeViewer.lambda$1(AbstractTreeViewer.java:1571) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1449) at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:363) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1410) at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1565) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:289) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1687) at org.talend.repository.svnprovider.ui.dialog.SVNMultiSwitchDialog.createBranch(SVNMultiSwitchDialog.java:260) at org.talend.repository.svnprovider.ui.dialog.SVNMultiSwitchDialog.createDialogArea(SVNMultiSwitchDialog.java:219) at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:771) at org.talend.repository.svnprovider.ui.dialog.SVNMultiSwitchDialog.createContents(SVNMultiSwitchDialog.java:184) at org.eclipse.jface.window.Window.create(Window.java:430) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1099) at org.eclipse.jface.window.Window.open(Window.java:787) at org.talend.repository.svnprovider.actions.CopyToAnotherBranchAction.doRun(CopyToAnotherBranchAction.java:137) at org.talend.repository.ui.actions.AContextualAction$2.run(AContextualAction.java:673) at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:99) at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:258) at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:3557) at org.talend.repository.svnprovider.SvnRepositoryFactory.executeRepositoryWorkUnit(SvnRepositoryFactory.java:351) at org.talend.repository.remoteprovider.RemoteRepositoryFactory.executeRepositoryWorkUnit(RemoteRepositoryFactory.java:886) at org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:2412) at org.talend.repository.ui.actions.AContextualAction.run(AContextualAction.java:686) at org.eclipse.jface.action.Action.runWithEvent(Action.java:476) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:568) at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:400) 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.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151) at org.talend.rcp.intro.Application.start(Application.java:280) 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)
    • All
    • Talend-Studio-20200121_1940-V7.3.1SNAPSHOT
    • Small

    Salesforce Properties

      Case
      Case Origin
      Case Type
      Case Age
      00167956 Web Problem 5

      Attachments

        1. error.png
          error.png
          148 kB
        2. p1.png
          p1.png
          75 kB

        Activity

          People

            dlin lin dehua
            xjguo Xiaoju Guo
            wang hong
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d