ceylon/ceylon-compiler — Issue #365: Invalid SHA1 for artifact
Author: gavinking
Created: 2012-02-03 17:19:02+00:00
State: open
Labels: BUG

Inside the IDE I've started getting these errors, a bit unpredictably. I'm actually not really sure which project to report it against.

```
An exception has occurred in the compiler (ceylonc 0.1 'Newton').
java.lang.IllegalArgumentException: Invalid SHA1 for artifact: default-unversioned
at com.redhat.ceylon.cmr.impl.AbstractNodeRepository.getLeafNode(AbstractNodeRepository.java:215)
at com.redhat.ceylon.cmr.impl.RootRepository.getArtifact(RootRepository.java:58)
at com.redhat.ceylon.compiler.java.loader.CeylonEnter.addModuleToClassPath(CeylonEnter.java:228)
at com.redhat.ceylon.compiler.java.tools.LanguageCompiler.loadModuleFromSource(LanguageCompiler.java:320)
at com.redhat.ceylon.compiler.java.tools.LanguageCompiler.loadCompiledModules(LanguageCompiler.java:272)
at com.redhat.ceylon.compiler.java.tools.LanguageCompiler.parseFiles(LanguageCompiler.java:259)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:807)
at com.redhat.ceylon.compiler.java.launcher.Main.compile(Main.java:457)
at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:132)
at com.redhat.ceylon.eclipse.imp.builder.CeylonBuilder.generateBinaries(CeylonBuilder.java:894)
at com.redhat.ceylon.eclipse.imp.builder.CeylonBuilder.build(CeylonBuilder.java:580)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
```