Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-17341

2 Test Failure(s) in JBIDE 4.2.0.Beta2 for hibernate component

XMLWordPrintable

      2 Test Failure(s) in JBIDE 4.2.0.Beta2 for hibernate component:

      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-hibernate_master/481/testReport/

      1. org.hibernate.eclipse.jdt.ui.test.JPAMapTest (failing for 3 builds)
      2. org.hibernate.eclipse.jdt.ui.test.JPAMapTest (failing for 3 builds)

      Search for Test Failure JIRAs in JBIDE 4.2.0.Beta2 for hibernate component


      • org.hibernate.eclipse.jdt.ui.test.JPAMapTest : testTransformerGetters (failing for 3 builds)
      <case>
        <age>3</age>
        <className>org.hibernate.eclipse.jdt.ui.test.JPAMapTest</className>
        <duration>1.84</duration>
        <errorDetails>expected:&lt;....annotated.getters; [import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Version; @Entity class TypeA {   public double id2=2.0;   public TypeA(){   }   protected Integer version;   @Version public Integer getVersion(){     return version;   }   public void setVersion(  Integer version){     this.version=version;   } } @Entity class TypeB {   public int id=0;   public TypeB(){   }   protected Integer version;   @Version public Integer getVersion(){     return version;   }   public void setVersion(  Integer version){     this.version=version;   }] } &gt; but was:&lt;....annotated.getters; [class TypeA {   public double id2=2.0;   public TypeA(){   }   protected Integer version;   public Integer getVersion(){     return version;   }   public void setVersion(  Integer version){     this.version=version;   } } class TypeB {   public int id=0;   public TypeB(){   }   protected Integer version;] } &gt;</errorDetails>
        <errorStackTrace>junit.framework.ComparisonFailure: expected:&lt;....annotated.getters;
      [import javax.persistence.Entity;
      import javax.persistence.GeneratedValue;
      import javax.persistence.Id;
      import javax.persistence.Version;
      @Entity class TypeA {
        public double id2=2.0;
        public TypeA(){
        }
        protected Integer version;
        @Version public Integer getVersion(){
          return version;
        }
        public void setVersion(  Integer version){
          this.version=version;
        }
      }
      @Entity class TypeB {
        public int id=0;
        public TypeB(){
        }
        protected Integer version;
        @Version public Integer getVersion(){
          return version;
        }
        public void setVersion(  Integer version){
          this.version=version;
        }]
      }
      &gt; but was:&lt;....annotated.getters;
      [class TypeA {
        public double id2=2.0;
        public TypeA(){
        }
        protected Integer version;
        public Integer getVersion(){
          return version;
        }
        public void setVersion(  Integer version){
          this.version=version;
        }
      }
      class TypeB {
        public int id=0;
        public TypeB(){
        }
        protected Integer version;]
      }
      &gt;
      	at junit.framework.Assert.assertEquals(Assert.java:100)
      	at junit.framework.Assert.assertEquals(Assert.java:107)
      	at junit.framework.TestCase.assertEquals(TestCase.java:269)
      	at org.hibernate.eclipse.jdt.ui.test.JPAMapTest.checkItem(JPAMapTest.java:175)
      	at org.hibernate.eclipse.jdt.ui.test.JPAMapTest.startTestTransformer(JPAMapTest.java:157)
      	at org.hibernate.eclipse.jdt.ui.test.JPAMapTest.testTransformerGetters(JPAMapTest.java:83)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at junit.framework.TestCase.runTest(TestCase.java:176)
      	at junit.framework.TestCase.runBare(TestCase.java:141)
      	at junit.framework.TestResult$1.protect(TestResult.java:122)
      	at junit.framework.TestResult.runProtected(TestResult.java:142)
      	at junit.framework.TestResult.run(TestResult.java:125)
      	at junit.framework.TestCase.run(TestCase.java:129)
      	at junit.framework.TestSuite.runTest(TestSuite.java:255)
      	at junit.framework.TestSuite.run(TestSuite.java:250)
      	at junit.framework.TestSuite.runTest(TestSuite.java:255)
      	at junit.framework.TestSuite.run(TestSuite.java:250)
      	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
      	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
      	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
      	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
      	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:123)
      	at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:86)
      	at org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication$1.run(AbstractUITestApplication.java:35)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3781)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3419)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1152)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1033)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:635)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:578)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
      	at org.eclipse.tycho.surefire.osgibooter.UITestApplication.runApplication(UITestApplication.java:31)
      	at org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication.run(AbstractUITestApplication.java:114)
      	at org.eclipse.tycho.surefire.osgibooter.UITestApplication.start(UITestApplication.java:37)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:379)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:233)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
      </errorStackTrace>
        <failedSince>479</failedSince>
        <name>testTransformerGetters</name>
        <skipped>false</skipped>
        <status>FAILED</status>
      </case>
      
      
      • org.hibernate.eclipse.jdt.ui.test.JPAMapTest : testTransformerFields (failing for 3 builds)
      <case>
        <age>3</age>
        <className>org.hibernate.eclipse.jdt.ui.test.JPAMapTest</className>
        <duration>1.157</duration>
        <errorDetails>expected:&lt;...t.annotated.fields; [import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Version; @Entity class TypeA {   @Id @GeneratedValue public double id2=2.0;   public TypeA(){   }   @Version protected Integer version;   public Integer getVersion(){     return version;   }   public void setVersion(  Integer version){     this.version=version;   } } @Entity class TypeB {   @Id @GeneratedValue public int id=0;   public TypeB(){   }   @Version protected Integer version;   public Integer getVersion(){     return version;   }   public void setVersion(  Integer version){     this.version=version;   }] } &gt; but was:&lt;...t.annotated.fields; [class TypeA {   public double id2=2.0;   public TypeA(){   }   protected Integer version;   public Integer getVersion(){     return version;   }   public void setVersion(  Integer version){     this.version=version;   } } class TypeB {   public int id=0;   public TypeB(){   }   protected Integer version;] } &gt;</errorDetails>
        <errorStackTrace>junit.framework.ComparisonFailure: expected:&lt;...t.annotated.fields;
      [import javax.persistence.Entity;
      import javax.persistence.GeneratedValue;
      import javax.persistence.Id;
      import javax.persistence.Version;
      @Entity class TypeA {
        @Id @GeneratedValue public double id2=2.0;
        public TypeA(){
        }
        @Version protected Integer version;
        public Integer getVersion(){
          return version;
        }
        public void setVersion(  Integer version){
          this.version=version;
        }
      }
      @Entity class TypeB {
        @Id @GeneratedValue public int id=0;
        public TypeB(){
        }
        @Version protected Integer version;
        public Integer getVersion(){
          return version;
        }
        public void setVersion(  Integer version){
          this.version=version;
        }]
      }
      &gt; but was:&lt;...t.annotated.fields;
      [class TypeA {
        public double id2=2.0;
        public TypeA(){
        }
        protected Integer version;
        public Integer getVersion(){
          return version;
        }
        public void setVersion(  Integer version){
          this.version=version;
        }
      }
      class TypeB {
        public int id=0;
        public TypeB(){
        }
        protected Integer version;]
      }
      &gt;
      	at junit.framework.Assert.assertEquals(Assert.java:100)
      	at junit.framework.Assert.assertEquals(Assert.java:107)
      	at junit.framework.TestCase.assertEquals(TestCase.java:269)
      	at org.hibernate.eclipse.jdt.ui.test.JPAMapTest.checkItem(JPAMapTest.java:175)
      	at org.hibernate.eclipse.jdt.ui.test.JPAMapTest.startTestTransformer(JPAMapTest.java:157)
      	at org.hibernate.eclipse.jdt.ui.test.JPAMapTest.testTransformerFields(JPAMapTest.java:77)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at junit.framework.TestCase.runTest(TestCase.java:176)
      	at junit.framework.TestCase.runBare(TestCase.java:141)
      	at junit.framework.TestResult$1.protect(TestResult.java:122)
      	at junit.framework.TestResult.runProtected(TestResult.java:142)
      	at junit.framework.TestResult.run(TestResult.java:125)
      	at junit.framework.TestCase.run(TestCase.java:129)
      	at junit.framework.TestSuite.runTest(TestSuite.java:255)
      	at junit.framework.TestSuite.run(TestSuite.java:250)
      	at junit.framework.TestSuite.runTest(TestSuite.java:255)
      	at junit.framework.TestSuite.run(TestSuite.java:250)
      	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
      	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
      	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
      	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
      	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:123)
      	at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:86)
      	at org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication$1.run(AbstractUITestApplication.java:35)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3781)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3419)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1152)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1033)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:635)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:578)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
      	at org.eclipse.tycho.surefire.osgibooter.UITestApplication.runApplication(UITestApplication.java:31)
      	at org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication.run(AbstractUITestApplication.java:114)
      	at org.eclipse.tycho.surefire.osgibooter.UITestApplication.start(UITestApplication.java:37)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:379)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:233)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
      </errorStackTrace>
        <failedSince>479</failedSince>
        <name>testTransformerFields</name>
        <skipped>false</skipped>
        <status>FAILED</status>
      </case>
      
      

              nivologd@gmail.com Denis Golovin (Inactive)
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: