tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Hudson Server <hud...@hudson.zones.apache.org>
Subject Build failed in Hudson: tapestry-5.1-freestyle #16
Date Wed, 31 Mar 2010 18:03:26 GMT
See <http://hudson.zones.apache.org/hudson/job/tapestry-5.1-freestyle/16/changes>

Changes:

[uli] TAP5-1033: upgrade selenium dependencies to 1.0.3

[uli] fix failing tests...

------------------------------------------
[...truncated 35449 lines...]
        and version=?
Hibernate: 
    delete 
    from
        User 
    where
        id=? 
        and version=?
Hibernate: 
    delete 
    from
        User 
    where
        id=? 
        and version=?
Hibernate: 
    delete 
    from
        User 
    where
        id=? 
        and version=?
Hibernate: 
    delete 
    from
        User 
    where
        id=? 
        and version=?
Hibernate: 
    delete 
    from
        User 
    where
        id=? 
        and version=?
Hibernate: 
    delete 
    from
        User 
    where
        id=? 
        and version=?
Hibernate: 
    delete 
    from
        User 
    where
        id=? 
        and version=?
Hibernate: 
    delete 
    from
        User 
    where
        id=? 
        and version=?
Hibernate: 
    delete 
    from
        User 
    where
        id=? 
        and version=?
Hibernate: 
    delete 
    from
        User 
    where
        id=? 
        and version=?
Hibernate: 
    delete 
    from
        User 
    where
        id=? 
        and version=?
Hibernate: 
    delete 
    from
        User 
    where
        id=? 
        and version=?
Hibernate: 
    delete 
    from
        User 
    where
        id=? 
        and version=?
127.0.0.1 - - [31/Mar/2010:18:03:22 +0000] "GET /persistentity:delete HTTP/1.1" 302 0 "http://localhost:9999/persistentity"
"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.17) Gecko/2010010605 Ubuntu/8.10 (intrepid)
Firefox/3.0.17" -
Hibernate: 
    select
        user0_.id as id0_0_,
        user0_.email as email0_0_,
        user0_.encodedPassword as encodedP3_0_0_,
        user0_.firstName as firstName0_0_,
        user0_.lastName as lastName0_0_,
        user0_.version as version0_0_ 
    from
        User user0_ 
    where
        user0_.id=?
