Kovalevskyi-Academy / Zeus

Other
2 stars 4 forks source link

Fatal bag #88

Closed seralekseenko closed 3 years ago

seralekseenko commented 3 years ago
seralekseenko@kompik:/mnt/share/academy/study/JDD/JDD_days$ java -jar Zeus-29.jar test jdd -w0 -d0
Exception in thread "main" java.lang.ExceptionInInitializerError
    at academy.kovalevskyi.testing.util.ContainerManager.initProvider(ContainerManager.java:79)
    at academy.kovalevskyi.testing.service.BaseComparator.compare(BaseComparator.java:17)
    at academy.kovalevskyi.testing.service.BaseComparator.compare(BaseComparator.java:11)
    at java.base/java.util.TimSort.binarySort(TimSort.java:296)
    at java.base/java.util.TimSort.sort(TimSort.java:239)
    at java.base/java.util.Arrays.sort(Arrays.java:1306)
    at java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:353)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
    at academy.kovalevskyi.testing.util.ContainerManager.getContainers(ContainerManager.java:41)
    at academy.kovalevskyi.zeus.cli.command.sub.Test.run(Test.java:36)
    at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
    at picocli.CommandLine.access$1300(CommandLine.java:145)
    at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
    at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
    at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
    at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
    at picocli.CommandLine.execute(CommandLine.java:2078)
    at academy.kovalevskyi.zeus.TheMighty.main(TheMighty.java:12)
Caused by: java.lang.TypeNotPresentException: Type academy.kovalevskyi.algorithms.AlgorithmsProvider not present
    at java.base/sun.reflect.annotation.TypeNotPresentExceptionProxy.generateException(TypeNotPresentExceptionProxy.java:47)
    at java.base/sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:88)
    at jdk.proxy2/jdk.proxy2.$Proxy7.course(Unknown Source)
    at academy.kovalevskyi.testing.util.ContainerManager.initProvider(ContainerManager.java:77)
    ... 21 more
Caused by: java.lang.ClassNotFoundException: academy.kovalevskyi.algorithms.AlgorithmsProvider
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:636)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:182)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:466)
    at java.base/sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:114)
    at java.base/sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125)
    at java.base/sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
    at java.base/sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:440)
    at java.base/sun.reflect.annotation.AnnotationParser.parseClassValue(AnnotationParser.java:421)
    at java.base/sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:350)
    at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:287)
    at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:121)
    at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:73)
    at java.base/java.lang.Class.createAnnotationData(Class.java:3997)
    at java.base/java.lang.Class.annotationData(Class.java:3986)
    at java.base/java.lang.Class.getAnnotation(Class.java:3869)
    at java.base/java.lang.reflect.AnnotatedElement.isAnnotationPresent(AnnotatedElement.java:292)
    at java.base/java.lang.Class.isAnnotationPresent(Class.java:3879)
    at academy.kovalevskyi.testing.util.ContainerManager.getAnnotation(ContainerManager.java:92)
    at academy.kovalevskyi.testing.service.BaseComparator.compare(BaseComparator.java:15)
    ... 20 more