Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Please help me with this issue.
I have encountered a problem using Talend Studio 8 when I try checking out from a remote branch to a local branch or just switching branches.
This happens after I switch a project from an old TAC to a new TAC, who share the same git repository.
The problem only occurs when I am using the new TAC. I can normally checkout to local branch when I connect to the old TAC.
The switch shows no error or alert at GUI, but the repository shows it stays in (Remote Mode). i.e I cannot checkout any remote branch to local or switch branches.
The .metadata/.log shows the NullPoint error as below.
=====================log begin===========================
!STACK
0
org.talend.commons.exception.FatalException: Can't switch!
at org.talend.repository.gitprovider.ui.action.CheckoutAsLocalBranchAction$4.run(CheckoutAsLocalBranchAction.java:198)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2338)
at org.talend.repository.gitprovider.ui.action.CheckoutAsLocalBranchAction$5.run(CheckoutAsLocalBranchAction.java:371)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
!ENTRY
org.eclipse.ui
4
0
2023-09-22
15:38:59.291
!MESSAGE Unhandled event loop exception
!STACK
0
java.lang.NullPointerException
at org.talend.commons.exception.ExceptionHandler.process(ExceptionHandler.java:51)
at org.talend.commons.exception.ExceptionHandler.process(ExceptionHandler.java:34)
at org.talend.repository.gitprovider.ui.action.CheckoutAsLocalBranchAction.run(CheckoutAsLocalBranchAction.java:383)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:474)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:580)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:414)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4441)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1512)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1535)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1324)
at org.eclipse.jface.action.ActionContributionItem.lambda$8(ActionContributionItem.java:1209)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4441)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1512)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1535)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1324)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4227)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3837)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1157)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
at org.talend.rcp.intro.Application.start(Application.java:303)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
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:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:654)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1462)
=====================log end===========================
=====================version info===========================
git version: 2.39.2
Talend Studio
Version: 8.0.1
Build id: R2022-07
Hello,
Could you please try to open the studio with new workspace remotely?
Just create a new "Remote Connection" using another (empty) workspace folder and please clear the studio cache then close the studio and reopen your studio and feel free to let us know the results.
How to clear the studio cache:
->studio/configuration/org.eclipse.core.runtime
->studio/configuration/org.eclipse.update
->studio/configuration/org.eclipse.osgi
3.Restart the studio with a new workspace.
Note: Please take a backup of the contents of these directories in some other location before deleting them just for the safe side.
Best regards
Sabrina