tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Lewis <jbryanle...@gmail.com>
Subject Re: org.apache.tapestry5.runtime.ComponentEventException
Date Tue, 01 Mar 2011 12:30:36 GMT
The stack trace says you have an NPE in your onSuccess method, at
SelectPlayers.java:246.  The ComponentEventException has little to do with
it... it's only saying the exception occurred during the 'success' event.


On Tue, Mar 1, 2011 at 7:18 AM, robnangle <robnangle@gmail.com> wrote:

> I have seen a couple thru the forum but I dont think they apply to the
> error
> im getting.
>
> org.apache.tapestry5.runtime.ComponentEventException
> context
> eventType:
> action
> location:
> context:SelectPlayers.tml, line 10
> 5           <body>
> 6               <h1>Select Player</h1>
> 7
> 8
> 9
> 10              <t:form t:id="user_team">
> 11                      <input align="center" t:type="TextField"
> t:id="team_name"
> size="25" value="team_name" />
> 12
> 13                  <t:select t:id="goalkeeper" model="goalkeepers"
> value="keeper"/><br/><br/>
> 14
> 15                  <t:select t:id="fullBack1" model="fullBack"
> value="fullBack1"/>
> org.apache.tapestry5.runtime.ComponentEventException
> context
> eventType:
> success
> location:
> context:SelectPlayers.tml, line 10
> java.lang.NullPointerException
> Hide uninteresting stack frames Stack trace
> FantasyGaa.pages.SelectPlayers.onSuccess(SelectPlayers.java:246)
> FantasyGaa.pages.SelectPlayers.dispatchComponentEvent(SelectPlayers.java)
>
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.dispatchEvent(ComponentPageElementImpl.java:902)
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message