org.gradle.api.GradleException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Build emply OSGi bundle through Gradle
    via Stack Overflow by Andrey M
    ,
    • org.gradle.api.GradleException: Could not copy MANIFEST.MF to '/my_directory/aaa/build/tmp/jar/MANIFEST.MF'. at org.gradle.api.internal.file.AbstractFileTreeElement.copyTo(AbstractFileTreeElement.java:79) at org.gradle.api.internal.file.collections.MapFileTree$FileVisitDetailsImpl.getFile(MapFileTree.java:162) at org.gradle.api.internal.file.collections.MapFileTree$FileVisitDetailsImpl.getSize(MapFileTree.java:222) at org.gradle.api.internal.file.FileTreeElementHasher.calculateHashForFileMetadata(FileTreeElementHasher.java:47) at org.gradle.api.internal.changedetection.state.DefaultVisitedTree.calculatePreCheckHash(DefaultVisitedTree.java:89) at org.gradle.api.internal.changedetection.state.VisitedTreesPreCheckHasher.calculatePreCheckHash(VisitedTreesPreCheckHasher.java:47) at org.gradle.api.internal.changedetection.state.AbstractFileCollectionSnapshotter$DefaultFileCollectionSnapshotPreCheck.getHash(AbstractFileCollectionSnapshotter.java:110) at org.gradle.api.internal.changedetection.rules.InputFilesTaskStateChanges.<init>(InputFilesTaskStateChanges.java:41) at org.gradle.api.internal.changedetection.rules.TaskUpToDateState.<init>(TaskUpToDateState.java:52) at org.gradle.api.internal.changedetection.changes.DefaultTaskArtifactStateRepository$TaskArtifactStateImpl.getStates(DefaultTaskArtifactStateRepository.java:145) at org.gradle.api.internal.changedetection.changes.DefaultTaskArtifactStateRepository$TaskArtifactStateImpl.isUpToDate(DefaultTaskArtifactStateRepository.java:74) at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:53)

    Users with the same issue

    Unknown visitor1 times, last one,