com.mysema.codegen.CodegenException: Compilation of public class Q_1462119976_65821278_1275614662 { public static java.util.List<Object[]> eval(Iterable<querydsl.model.Cat> cat1_) { java.util.List<Object[]> rv = new java.util.ArrayList<Object[]>(); for (querydsl.model.Cat cat1 : cat1_) { for (querydsl.model.Cat cat1 : com.querydsl.collections.CollQueryFunctions.leftJoin(com.querydsl.collections.CollQueryFunctions.<java.util.List>get(category1, "cats"))) { rv.add(new Object[]{cat1,cat1}); } } return rv; } } failed. /Q_01009724352_65821278_1275614662.java:6: error: incompatible types: Object cannot be converted to Cat for (querydsl.model.Cat cat1 : com.querydsl.collections.CollQueryFunctions.leftJoin(com.querydsl.collections.CollQueryFunctions.<java.util.List>get(category1, "cats"))) { ^ ...

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by user125798
, 1 year ago
rv; } } failed. /Q_01009724352_65821278_1275614662.java:6: error: incompatible types: Object cannot be converted to Cat for (querydsl.model.Cat cat1 : com.querydsl.collections.CollQueryFunctions.leftJoin
via GitHub by jotak
, 2 years ago
Compilation of public class Q_0390602011_1275614662_1275614662_566403833 { public static Iterable<cat.Cat> eval(Iterable<cat.Cat> cat_, com.google.common.base.Present a1) { java.util.List<cat.Cat> rv = new
via GitHub by bkempe
, 1 year ago
: com.querydsl.collections.CollQueryFunctions.<java.util.List>get(cat1, "kittens")) { rv.add(new Object[]{cat1,cat2}); } } return rv; } } failed. /Q_02078139909_65821278_1275614662.java:6: error: incompatible types: Object cannot be converted to Cat for
via Stack Overflow by Ivan Sopov
, 2 years ago
Compilation of public class Q_838101820_201273267_01405199074_997653153 { public static com.mysema.query.Tuple eval(com.sopovs.moradanen.zkoss.QuerydslCollectionsGroupByTest.Foo foo, com.mysema.query.types.QTuple a1) { return
via Stack Overflow by Unknown author, 2 years ago
. /Q_01363784216_1275614662_1275614662_1573163836_01698119955_566403833.java:3: error: Present is not public in com.google.common.base; cannot be accessed from outside package public static Iterable<xxx.OpenedInterruption> eval(Iterable<xxx.OpenedInterruption> openedInterruption_, xxx.InterruptionType a1, xxx.InterruptionTargetType a2, com.google.common.base.Present a3) { ^ 1 error
via GitHub by mattrebor
, 2 years ago
Compilation of return (Object[])(a1.newInstance(g.getQuantity() * g.getPrice(), g.getDesc())); failed. /Q_01356270177_614832599_082509057_01258778333.java:6: operator * cannot be applied to java.math.BigDecimal,java.math.BigDecimal return (Object
com.mysema.codegen.CodegenException: Compilation of public class Q_1462119976_65821278_1275614662 { public static java.util.List<Object[]> eval(Iterable<querydsl.model.Cat> cat1_) { java.util.List<Object[]> rv = new java.util.ArrayList<Object[]>(); for (querydsl.model.Cat cat1 : cat1_) { for (querydsl.model.Cat cat1 : com.querydsl.collections.CollQueryFunctions.leftJoin(com.querydsl.collections.CollQueryFunctions.<java.util.List>get(category1, "cats"))) { rv.add(new Object[]{cat1,cat1}); } } return rv; } } failed. /Q_01009724352_65821278_1275614662.java:6: error: incompatible types: Object cannot be converted to Cat for (querydsl.model.Cat cat1 : com.querydsl.collections.CollQueryFunctions.leftJoin(com.querydsl.collections.CollQueryFunctions.<java.util.List>get(category1, "cats"))) { ^ ...
at com.mysema.codegen.JDKEvaluatorFactory.compile(JDKEvaluatorFactory.java:74)
at com.mysema.codegen.AbstractEvaluatorFactory.createEvaluator(AbstractEvaluatorFactory.java:128)
at com.querydsl.collections.DefaultEvaluatorFactory.createEvaluator(DefaultEvaluatorFactory.java:262)
at com.querydsl.collections.DefaultQueryEngine.evaluateMultipleSources(DefaultQueryEngine.java:109)
at com.querydsl.collections.DefaultQueryEngine.count(DefaultQueryEngine.java:57)
at com.querydsl.collections.AbstractCollQuery.fetchResults(AbstractCollQuery.java:189)
at querydsl.Main.LeftJoin(Main.java:94)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.