3 Replies Latest reply on Mar 16, 2017 12:23 PM by matam matam

    @MappedSuperclass in errai-jpa-client 3.2.2.Final

    Emiel Klomp Newbie

      When trying a very simple Parent/Child contruction with errai-javaee-all:3.2.2.Final, I get the following exception while compiling:

       

      Caused by: org.jboss.errai.codegen.exception.OutOfScopeException: et_nl_somecompany_process_control_web_client_shared_Parent not found.

       

      Any tips on why?

       

      Parent class:

       

       

      import javax.persistence.GeneratedValue;
        import javax.persistence.Id;
        import javax.persistence.MappedSuperclass;
      
        @MappedSuperclass
        public abstract class Parent {
      
        @Id
        @GeneratedValue
        private Long id;
      
        private String parentProperty;
      
        public Long getId() {
        return id;
        }
        }
      

       

       

      Child class:

       

      import org.jboss.errai.common.client.api.annotations.Portable;
        import org.jboss.errai.databinding.client.api.Bindable;
      
        import javax.persistence.Entity;
      
        @Bindable
        @Portable
        @Entity
        public class Child extends Parent {
      
        private String name;
      
        public String getName() {
        return name;
        }
      
        public void setName(final String name) {
        this.name = name;
               }
        }
      
        • 1. Re: @MappedSuperclass in errai-jpa-client 3.2.2.Final
          matam matam Newbie

          I also have this problem with @MappedSuperClass. Do you know how to

          fix it?

          • 2. Re: @MappedSuperclass in errai-jpa-client 3.2.2.Final
            Max Barkley Expert

            It doesn't look like we currently support MappedSuperclass.

            • 3. Re: @MappedSuperclass in errai-jpa-client 3.2.2.Final
              matam matam Newbie

              Now i'm using errai - 4.0.0-SNAPSHOT

              I must add audit to the entity and create abstract class

               

              package com.zzz.shared.entity;
              
              import javax.persistence.MappedSuperclass;
              import javax.persistence.PrePersist;
              import javax.persistence.PreUpdate;
              import javax.persistence.Transient;
              import java.util.Date;
              
              @MappedSuperclass
              public abstract class AuditBase {
              
                 private static final long serialVersionUID = 1L;
              
                 protected Date creationDate;
                 protected Date modificationDate;
                 protected String creationUser;
                 protected String modificationUser;
              
                 @PrePersist
                 public void prePersist() {
                 setCreationDate(new Date());
                 setCreationUser(getCurrentUser());
                preUpdate();
                }
              
                 @PreUpdate
                 public void preUpdate() {
                 setModificationDate(new Date());
                 setModificationUser(getCurrentUser());
                }
              
                 @Override
                 public String getCurrentUser() {
                 return "test";
                }
              
                 public Date getCreationDate() {
                 return creationDate;
                }
              
                 public void setCreationDate(Date creationDate) {
                 this.creationDate = creationDate;
                }
              
                 public Date getModificationDate() {
                 return modificationDate;
                }
              
                 public void setModificationDate(Date modificationDate) {
                 this.modificationDate = modificationDate;
                }
              
                 public String getCreationUser() {
                 return creationUser;
                }
              
                 public void setCreationUser(String creationUser) {
                 this.creationUser = creationUser;
                }
              
                 public String getModificationUser() {
                 return modificationUser;
                }
              
                 public void setModificationUser(String modificationUser) {
                 this.modificationUser = modificationUser
                }
              }
              
              
              
              
              entityx
              
              
              package com.zzz.shared.entity;
              
              import org.hibernate.validator.constraints.NotEmpty;
              import org.jboss.errai.common.client.api.annotations.Portable;
              import org.jboss.errai.databinding.client.api.Bindable;
              
              import javax.persistence.*;
              import javax.validation.constraints.Digits;
              import javax.validation.constraints.NotNull;
              import javax.validation.constraints.Pattern;
              import javax.validation.constraints.Size;
              import java.util.Date;
              
              @Bindable
              @Portable
              @Entity
              @NamedQueries({
                 @NamedQuery(name = Employee.ALL, query = "SELECT e FROM Employee e ORDER BY e.id")
              })
              
              public class Employee extends AuditBase {
                 public static final String ALL= "allEmplyees";
              
                 @Id
                @GeneratedValue(strategy = GenerationType.SEQUENCE)
                 private long id;
              
                 @NotNull
                @Size(min = 1, max = 50)
                 @Pattern(regexp = "[A-Za-z ]*", message = "must contain only letters and spaces")
                 private String firstName;
              
              
                 @NotNull
                @Size(min = 1, max = 50)
                 @Pattern(regexp = "[A-Za-z ]*", message = "must contain only letters and spaces")
                 private String lastName;
              ...
              }
              

              Error:

               

              Information:Some files were changed during the build. Additional compilation may be required.
              Information:16.03.2017 16:59 - Compilation completed with 103 errors and 185 warnings in 1m 28s 53ms
              Error:GWT Compiler: Error generating GeneratedErraiEntityManagerFactory
              Error:GWT Compiler: at java.util.concurrent.FutureTask.report(FutureTask.java:122)
              Error:GWT Compiler: at java.util.concurrent.FutureTask.get(FutureTask.java:192)
              Error:GWT Compiler: at org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:112)
              Error:GWT Compiler: at org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:86)
              Error:GWT Compiler: at org.jboss.errai.config.rebind.AbstractAsyncGenerator.startAsyncGeneratorsAndWaitFor(AbstractAsyncGenerator.java:205)
              Error:GWT Compiler: at org.jboss.errai.jpa.rebind.ErraiEntityManagerGenerator.generate(ErraiEntityManagerGenerator.java:113)
              Error:GWT Compiler: at com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
              Error:GWT Compiler: at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:745)
              Error:GWT Compiler: at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:103)
              Error:GWT Compiler: at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78)
              Error:GWT Compiler: at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:262)
              Error:GWT Compiler: at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:251)
              Error:GWT Compiler: at com.google.gwt.dev.PrecompilationContextCreator$1.getAllPossibleRebindAnswers(PrecompilationContextCreator.java:86)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createStaticRebindExpression(UnifyAst.java:519)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createRebindExpression(UnifyAst.java:487)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.maybeHandleMagicMethodCall(UnifyAst.java:415)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.visit(UnifyAst.java:402)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:265)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:72)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:49)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:88)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:331)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:92)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:139)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.ast.JIfStatement.traverse(JIfStatement.java:53)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:135)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:83)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:786)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:778)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:1401)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:896)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1410)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1222)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:1140)
              Error:GWT Compiler: at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:255)
              Error:GWT Compiler: at com.google.gwt.dev.Precompile.precompile(Precompile.java:255)
              Error:GWT Compiler: at com.google.gwt.dev.Precompile.precompile(Precompile.java:202)
              Error:GWT Compiler: at com.google.gwt.dev.Precompile.precompile(Precompile.java:143)
              Error:GWT Compiler: at com.google.gwt.dev.Compiler.compile(Compiler.java:204)
              Error:GWT Compiler: at com.google.gwt.dev.Compiler.compile(Compiler.java:155)
              Error:GWT Compiler: at com.google.gwt.dev.Compiler.compile(Compiler.java:144)
              Error:GWT Compiler: at com.google.gwt.dev.Compiler$1.run(Compiler.java:118)
              Error:GWT Compiler: at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
              Error:GWT Compiler: at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
              Error:GWT Compiler: at com.google.gwt.dev.Compiler.main(Compiler.java:125)
              Error:GWT Compiler: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              Error:GWT Compiler: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              Error:GWT Compiler: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              Error:GWT Compiler: at java.lang.reflect.Method.invoke(Method.java:498)
              Error:GWT Compiler: at com.intellij.rt.execution.CommandLineWrapper.main(CommandLineWrapper.java:45)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.callstack.MethodCall.handleCall(MethodCall.java:121)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.callstack.AbstractCallElement.nextOrReturn(AbstractCallElement.java:47)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.callstack.LoadVariable.handleCall(LoadVariable.java:121)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.callstack.ResetCallElement.handleCall(ResetCallElement.java:29)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.impl.AbstractStatementBuilder.generate(AbstractStatementBuilder.java:61)
              Error:GWT Compiler: at org.jboss.errai.codegen.BlockStatement.generate(BlockStatement.java:90)
              Error:GWT Compiler: at org.jboss.errai.codegen.meta.impl.build.BuildMetaMethod.toJavaString(BuildMetaMethod.java:344)
              Error:GWT Compiler: at org.jboss.errai.codegen.meta.impl.build.BuildMetaClass.membersToString(BuildMetaClass.java:726)
              Error:GWT Compiler: at org.jboss.errai.codegen.meta.impl.build.BuildMetaClass.toJavaString(BuildMetaClass.java:659)
              Error:GWT Compiler: at org.jboss.errai.codegen.meta.impl.build.BuildMetaClass.toJavaString(BuildMetaClass.java:555)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.impl.ClassBuilder.toJavaString(ClassBuilder.java:493)
              Error:GWT Compiler: at org.jboss.errai.jpa.rebind.ErraiEntityManagerGenerator.generateEntityManagerFactoryClass(ErraiEntityManagerGenerator.java:199)
              Error:GWT Compiler: at org.jboss.errai.jpa.rebind.ErraiEntityManagerGenerator.generate(ErraiEntityManagerGenerator.java:121)
              Error:GWT Compiler: at org.jboss.errai.config.rebind.AbstractAsyncGenerator$1.call(AbstractAsyncGenerator.java:66)
              Error:GWT Compiler: at org.jboss.errai.config.rebind.AbstractAsyncGenerator$1.call(AbstractAsyncGenerator.java:54)
              Error:GWT Compiler: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              Error:GWT Compiler: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              Error:GWT Compiler: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              Error:GWT Compiler: at java.lang.Thread.run(Thread.java:745)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.callstack.AbstractCallElement.blameAndRethrow(AbstractCallElement.java:85)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.callstack.LoadVariable.handleCall(LoadVariable.java:124)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.impl.AnonymousClassStructureBuilderImpl$2.lambda$callback$1(AnonymousClassStructureBuilderImpl.java:106)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.impl.AnonymousClassStructureBuilderImpl.lambda$doGenerate$2(AnonymousClassStructureBuilderImpl.java:173)
              Error:GWT Compiler: at java.util.ArrayList.forEach(ArrayList.java:1249)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.impl.AnonymousClassStructureBuilderImpl.doGenerate(AnonymousClassStructureBuilderImpl.java:173)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.impl.AnonymousClassStructureBuilderImpl.access$200(AnonymousClassStructureBuilderImpl.java:44)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.impl.AnonymousClassStructureBuilderImpl$3.generate(AnonymousClassStructureBuilderImpl.java:145)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.impl.ObjectBuilder.lambda$generate$2(ObjectBuilder.java:170)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.callstack.DeferredCallElement.handleCall(DeferredCallElement.java:42)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.impl.ObjectBuilder.generate(ObjectBuilder.java:177)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.impl.AbstractStatementBuilder.toJavaString(AbstractStatementBuilder.java:85)
              Error:GWT Compiler: at org.jboss.errai.codegen.SnapshotMaker$2.generate(SnapshotMaker.java:395)
              Error:GWT Compiler: at org.jboss.errai.codegen.util.GenUtil.generate(GenUtil.java:124)
              Error:GWT Compiler: at org.jboss.errai.codegen.util.GenUtil.lambda$generateCallParameters$0(GenUtil.java:72)
              Error:GWT Compiler: at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
              Error:GWT Compiler: at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
              Error:GWT Compiler: at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
              Error:GWT Compiler: at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
              Error:GWT Compiler: at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:545)
              Error:GWT Compiler: at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
              Error:GWT Compiler: at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:438)
              Error:GWT Compiler: at org.jboss.errai.codegen.util.GenUtil.generateCallParameters(GenUtil.java:72)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.callstack.MethodCall.handleCall(MethodCall.java:61)
              Error:GWT Compiler: at org.jboss.errai.codegen.Context.getVariable(Context.java:347)
              Error:GWT Compiler: at org.jboss.errai.codegen.Context.getVariable(Context.java:310)
              Error:GWT Compiler: at org.jboss.errai.codegen.builder.callstack.LoadVariable.handleCall(LoadVariable.java:61)
              Error:GWT Compiler: Could not find org.jboss.errai.jpa.client.local.GeneratedErraiEntityManagerFactory in types compiled from source. Is the source glob too strict?
              Error:GWT Compiler: Rebind result 'org.jboss.errai.jpa.client.local.GeneratedErraiEntityManagerFactory' could not be found
              Warning:GWT Compiler: [stderr]: mar 16, 2017 4:57:57 PM java.util.prefs.WindowsPreferences <init>
              Warning:GWT Compiler: [stderr]: WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
              Warning:GWT Compiler: [stderr]: java.util.concurrent.ExecutionException: java.lang.RuntimeException: error generating method call for: addAttribute([org.jboss.errai.codegen.SnapshotMaker$2@11870dd5])
              Warning:GWT Compiler: [stderr]: at java.util.concurrent.FutureTask.report(FutureTask.java:122)
              Warning:GWT Compiler: [stderr]: at java.util.concurrent.FutureTask.get(FutureTask.java:192)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:112)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:86)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.config.rebind.AbstractAsyncGenerator.startAsyncGeneratorsAndWaitFor(AbstractAsyncGenerator.java:205)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.jpa.rebind.ErraiEntityManagerGenerator.generate(ErraiEntityManagerGenerator.java:113)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:745)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:103)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:262)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:251)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.PrecompilationContextCreator$1.getAllPossibleRebindAnswers(PrecompilationContextCreator.java:86)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createStaticRebindExpression(UnifyAst.java:519)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createRebindExpression(UnifyAst.java:487)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.maybeHandleMagicMethodCall(UnifyAst.java:415)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.visit(UnifyAst.java:402)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:265)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:72)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:49)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:88)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:331)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:92)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:139)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.ast.JIfStatement.traverse(JIfStatement.java:53)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:135)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:83)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:786)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:778)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:1401)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:896)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1410)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1222)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:1140)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:255)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.Precompile.precompile(Precompile.java:255)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.Precompile.precompile(Precompile.java:202)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.Precompile.precompile(Precompile.java:143)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.Compiler.compile(Compiler.java:204)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.Compiler.compile(Compiler.java:155)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.Compiler.compile(Compiler.java:144)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.Compiler$1.run(Compiler.java:118)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
              Warning:GWT Compiler: [stderr]: at com.google.gwt.dev.Compiler.main(Compiler.java:125)
              Warning:GWT Compiler: [stderr]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              Warning:GWT Compiler: [stderr]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              Warning:GWT Compiler: [stderr]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              Warning:GWT Compiler: [stderr]: at java.lang.reflect.Method.invoke(Method.java:498)
              Warning:GWT Compiler: [stderr]: at com.intellij.rt.execution.CommandLineWrapper.main(CommandLineWrapper.java:45)
              Warning:GWT Compiler: [stderr]: Caused by: java.lang.RuntimeException: error generating method call for: addAttribute([org.jboss.errai.codegen.SnapshotMaker$2@11870dd5])
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.callstack.MethodCall.handleCall(MethodCall.java:121)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.callstack.AbstractCallElement.nextOrReturn(AbstractCallElement.java:47)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.callstack.LoadVariable.handleCall(LoadVariable.java:121)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.callstack.ResetCallElement.handleCall(ResetCallElement.java:29)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.impl.AbstractStatementBuilder.generate(AbstractStatementBuilder.java:61)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.BlockStatement.generate(BlockStatement.java:90)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.meta.impl.build.BuildMetaMethod.toJavaString(BuildMetaMethod.java:344)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.meta.impl.build.BuildMetaClass.membersToString(BuildMetaClass.java:726)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.meta.impl.build.BuildMetaClass.toJavaString(BuildMetaClass.java:659)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.meta.impl.build.BuildMetaClass.toJavaString(BuildMetaClass.java:555)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.impl.ClassBuilder.toJavaString(ClassBuilder.java:493)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.jpa.rebind.ErraiEntityManagerGenerator.generateEntityManagerFactoryClass(ErraiEntityManagerGenerator.java:199)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.jpa.rebind.ErraiEntityManagerGenerator.generate(ErraiEntityManagerGenerator.java:121)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.config.rebind.AbstractAsyncGenerator$1.call(AbstractAsyncGenerator.java:66)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.config.rebind.AbstractAsyncGenerator$1.call(AbstractAsyncGenerator.java:54)
              Warning:GWT Compiler: [stderr]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              Warning:GWT Compiler: [stderr]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              Warning:GWT Compiler: [stderr]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              Warning:GWT Compiler: [stderr]: at java.lang.Thread.run(Thread.java:745)
              Warning:GWT Compiler: [stderr]: Caused by: java.lang.RuntimeException: Problem during Errai code generation. Please set system property -Derrai.codegen.details=true for more details.
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.callstack.AbstractCallElement.blameAndRethrow(AbstractCallElement.java:85)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.callstack.LoadVariable.handleCall(LoadVariable.java:124)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.impl.AnonymousClassStructureBuilderImpl$2.lambda$callback$1(AnonymousClassStructureBuilderImpl.java:106)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.impl.AnonymousClassStructureBuilderImpl.lambda$doGenerate$2(AnonymousClassStructureBuilderImpl.java:173)
              Warning:GWT Compiler: [stderr]: at java.util.ArrayList.forEach(ArrayList.java:1249)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.impl.AnonymousClassStructureBuilderImpl.doGenerate(AnonymousClassStructureBuilderImpl.java:173)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.impl.AnonymousClassStructureBuilderImpl.access$200(AnonymousClassStructureBuilderImpl.java:44)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.impl.AnonymousClassStructureBuilderImpl$3.generate(AnonymousClassStructureBuilderImpl.java:145)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.impl.ObjectBuilder.lambda$generate$2(ObjectBuilder.java:170)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.callstack.DeferredCallElement.handleCall(DeferredCallElement.java:42)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.impl.ObjectBuilder.generate(ObjectBuilder.java:177)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.impl.AbstractStatementBuilder.toJavaString(AbstractStatementBuilder.java:85)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.SnapshotMaker$2.generate(SnapshotMaker.java:395)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.util.GenUtil.generate(GenUtil.java:124)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.util.GenUtil.lambda$generateCallParameters$0(GenUtil.java:72)
              Warning:GWT Compiler: [stderr]: at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
              Warning:GWT Compiler: [stderr]: at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
              Warning:GWT Compiler: [stderr]: at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
              Warning:GWT Compiler: [stderr]: at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
              Warning:GWT Compiler: [stderr]: at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:545)
              Warning:GWT Compiler: [stderr]: at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
              Warning:GWT Compiler: [stderr]: at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:438)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.util.GenUtil.generateCallParameters(GenUtil.java:72)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.callstack.MethodCall.handleCall(MethodCall.java:61)
              Warning:GWT Compiler: [stderr]: ... 19 more
              Warning:GWT Compiler: [stderr]: Caused by: org.jboss.errai.codegen.exception.OutOfScopeException: et_com_zzz_shared_entity_AuditBase not found.
              Warning:GWT Compiler: [stderr]: Scope:
              Warning:GWT Compiler: [stderr]: Imports:
              Warning:GWT Compiler: [stderr]: org.jboss.errai.jpa.client.local.ErraiEntityType
              Warning:GWT Compiler: [stderr]: org.jboss.errai.jpa.client.local.ErraiEntityManagerFactory
              Warning:GWT Compiler: [stderr]: com.zzz.shared.entity.Room
              Warning:GWT Compiler: [stderr]: org.jboss.errai.jpa.client.local.ErraiEntityManager
              Warning:GWT Compiler: [stderr]: com.zzz.shared.entity.enums.FileCategory
              Warning:GWT Compiler: [stderr]: org.jboss.errai.jpa.client.local.backend.WebStorageBackend
              Warning:GWT Compiler: [stderr]: javax.persistence.metamodel.Bindable.BindableType
              Warning:GWT Compiler: [stderr]: com.zzz.shared.entity.tests.RoomProgress
              Warning:GWT Compiler: [stderr]: com.zzz.shared.entity.tests.RoomSection
              Warning:GWT Compiler: [stderr]: org.jboss.errai.jpa.client.local.ErraiIdGenerator
              Warning:GWT Compiler: [stderr]: java.lang.String
              Warning:GWT Compiler: [stderr]: com.zzz.shared.entity.HouseEntity
              Warning:GWT Compiler: [stderr]: com.zzz.shared.entity.tests.RoomPosition
              Warning:GWT Compiler: [stderr]: com.zzz.shared.entity.tests.RoomItem
              Warning:GWT Compiler: [stderr]: com.google.gwt.core.client.UnsafeNativeLong
              Warning:GWT Compiler: [stderr]: com.zzz.shared.entity.SettingsEntity
              Warning:GWT Compiler: [stderr]: com.zzz.shared.entity.Department
              Warning:GWT Compiler: [stderr]: java.lang.Boolean
              Warning:GWT Compiler: [stderr]: java.lang.UnsupportedOperationException
              Warning:GWT Compiler: [stderr]: org.jboss.errai.common.client.api.WrappedPortable
              Warning:GWT Compiler: [stderr]: javax.persistence.metamodel.ManagedType
              Warning:GWT Compiler: [stderr]: com.zzz.shared.entity.FileEntity
              Warning:GWT Compiler: [stderr]: com.zzz.shared.entity.HouseEquipment
              Warning:GWT Compiler: [stderr]: javax.persistence.metamodel.Type.PersistenceType
              Warning:GWT Compiler: [stderr]: com.zzz.shared.entity.enums.RoomUnitMesaure
              Warning:GWT Compiler: [stderr]: org.jboss.errai.jpa.client.local.ErraiSingularAttribute
              Warning:GWT Compiler: [stderr]: java.lang.Double
              Warning:GWT Compiler: [stderr]: java.util.Date
              Warning:GWT Compiler: [stderr]: java.lang.Integer
              Warning:GWT Compiler: [stderr]: javax.persistence.metamodel.Type
              Warning:GWT Compiler: [stderr]: com.zzz.shared.entity.Employee
              Warning:GWT Compiler: [stderr]: org.jboss.errai.jpa.client.local.LongIdGenerator
              Warning:GWT Compiler: [stderr]: javax.persistence.metamodel.Attribute.PersistentAttributeType
              Warning:GWT Compiler: [stderr]: javax.persistence.CascadeType
              Warning:GWT Compiler: [stderr]: com.zzz.shared.entity.Adress
              Warning:GWT Compiler: [stderr]: java.lang.Long
              Warning:GWT Compiler: [stderr]: java.lang.Object
              Warning:GWT Compiler: [stderr]: java.lang.Class
              Warning:GWT Compiler: [stderr]: com.zzz.shared.entity.tests.RoomHead
              Warning:GWT Compiler: [stderr]: Variables:
              Warning:GWT Compiler: [stderr]: Variable [name=this, type=org.jboss.errai.jpa.client.local.ErraiSingularAttribute]
              Warning:GWT Compiler: [stderr]: Variable [name=entityType, type=org.jboss.errai.jpa.client.local.ErraiEntityType]
              Warning:GWT Compiler: [stderr]: Variable [name=name, type=java.lang.String]
              Warning:GWT Compiler: [stderr]: Classes:
              Warning:GWT Compiler: [stderr]: Variable [name=et_com_zzz_shared_entity_Room, type=org.jboss.errai.jpa.client.local.ErraiEntityType]
              Warning:GWT Compiler: [stderr]: Variable [name=et_com_zzz_shared_entity_tests_RoomSection, type=org.jboss.errai.jpa.client.local.ErraiEntityType]
              Warning:GWT Compiler: [stderr]: Variable [name=firstResult, type=int]
              Warning:GWT Compiler: [stderr]: Variable [name=et_com_zzz_shared_entity_tests_RoomHead, type=org.jboss.errai.jpa.client.local.ErraiEntityType]
              Warning:GWT Compiler: [stderr]: Variable [name=et_com_zzz_shared_entity_HouseEntity, type=org.jboss.errai.jpa.client.local.ErraiEntityType]
              Warning:GWT Compiler: [stderr]: Variable [name=flushMode, type=javax.persistence.FlushModeType]
              Warning:GWT Compiler: [stderr]: Variable [name=et_com_zzz_shared_entity_SettingsEntity, type=org.jboss.errai.jpa.client.local.ErraiEntityType]
              Warning:GWT Compiler: [stderr]: Variable [name=et_com_zzz_shared_entity_tests_RoomItem, type=org.jboss.errai.jpa.client.local.ErraiEntityType]
              Warning:GWT Compiler: [stderr]: Variable [name=maxResults, type=int]
              Warning:GWT Compiler: [stderr]: Variable [name=resultType, type=java.lang.Class<X>]
              Warning:GWT Compiler: [stderr]: Variable [name=et_com_zzz_shared_entity_FileEntity, type=org.jboss.errai.jpa.client.local.ErraiEntityType]
              Warning:GWT Compiler: [stderr]: Variable [name=actualResultType, type=java.lang.Class<?>]
              Warning:GWT Compiler: [stderr]: Variable [name=lockMode, type=javax.persistence.LockModeType]
              Warning:GWT Compiler: [stderr]: Variable [name=hints, type=java.util.Map<java.lang.String, java.lang.Object>]
              Warning:GWT Compiler: [stderr]: Variable [name=this, type=org.jboss.errai.jpa.client.local.GeneratedErraiEntityManagerFactory]
              Warning:GWT Compiler: [stderr]: Variable [name=em, type=org.jboss.errai.jpa.client.local.ErraiEntityManager]
              Warning:GWT Compiler: [stderr]: Variable [name=et_com_zzz_shared_entity_tests_RoomProgress, type=org.jboss.errai.jpa.client.local.ErraiEntityType]
              Warning:GWT Compiler: [stderr]: Variable [name=et_com_zzz_shared_entity_tests_RoomPosition, type=org.jboss.errai.jpa.client.local.ErraiEntityType]
              Warning:GWT Compiler: [stderr]: Variable [name=et_com_zzz_shared_entity_Adress, type=org.jboss.errai.jpa.client.local.ErraiEntityType]
              Warning:GWT Compiler: [stderr]: Variable [name=paramValues, type=java.util.Map<javax.persistence.Parameter, java.lang.Object>]
              Warning:GWT Compiler: [stderr]: Variable [name=super, type=java.lang.Object]
              Warning:GWT Compiler: [stderr]: Variable [name=et_com_zzz_shared_entity_Department, type=org.jboss.errai.jpa.client.local.ErraiEntityType]
              Warning:GWT Compiler: [stderr]: Variable [name=et_com_zzz_shared_entity_HouseEquipment, type=org.jboss.errai.jpa.client.local.ErraiEntityType]
              Warning:GWT Compiler: [stderr]: Variable [name=parameters, type=com.google.common.collect.ImmutableBiMap<java.lang.String, javax.persistence.Parameter>]
              Warning:GWT Compiler: [stderr]: Variable [name=et_com_zzz_shared_entity_Employee, type=org.jboss.errai.jpa.client.local.ErraiEntityType]
              Warning:GWT Compiler: [stderr]: org.jboss.errai.jpa.client.local.ErraiTypedQuery
              Warning:GWT Compiler: [stderr]: java.util.Comparator
              Warning:GWT Compiler: [stderr]: org.jboss.errai.jpa.client.local.TypedQueryFactory
              Warning:GWT Compiler: [stderr]: org.jboss.errai.jpa.client.local.GeneratedErraiEntityManagerFactory
              Warning:GWT Compiler: For the following type(s), generated source was never committed (did you forget to call commit()?)
              Warning:GWT Compiler: org.jboss.errai.jpa.client.local.GeneratedErraiEntityManagerFactory
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.Context.getVariable(Context.java:347)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.Context.getVariable(Context.java:310)
              Warning:GWT Compiler: [stderr]: at org.jboss.errai.codegen.builder.callstack.LoadVariable.handleCall(LoadVariable.java:61)
              Warning:GWT Compiler: [stderr]: ... 46 more