127.0.0.1 - - [31/Mar/2010:18:03:22 +0000] "GET /persistentity HTTP/1.1" 200 304 "http://localhost:9999/persistentity"
"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.17) Gecko/2010010605 Ubuntu/8.10 (intrepid)
Firefox/3.0.17" -
[INFO] SeleniumDriverResourceHandler Got result: OK on session e0c3965fb2424dde90ecf11841b47492
[INFO] SeleniumDriverResourceHandler Command request: getText[//span[@id='name'], ] on session
e0c3965fb2424dde90ecf11841b47492
[INFO] SeleniumDriverResourceHandler Got result: OK, on session e0c3965fb2424dde90ecf11841b47492
[INFO] SeleniumDriverResourceHandler Command request: click[link=set to transient, ] on session
e0c3965fb2424dde90ecf11841b47492
[INFO] SeleniumDriverResourceHandler Got result: OK on session e0c3965fb2424dde90ecf11841b47492
[INFO] SeleniumDriverResourceHandler Command request: waitForPageToLoad[15000, ] on session
e0c3965fb2424dde90ecf11841b47492
Hibernate: 
    select
        user0_.id as id0_0_,
        user0_.email as email0_0_,
        user0_.encodedPassword as encodedP3_0_0_,
        user0_.firstName as firstName0_0_,
        user0_.lastName as lastName0_0_,
        user0_.version as version0_0_ 
    from
        User user0_ 
    where
        user0_.id=?
[ERROR] RequestExceptionHandler Processing of request failed with uncaught exception: Error
persisting field PersistEntity:user: Failed persisting an entity in the session. Only entities
attached to a Hibernate Session can be persisted. entity: org.example.app0.entities.User@1256a73
org.apache.tapestry5.runtime.ComponentEventException: Error persisting field PersistEntity:user:
Failed persisting an entity in the session. Only entities attached to a Hibernate Session
can be persisted. entity: org.example.app0.entities.User@1256a73
	at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1098)
	at org.apache.tapestry5.internal.services.ComponentEventRequestHandlerImpl.handle(ComponentEventRequestHandlerImpl.java:75)
	at org.apache.tapestry5.internal.services.ImmediateActionRenderResponseFilter.handle(ImmediateActionRenderResponseFilter.java:42)
	at $ComponentEventRequestHandler_127b5641ff6.handle($ComponentEventRequestHandler_127b5641ff6.java)
	at org.apache.tapestry5.internal.services.AjaxFilter.handle(AjaxFilter.java:42)
	at $ComponentEventRequestHandler_127b5641ff6.handle($ComponentEventRequestHandler_127b5641ff6.java)
	at org.apache.tapestry5.services.TapestryModule$36.handle(TapestryModule.java:2177)
	at $ComponentEventRequestHandler_127b5641ff6.handle($ComponentEventRequestHandler_127b5641ff6.java)
	at $ComponentEventRequestHandler_127b5641f7a.handle($ComponentEventRequestHandler_127b5641f7a.java)
	at org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handleComponentEvent(ComponentRequestHandlerTerminator.java:43)
	at $ComponentRequestHandler_127b5641f73.handleComponentEvent($ComponentRequestHandler_127b5641f73.java)
	at org.apache.tapestry5.internal.services.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:46)
	at $Dispatcher_127b5641f79.dispatch($Dispatcher_127b5641f79.java)
	at $Dispatcher_127b5641f70.dispatch($Dispatcher_127b5641f70.java)
	at org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:245)
	at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
	at $RequestHandler_127b5641f71.service($RequestHandler_127b5641f71.java)
	at org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:781)
	at $RequestHandler_127b5641f71.service($RequestHandler_127b5641f71.java)
	at org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:770)
	at $RequestHandler_127b5641f71.service($RequestHandler_127b5641f71.java)
	at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:85)
	at $RequestHandler_127b5641f71.service($RequestHandler_127b5641f71.java)
	at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90)
	at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:80)
	at org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85)
	at org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:103)
	at $RequestHandler_127b5641f71.service($RequestHandler_127b5641f71.java)
	at $RequestHandler_127b5641f67.service($RequestHandler_127b5641f67.java)
	at org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:197)
	at org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
	at $HttpServletRequestHandler_127b5641f69.service($HttpServletRequestHandler_127b5641f69.java)
	at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
	at $HttpServletRequestFilter_127b5641f66.service($HttpServletRequestFilter_127b5641f66.java)
	at $HttpServletRequestHandler_127b5641f69.service($HttpServletRequestHandler_127b5641f69.java)
	at org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:729)
	at $HttpServletRequestHandler_127b5641f69.service($HttpServletRequestHandler_127b5641f69.java)
	at $HttpServletRequestHandler_127b5641f64.service($HttpServletRequestHandler_127b5641f64.java)
	at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:127)
	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
	at org.mortbay.http.HttpServer.service(HttpServer.java:909)
	at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: Error persisting field
PersistEntity:user: Failed persisting an entity in the session. Only entities attached to
a Hibernate Session can be persisted. entity: org.example.app0.entities.User@1256a73
	at org.apache.tapestry5.internal.structure.InternalComponentResourcesImpl.persistFieldChange(InternalComponentResourcesImpl.java:289)
	at org.example.app0.pages.PersistEntity._$write_user(PersistEntity.java)
	at org.example.app0.pages.PersistEntity.onSetToTransient(PersistEntity.java:61)
	at org.example.app0.pages.PersistEntity.dispatchComponentEvent(PersistEntity.java)
	at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.dispatchEvent(ComponentPageElementImpl.java:902)
	at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1081)
	... 51 more
Caused by: java.lang.IllegalArgumentException: Failed persisting an entity in the session.
Only entities attached to a Hibernate Session can be persisted. entity: org.example.app0.entities.User@1256a73
	at org.apache.tapestry5.internal.hibernate.EntityPersistentFieldStrategy.convertApplicationValueToPersisted(EntityPersistentFieldStrategy.java:52)
	at org.apache.tapestry5.internal.services.AbstractSessionPersistentFieldStrategy.postChange(AbstractSessionPersistentFieldStrategy.java:113)
	at org.apache.tapestry5.internal.services.PersistentFieldManagerImpl.postChange(PersistentFieldManagerImpl.java:82)
	at $PersistentFieldManager_127b5641f98.postChange($PersistentFieldManager_127b5641f98.java)
	at org.apache.tapestry5.internal.structure.PageImpl.persistFieldChange(PageImpl.java:160)
	at org.apache.tapestry5.internal.structure.InternalComponentResourcesImpl.persistFieldChange(InternalComponentResourcesImpl.java:285)
	... 56 more
