[seam-issues] [JBoss JIRA] Created: (SEAM-93) Seam3 Booking example NPE in bookHotel on AS7

Marek Schmidt (JIRA) jira-events at lists.jboss.org
Mon Jun 13 07:38:23 EDT 2011


Seam3 Booking example NPE in bookHotel on AS7
---------------------------------------------

                 Key: SEAM-93
                 URL: https://issues.jboss.org/browse/SEAM-93
             Project: Seam 3 Distribution
          Issue Type: Bug
    Affects Versions: 3.0.0.Final
         Environment: jboss-7.0.0.Beta4-SNAPSHOT, build #1194, standalone
            Reporter: Marek Schmidt
            Assignee: Marek Schmidt
             Fix For: Future


Clicking "Book Hotel" on a Hotel Details page leads to javax.ejb.EJBTransactionRolledbackException

{quote}
...
#{bookingAgent.bookHotel}: javax.ejb.EJBTransactionRolledbackException: javax.faces.FacesException: #{bookingAgent.bookHotel}: javax.ejb.EJBTransactionRolledbackException
...
Caused by: java.lang.NullPointerException
        at org.jboss.seam.examples.booking.booking.BookingAgent.bookHotel(BookingAgent.java:108) [classes:]
...
{quote}

Seems like bookHotel not run in the same conversation scope for some reason (pretty faces issue, maybe?)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list