× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
Ananya(*) reported 2016-09-29T14:22:18Z  · tomconrad last modified 2018-03-15T21:59:14Z

Should be able to create repository again without unmounting the Directory, if .git folder gets deleted


PM
Priority Low
Complexity Unknown
Component App - Version Control - GIT
Version Future
Product: Aqua Data Studio
Version: 18.0.0-devi-246
Build #: 51292
Build Date: 2016-Sep-27 04:51:46 PM
 
Operating Environment: Windows 7 (6.1, amd64) / Cp1252 / en / IN / Oracle Corporation 1.8.0_101-b13
Memory: Max=704,643,072;  Total=443,547,648;  Free=231,333,032;  CPUs=8
 
Steps to reproduce the issue from scratch:
Scenario 1:
  1. Launch ADS.
  2. Go to File tab, and mount any directory.
  3. Right-click on the mounted directory > Version Control > Git > Create Repository.
  4. Click OK, and a git repository is created inside the mounted directory.
  5. Commit all the files inside the directory.
  6. Go to the directory and delete the git directory.
  7. Go to mounted directory in ADS File tab, select any file, right-click > Version Control > Commit.
  8. In the Commit dialog, select the files, and click Stage.
Result: "org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of add command" message is displayed in view log.
Also, a blank Git directory gets created in the mounted folder
 
Please see attached image.
 
Expected Behavior: Instead of this exception, can we display a message "Specified path cannot be found"
 
Scenario 2:
  1. Repeat steps 1 - 6 mentioned in scenario 1
  2. Go to mounted directory in ADS File tab, and right-click on it > Refresh.
  3. The versioned files becomes unversioned.
  4. Try creating another repository.
Result: Due to the blank git directory, another repository cannot be created neither the existing can be used. The git directory needs to be deleted to access create a repository again.
 
Please see attached image.
 
Expected Behavior : Blank git folder should not get created.
 
This matrix is common for both the scenarios.
 

 

Windows

Latest Build (devi-246)

Issues is seen

IDEA Demo

Cannot perform this scenario

ADS v17

Same issue is seen

ADS v18-devi-73

Same issue is seen

ADS v18-devi-85

Same issue is seen

ADS v18-devi-191

Same issue is seen

ADS v18-devi-192

Same issue is seen

IntelliJ 16

NA

IntelliJ 15

NA

 
Stack Trace:
org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of add command
at org.eclipse.jgit.api.AddCommand.call(Unknown Source)
at com.common.vcontrol.git.ui.commit.wꋙꋤᚵ᠚.lE(Unknown Source)
at com.common.vcontrol.git.ui.commit.wꋙꋤᚵ᠚$12.action(Unknown Source)
at \\.\\.\\हिñçêČάй語简�?한\\.g̦ꅠꆢ᠓casecase.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:866)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:650)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createTempFile(Unknown Source)
at org.eclipse.jgit.internal.storage.file.ObjectDirectoryInserter.newTempFile(Unknown Source)
at org.eclipse.jgit.internal.storage.file.ObjectDirectoryInserter.toTemp(Unknown Source)
at org.eclipse.jgit.internal.storage.file.ObjectDirectoryInserter.insert(Unknown Source)
... 43 more

 

1 attachment

Issue #14746

New
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017