Caused by: org.hibernate.TransientObjectException: object references an unsaved transient
instance - save the transient instance before flushing: org.example.app0.entities.User
	at org.hibernate.impl.SessionImpl.throwTransientObjectException(SessionImpl.java:1784)
	at org.hibernate.impl.SessionImpl.getEntityName(SessionImpl.java:1778)
	at $Session_127b5641feb.getEntityName($Session_127b5641feb.java)
	at $Session_127b5641f4a.getEntityName($Session_127b5641f4a.java)
	at org.apache.tapestry5.internal.hibernate.EntityPersistentFieldStrategy.convertApplicationValueToPersisted(EntityPersistentFieldStrategy.java:45)
	... 61 more
127.0.0.1 - - [31/Mar/2010:18:03:22 +0000] "GET /persistentity:settotransient HTTP/1.1" 500
4279 "http://localhost:9999/persistentity" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.17)
Gecko/2010010605 Ubuntu/8.10 (intrepid) Firefox/3.0.17" -
127.0.0.1 - - [31/Mar/2010:18:03:22 +0000] "GET /assets/tapestry/5.1.0.8-SNAPSHOT/corelib/components/exceptiondisplay.js
HTTP/1.1" 200 564 "http://localhost:9999/persistentity:settotransient" "Mozilla/5.0 (X11;
U; Linux x86_64; en-US; rv:1.9.0.17) Gecko/2010010605 Ubuntu/8.10 (intrepid) Firefox/3.0.17"
-
[INFO] SeleniumDriverResourceHandler Got result: OK on session e0c3965fb2424dde90ecf11841b47492
[INFO] SeleniumDriverResourceHandler Command request: isTextPresent[Error persisting, ] on
session e0c3965fb2424dde90ecf11841b47492
[INFO] SeleniumDriverResourceHandler Got result: OK,true on session e0c3965fb2424dde90ecf11841b47492
[INFO] SeleniumDriverResourceHandler Command request: testComplete[, ] on session e0c3965fb2424dde90ecf11841b47492
[INFO] FirefoxChromeLauncher Killing Firefox...
[INFO] SeleniumDriverResourceHandler Got result: OK on session e0c3965fb2424dde90ecf11841b47492
[INFO] ThreadedServer Stopping Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=4444]
[INFO] SocketListener Stopped SocketListener on 0.0.0.0:4444
[INFO] Container Stopped HttpContext[/selenium-server/driver,/selenium-server/driver]
[INFO] Container Stopped HttpContext[/selenium-server,/selenium-server]
[INFO] Container Stopped HttpContext[/,/]
[INFO] Container Stopped org.openqa.jetty.jetty.servlet.ServletHandler@e8f8c5
[INFO] Container Stopped HttpContext[/wd,/wd]
[INFO] Container Stopped org.openqa.jetty.jetty.Server@1b06a21
Stopping Jetty instance on port 9999
[INFO] ThreadedServer Stopping Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=9999]
[INFO] SocketListener Stopped SocketListener on 0.0.0.0:9999
[INFO] SessionFactoryImpl closing
[INFO] DriverManagerConnectionProvider cleaning up connection pool: jdbc:hsqldb:mem:test
[INFO] Container Stopped org.mortbay.jetty.servlet.WebApplicationHandler@2006a0
[INFO] DriverManagerConnectionProvider cleaning up connection pool: jdbc:hsqldb:mem:test
[INFO] Container Stopped WebApplicationContext[/,Tapestry-Hibernate Integration Test Application]
[INFO] Container Stopped org.mortbay.jetty.Server@14e113b
Jetty instance has stopped.
Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 14.722 sec <<< FAILURE!

Results :

Failed tests: 
  valueencode_all_entity_types(org.apache.tapestry5.hibernate.integration.TapestryHibernateIntegrationTests)

Tests run: 9, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to <http://hudson.zones.apache.org/hudson/job/tapestry-5.1-freestyle/ws/5.1.0.x-dev/tapestry-hibernate/target/surefire-reports>
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 minutes 33 seconds
[INFO] Finished at: Wed Mar 31 18:03:24 UTC 2010
[INFO] Final Memory: 103M/165M
[INFO] ------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message