I know some things in that area changed. I need to see more of
your .tml and code.
On Sep 13, 2008, at 1:28 AM, Martijn Brinkers wrote:
Hi,
I get the following NPE when I post a page containing a grid. This
worked with 5.0.14 but now I have updated to 5.0.15 I get this
exception
when I post the page.
Any idea?
Thanks,
Martijn
An unexpected application exception has occurred.
* org.apache.tapestry5.runtime.ComponentEventException
Failure reading parameter 'source' of component
user/
Encryption:encryptioncertificates.certificategrid.grid.columns.loop:
org.apache.tapestry5.ioc.internal.util.TapestryException
context
eventType
action
location
classpath:mitm/mimesecure/web/components/
EncryptionCertificates.tml, line 8, column 37
3
<t:container
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd
">
4
<div id="filterTile">
5
<t:CertificateFilter t:id =
"certificateFilter" />
6
</div>
7
8
<t:form
t:id="certificateGridForm">
9
10
<t:MultiSelectCertificateGrid t:id="certificateGrid"/>
11
12
<div id="buttonTile">
13
<button
type="submit">Apply</button>
* org.apache.tapestry5.ioc.internal.util.TapestryException
Failure reading parameter 'source' of component
user/
Encryption:encryptioncertificates.certificategrid.grid.columns.loop:
org.apache.tapestry5.ioc.internal.util.TapestryException
location
classpath:org/apache/tapestry5/corelib/components/
GridColumns.tml, line 4, column 27
1
<thead
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd
" xml:space="default">
2
<tr>
3
<th t:type="Loop"
source="columnNames"
value="columnName"
volatile="true"
class="prop:headerClass"
4
index="index">
5
<t:delegate
to="blockForColumn"/>
6
<t:block
id="standardHeader">
7
<a
t:id="sort">${columnModel.label}</a>
8
<t:if
test="columnModel.sortable">
9
<a t:id="sort2">
* java.lang.NullPointerException
Stack trace
*
org
.apache
.tapestry5
.corelib.components.GridColumns.getColumnNames(GridColumns.java:226)
*
org
.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:
53)
*
org
.apache
.tapestry5
.internal
.structure
.InternalComponentResourcesImpl
.readParameter(InternalComponentResourcesImpl.java:277)
*
org
.apache
.tapestry5
.internal
.structure
.InternalComponentResourcesImpl
.readParameter(InternalComponentResourcesImpl.java:308)
* org.apache.tapestry5.corelib.components.Loop._
$read_parameter_source(Loop.java)
*
org
.apache.tapestry5.corelib.components.Loop.setupForVolatile(Loop.java:
303)
*
org.apache.tapestry5.corelib.components.Loop.access$100(Loop.java:37)
* org.apache.tapestry5.corelib.components.Loop
$2.execute(Loop.java:68)
* org.apache.tapestry5.corelib.components.Loop
$2.execute(Loop.java:72)
*
org
.apache
.tapestry5.corelib.components.Form.executeStoredActions(Form.java:447)
* org.apache.tapestry5.corelib.components.Form._
$advised$onAction(Form.java:346)
* org.apache.tapestry5.corelib.components.Form
$onAction
$invocation_11c5ac0b90c.invokeAdvisedMethod(Form
$onAction$invocation_11c5ac0b90c.java)
*
org
.apache
.tapestry5
.internal
.services
.AbstractComponentMethodInvocation
.proceed(AbstractComponentMethodInvocation.java:71)
*
org
.apache
.tapestry5
.ioc.internal.services.LoggingAdvice.advise(LoggingAdvice.java:37)
*
org.apache.tapestry5.internal.transform.LogWorker
$1.advise(LogWorker.java:54)
*
org
.apache
.tapestry5
.internal
.services
.AbstractComponentMethodInvocation
.proceed(AbstractComponentMethodInvocation.java:80)
*
org.apache.tapestry5.corelib.components.Form.onAction(Form.java)
*
org
.apache
.tapestry5.corelib.components.Form.dispatchComponentEvent(Form.java)
*
org
.apache
.tapestry5
.internal
.structure
.ComponentPageElementImpl
.dispatchEvent(ComponentPageElementImpl.java:889)
*
org
.apache
.tapestry5
.internal
.structure
.ComponentPageElementImpl
.triggerContextEvent(ComponentPageElementImpl.java:1049)
*
org
.apache
.tapestry5
.internal
.services
.ComponentEventRequestHandlerImpl
.handle(ComponentEventRequestHandlerImpl.java:67)
* mitm.mimesecure.web.services.security.HMACFilterImpl.handle
(HMACFilterImpl.java:225)
*
org
.apache
.tapestry5
.internal
.services
.ImmediateActionRenderResponseFilter
.handle(ImmediateActionRenderResponseFilter.java:42)
*
org
.apache
.tapestry5.internal.services.AjaxFilter.handle(AjaxFilter.java:42)
* org.apache.tapestry5.services.TapestryModule
$42.handle(TapestryModule.java:2055)
* mitm.mimesecure.web.services.security.CSRFFilterImpl.handle
(CSRFFilterImpl.java:113)
*
org
.apache
.tapestry5
.internal
.services
.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:131)
* org.apache.tapestry5.services.TapestryModule
$17.service(TapestryModule.java:1025)
*
org
.apache
.tapestry5
.internal
.services.LocalizationFilter.service(LocalizationFilter.java:42)
*
org
.apache
.tapestry5
.internal
.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
* org.apache.tapestry5.services.TapestryModule
$3.service(TapestryModule.java:624)
* org.apache.tapestry5.services.TapestryModule
$2.service(TapestryModule.java:614)
*
org
.apache
.tapestry5
.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:
85)
*
org.apache.tapestry5.internal.services.CheckForUpdatesFilter
$2.invoke(CheckForUpdatesFilter.java:93)
*
org.apache.tapestry5.internal.services.CheckForUpdatesFilter
$2.invoke(CheckForUpdatesFilter.java:84)
*
org
.apache
.tapestry5
.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:
83)
*
org
.apache
.tapestry5
.internal
.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:
106)
* org.apache.tapestry5.services.TapestryModule
$16.service(TapestryModule.java:1005)
*
org
.apache
.tapestry5
.upload
.internal
.services
.MultipartServletRequestFilter
.service(MultipartServletRequestFilter.java:44)
*
org
.apache
.tapestry5
.internal
.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
--
Howard Lewis Ship
Creator: Apache Tapestry and Apache HiveMind
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]