pragmatic-objects / oo-atom

A Java polyfill for better code design
MIT License
23 stars 2 forks source link

javassist.NotFoundException: com.pragmaticobjects.oo.atom.codegen.javassist.templates.Atoms #240

Closed skapral closed 5 years ago

skapral commented 5 years ago

https://travis-ci.org/pragmatic-objects/oo-data/jobs/492858225

Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z)
Maven home: /usr/local/maven-3.5.2
Java version: 1.8.0_141, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-101-generic", arch: "amd64", family: "unix"
[INFO] Scanning for projects...
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.model.source.javapoet.hacks.Hack
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.model.source.javapoet.DestToPath
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.model.source.javapoet.Destination
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.model.manifest.ManifestIndex
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.model.manifest.Manifest
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.model.manifest.ManifestIndexSimple
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.model.manifest.ManifestFromPackageElement
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.model.manifest.ManifestCombined
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.model.manifest.ManifestFaked
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.AbstractProcessor$GenerationTaskInference
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.helpers.CachingSupplier
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.anno.Structure$List
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.anno.Structure
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.anno.Scalar
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.anno.Scalar$Value
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.anno.Scalar$List
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.anno.Structure$Value
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.MakeLambdaBreakers: Transforming type com.pragmaticobjects.oo.data.AbstractProcessor
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.InlineTemplates: Transforming type com.pragmaticobjects.oo.atom.anno.Atom
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.InlineTemplates: Transforming type com.pragmaticobjects.oo.atom.anno.NotAtom
com.pragmaticobjects.oo.atom.codegen.javassist.plugin.InlineTemplates: Transforming type com.pragmaticobjects.oo.data.model.declaration.DeclExplicit
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] OO-data ............................................ SUCCESS [  3.520 s]
[INFO] data-core .......................................... FAILURE [  2.843 s]
[INFO] data-scalar ........................................ SKIPPED
[INFO] data-struct ........................................ SKIPPED
[INFO] data-value ......................................... SKIPPED
[INFO] data-composite ..................................... SKIPPED
[INFO] data-alltogether ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.635 s
[INFO] Finished at: 2019-02-13T19:12:47Z
[INFO] Final Memory: 39M/395M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.pragmaticobjects.oo.atom:atom-maven-plugin:0.0.15:instrument (default) on project data-core: Execution default of goal com.pragmaticobjects.oo.atom:atom-maven-plugin:0.0.15:instrument failed: java.lang.RuntimeException: javassist.NotFoundException: com.pragmaticobjects.oo.atom.codegen.javassist.templates.Atoms -> [Help 1]

Reproduced only on Java 8. Workaround is to add this dependency to compiled project:

<dependency>
        <groupId>com.pragmaticobjects.oo.atom</groupId>
        <artifactId>atom-basis</artifactId>
        <version>0.0.15</version>
        <scope>provided</scope>
</dependency>