How to solve clone git error in eclipse mars - eclipse

I installed eclipse mars into my mac computer. When I try to import from my bitbucket git repository, I get an error shown below:
Egit error log is below
eclipse.buildId=4.5.1.M20150904-0015
java.version=1.8.0_66
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=tr_TR
Framework arguments: -product org.eclipse.epp.package.jee.product -product org.eclipse.epp.package.jee.product -keyring /Users/*****/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.jee.product -data file:/Users/*****/Documents/WS/ -product org.eclipse.epp.package.jee.product -keyring /Users/*****/.eclipse_keyring -showlocation
org.eclipse.egit.ui
Error
Sat Nov 07 23:36:34 EET 2015
https://******#bitbucket.org/*****/*****.git: authentication not supported
org.eclipse.jgit.api.errors.TransportException: https://******#bitbucket.org/*****/*****.git: authentication not supported
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:223)
at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:159)
at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:99)
at org.eclipse.egit.ui.internal.clone.SourceBranchPage$8.run(SourceBranchPage.java:339)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: org.eclipse.jgit.errors.TransportException: https://******#bitbucket.org/*****/*****.git: authentication not supported
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:488)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:296)
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:202)
... 4 more
I continued my works by cloning from git using sourcetree and importing project from my local directory.
Why this error occurs?
Thanks..

Related

Eclipse Expressions tab *always* showing "<error(s)_during_the_evaluation>"

Eclipse version:
Eclipse IDE for Java Developers (includes Incubating components)
Version: 2022-03 (4.23.0)
Build id: 20220310-1457
Linux Mint 20.2
Java 11.0.13
Currently runing a Jupiter JUnit
Cannot evaluate 5+5 or even 5 without getting this error.
If I hover over a variable, I don't see a quick evaluation either, instead it shows the type.
I used to be getting "eclipse "com.sun.jdi.InternalException: Got error code in reply:35 occurred retrieving 'this' from stack frame.", but for some reason, now I'm not.
When I hovered over a variable, I did see this message in the error log:
eclipse.buildId=4.23.0.I20220308-0310
java.version=17.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -data file:/home/woodsman/mycorp/eclipse-workspaces-2/ -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product
org.eclipse.ui
Warning
Wed Mar 23 16:28:13 EDT 2022
Invalid property category path: org.springframework.ide.eclipse.beans.ui.properties.ProjectPropertyPage (bundle: org.springframework.ide.eclipse.xml.namespaces, propertyPage: org.springframework.ide.eclipse.beans.ui.namespaces.projectPropertyPage)
If it helps, this is the effective command being launched:
/home/woodsman/java/jdk-11.0.13/bin/java -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:36313 -ea -javaagent:/home/woodsman/java/eclipse-2022-03/configuration/org.eclipse.osgi/1042/0/.cp/lib/javaagent-shaded.jar -Dfile.encoding=UTF-8 -classpath <myclasspath> --add-modules ALL-DEFAULT org.eclipse.jdt.internal.junit.runner.RemoteTestRunner -version 3 -port 34227 -testLoaderClass org.eclipse.jdt.internal.junit5.runner.JUnit5TestLoader -loaderpluginname org.eclipse.jdt.junit5.runtime -classNames com.mycorp.grammarservice.controller.mvc.ToolControllerMVCTest

GWT compile error , a pop up comes up in eclipse neon

exception stack trace
java.lang.NullPointerException at com.google.gwt.eclipse.core.launch.GWTLaunchConfiguration.maybeGetDevJarPath(GWTLaunchConfiguration.java:170) at com.google.gwt.eclipse.core.launch.GWTLaunchConfiguration.computeDynamicVMArgs(GWTLaunchConfiguration.java:114) at com.google.gwt.eclipse.core.launch.GWTLaunchConfiguration.computeCompileDynamicVMArgsAsList(GWTLaunchConfiguration.java:41) at com.google.gwt.eclipse.core.compile.GWTCompileRunner.computeCompilerCommandLine(GWTCompileRunner.java:223) at com.google.gwt.eclipse.core.compile.GWTCompileRunner.compile(GWTCompileRunner.java:81) at com.google.gwt.eclipse.core.compile.GWTCompileRunner.compileWithCancellationSupport(GWTCompileRunner.java:126) at com.google.gwt.eclipse.core.actions.GWTCompileToolbarHandler$1.runInWorkspace(GWTCompileToolbarHandler.java:136) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
session data
eclipse.buildId=4.6.2.M20161124-1400 java.version=1.8.0_121 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -data file:/C:/WorkSpace_4.2.200/ -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
This is a bug with the Eclipse plugin. I think to fix this, setup a GWT sdk in the preferences, and it should fix it.
https://github.com/gwt-plugins/gwt-eclipse-plugin/blob/46be0237fd1255cc76056889a64d4c9f04910b1f/plugins/com.gwtplugins.gwt.eclipse.core/src/com/google/gwt/eclipse/core/launch/GWTLaunchConfiguration.java

Giteye cannot import repository

I am working with the latest version of GitEye and I cannot import local repositories.
When I try that it throws a java.lang.NullPointerException. Does anyone have a solution for that?
As far as I know GitEye uses JGit and is based on eclipse.
Here are the error details:
eclipse.buildId=unknown
java.version=1.8.0_111
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data #user.home/.giteye
org.eclipse.egit.ui
Error
Tue Jul 04 22:42:45 CEST 2017
Error occurred
java.lang.NullPointerException
at org.eclipse.egit.ui.internal.repository.RepositorySearchDialog$11.isDotGit(RepositorySearchDialog.java:525)
at org.eclipse.egit.ui.internal.repository.RepositorySearchDialog$11.isGitInternal(RepositorySearchDialog.java:508)
at org.eclipse.egit.ui.internal.repository.RepositorySearchDialog$11.preVisitDirectory(RepositorySearchDialog.java:475)
at org.eclipse.egit.ui.internal.repository.RepositorySearchDialog$11.preVisitDirectory(RepositorySearchDialog.java:1)
at java.nio.file.Files.walkFileTree(Unknown Source)
at org.eclipse.egit.ui.internal.repository.RepositorySearchDialog.findGitDirsRecursive(RepositorySearchDialog.java:557)
at org.eclipse.egit.ui.internal.repository.RepositorySearchDialog.access$12(RepositorySearchDialog.java:450)
at org.eclipse.egit.ui.internal.repository.RepositorySearchDialog$12.run(RepositorySearchDialog.java:619)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Check if this is not similar to bug 513744 and bug 509827
NPE if adding existing repository
This was fixed in EGit 4.7 in March 2017, which might not be used by GitEye.

IBM Worklight not working in Eclipse 3.7.2

I'm trying to evaluate IBM Worklight, however Eclipse 3.7.2 is not displaying any of the functionality that is supposed to be provided by the IBM Worklight plug-ins.
I installed Worklight from the Eclipse Marketplace and have verified that the plug-ins are actually listed under "About Eclipse SDK". My eclipse.ini is as follows:
-startup
../../../plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx_1.1.101.v20120109-1504
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512M
--launcher.defaultAction
openFile
-vmargs
-Xms100m
-Xmx1024m
-XX:MaxPermSize=512m
-Djava.util.Arrays.useLegacyMergeSort=true
-Dcom.ibm.ws.management.event.max_polling_interval=1000
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Dosgi.requiredJavaVersion=1.6
I have also tried appending -clean to the above list as well as restarting Eclipse, changing workspaces etc. However I'm still totally unable to see Worklight in my toolbar or create Worklight Projects.
Does anyone know what I might be doing wrong?
Update: Added workspace log for a fresh workspace.
!SESSION 2012-07-13 14:44:27.572
----------------------------------------------- eclipse.buildId=M20120208-0800 java.version=1.6.0_33 java.vendor=Apple
Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments: -keyring /Users/ben/.eclipse_keyring
-showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -data /Users/ben/Projects/eclipse/worklight -keyring /Users/ben/.eclipse_keyring -showlocation
!ENTRY org.eclipse.core.net 1 0 2012-07-13 14:44:31.545 !MESSAGE
System property http.nonProxyHosts has been set to
local|.local|169.254/16|.169.254/16 by an external source. This
value will be overwritten using the values from the preferences
!ENTRY org.eclipse.ui 4 0 2012-07-13 14:47:09.927 !MESSAGE Unhandled
event loop exception !STACK 0 org.eclipse.swt.SWTException: Device is
disposed at org.eclipse.swt.SWT.error(SWT.java:4282) at
org.eclipse.swt.SWT.error(SWT.java:4197) at
org.eclipse.swt.SWT.error(SWT.java:4168) at
org.eclipse.swt.widgets.Display.error(Display.java:1065) at
org.eclipse.swt.widgets.Display.checkDevice(Display.java:619) at
org.eclipse.swt.widgets.Display.getShells(Display.java:1704) at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:72)
at
org.eclipse.equinox.internal.p2.ui.sdk.PreloadingRepositoryHandler.execute(PreloadingRepositoryHandler.java:66)
at
org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at
org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at
org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at
org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at
org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at
org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:829)
at
org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:815)
at
org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:805)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465) at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270) at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at
org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at
org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at
org.eclipse.equinox.launcher.Main.run(Main.java:1410) !SESSION
2012-07-13 14:47:14.118
----------------------------------------------- eclipse.buildId=M20120208-0800 java.version=1.6.0_33 java.vendor=Apple
Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments: -keyring /Users/ben/.eclipse_keyring
-showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/ben/.eclipse_keyring -showlocation
!ENTRY org.eclipse.core.net 1 0 2012-07-13 14:47:19.044 !MESSAGE
System property http.nonProxyHosts has been set to
local|.local|169.254/16|.169.254/16 by an external source. This
value will be overwritten using the values from the preferences
!SESSION 2012-07-13 14:48:38.988
----------------------------------------------- eclipse.buildId=M20120208-0800 java.version=1.6.0_33 java.vendor=Apple
Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments: -keyring /Users/ben/.eclipse_keyring
-showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/ben/.eclipse_keyring -showlocation
!ENTRY org.eclipse.core.net 1 0 2012-07-13 14:48:42.586 !MESSAGE
System property http.nonProxyHosts has been set to
local|.local|169.254/16|.169.254/16 by an external source. This
value will be overwritten using the values from the preferences
!SESSION 2012-07-13 14:49:29.076
----------------------------------------------- eclipse.buildId=M20120208-0800 java.version=1.6.0_33 java.vendor=Apple
Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments: -keyring /Users/ben/.eclipse_keyring
-showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/ben/.eclipse_keyring -showlocation
!ENTRY org.eclipse.core.net 1 0 2012-07-13 14:49:32.650 !MESSAGE
System property http.nonProxyHosts has been set to
local|.local|169.254/16|.169.254/16 by an external source. This
value will be overwritten using the values from the preferences
!SESSION 2012-07-13 14:49:47.302
----------------------------------------------- eclipse.buildId=M20120208-0800 java.version=1.6.0_33 java.vendor=Apple
Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments: -showsplash org.eclipse.platform
--launcher.XXMaxPermSize 256m --launcher.defaultAction openFile -keyring /Users/ben/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -showsplash
org.eclipse.platform --launcher.XXMaxPermSize 256m
--launcher.defaultAction openFile -keyring /Users/ben/.eclipse_keyring -showlocation
!ENTRY org.eclipse.core.net 1 0 2012-07-13 14:49:50.918 !MESSAGE
System property http.nonProxyHosts has been set to
local|.local|169.254/16|.169.254/16 by an external source. This
value will be overwritten using the values from the preferences
!SESSION 2012-07-13 14:52:52.544
----------------------------------------------- eclipse.buildId=M20120208-0800 java.version=1.6.0_33 java.vendor=Apple
Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments: -keyring /Users/ben/.eclipse_keyring
-showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/ben/.eclipse_keyring -showlocation
!ENTRY org.eclipse.core.net 1 0 2012-07-13 14:52:55.949 !MESSAGE
System property http.nonProxyHosts has been set to
local|.local|169.254/16|.169.254/16 by an external source. This
value will be overwritten using the values from the preferences
Update 2: Based on the little information I can find this may be caused by some sort of incompatibility with the latest Android Developer Tools (ADT 20). This is some-what concerning considering Worklight is designed to work in conjunction with ADT.
There is a problem with Eclipse Classic (3.7.2) and Worklight and ADT 20. ADT 20 was released after the current version of Worklight was released.
As a workaround you can install Eclipse IDE for Java EE Developers (Eclipse Indigo or Helios, but not the latest version Juno, which was also released after the current version of Worklight was released).

Not able to debug ant script in eclipse

When I try to debug ant script by eclipse it get terminate as it come at debug point!!!!
Here is detail of error log
Message: Error logged from Ant UI:
Exception stack trace:
java.net.SocketTimeoutException: Accept timed out
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at org.eclipse.ant.internal.launching.launchConfigurations.RemoteAntBuildListener$ServerConnection.run(RemoteAntBuildListener.java:89)
Session Data:
eclipse.buildId=M20110210-1200
java.version=1.6.0_10
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
I typically debug Ant by running it externally from Eclipse and connecting remotely. I set my ANT_OPTS to include
-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y
Then I just connect with Eclipse to the specified port.