Hi David,
small question, do you happen to have a property with a setter and no
getter in your bean?
On 18 Dec 2006, at 17:32, David HM Spector wrote:
Hi Geert,
So far no luck, I've tried:
rife-1.6-snapshot-formgeneration-jdk15.jar
rife-1.6-snapshot-jdk15-20061216.jar
Same result.
David
On Dec 18, 2006, at 2:29 AM, Geert Bevin wrote:
Hi David,
I think this is a bug that has been solved in the current
repository. Could you try with a recent RIFE snapshot?
http://rifers.org/downloads/rife/snapshots/
Best regards,
Geert
On 18 Dec 2006, at 06:55, David HM Spector wrote:
I running into a problem as I am changing my forms and meta
data... I run into a null pointer exception during the
rendering of this particular form, but Rife doesn't really give
me any clue as to where... (see stack trace below):
I am guessing its something I changed in the form (given when I
step through the code, I die in the middle of template print
method for the element. However, given that the secondary error
seems to be a null pointer while Rife seems to be looking at the
metadata for the Account class I am not sure.
Is there a way to get Rife's error messages to be more granular?
If it is an error in the form, there's no way I see to easily
discern what piece it's blowing up on..
David
com.uwyn.rife.engine.exceptions.SubmissionBeanFormGenerationErrorExc
eption
An error occurred while generating the form for the bean with
class 'com.zeitgeist.nela.model.Account' of submission
'registration' in element 'manual:REGISTRATION' couldn't be found.
at com.uwyn.rife.engine.ElementContext
processTemplate
( ElementContext.java : 1525 )
at com.uwyn.rife.engine.ElementContext
print
( ElementContext.java : 1193 )
at com.uwyn.rife.engine.ElementSupport
print
( ElementSupport.java : 1158 )
at com.zeitgeist.nela.implementations.Registration
processElement
( Registration.java : 47 )
at com.uwyn.rife.engine.ElementContext
processContext
( ElementContext.java : 443 )
at com.uwyn.rife.engine.RequestState
service
( RequestState.java : 342 )
at com.uwyn.rife.engine.Gate
handleRequest
( Gate.java : 421 )
at sun.reflect.NativeMethodAccessorImpl
invoke0
( NativeMethodAccessorImpl.java )
at sun.reflect.NativeMethodAccessorImpl
invoke
( NativeMethodAccessorImpl.java : 39 )
at sun.reflect.DelegatingMethodAccessorImpl
invoke
( DelegatingMethodAccessorImpl.java : 25 )
at java.lang.reflect.Method
invoke
( Method.java : 585 )
at com.uwyn.rife.servlet.RifeFilter
doFilter
( RifeFilter.java : 142 )
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain
doFilter
( WebApplicationHandler.java : 823 )
at org.mortbay.jetty.servlet.WebApplicationHandler
dispatch
( WebApplicationHandler.java : 473 )
at org.mortbay.jetty.servlet.ServletHandler
handle
( ServletHandler.java : 567 )
at org.mortbay.http.HttpContext
handle
( HttpContext.java : 1565 )
at org.mortbay.jetty.servlet.WebApplicationContext
handle
( WebApplicationContext.java : 635 )
8 more ...
java.lang.NullPointerException
<no message>
at com.uwyn.rife.tools.BeanUtils
getPropertyValue
( BeanUtils.java : 285 )
at com.uwyn.rife.site.ValidationRuleLimitedLength
validate
( ValidationRuleLimitedLength.java : 35 )
at com.uwyn.rife.site.Validation
validateSubjects
( Validation.java : 470 )
at com.uwyn.rife.site.Validation
validate
( Validation.java : 482 )
at com.uwyn.rife.site.MetaData
validate
( MetaData.java : 114 )
at com.zeitgeist.nela.model.Account
validate
( Account.java )
at com.uwyn.rife.site.FormBuilderXhtml
generateForm
( FormBuilderXhtml.java : 125 )
at com.uwyn.rife.site.FormBuilderXhtml
generateForm
( FormBuilderXhtml.java : 52 )
at com.uwyn.rife.engine.ElementContext
processTemplate
( ElementContext.java : 1521 )
at com.uwyn.rife.engine.ElementContext
print
( ElementContext.java : 1193 )
at com.uwyn.rife.engine.ElementSupport
print
( ElementSupport.java : 1158 )
at com.zeitgeist.nela.implementations.Registration
processElement
( Registration.java : 47 )
at com.uwyn.rife.engine.ElementContext
processContext
( ElementContext.java : 443 )
at com.uwyn.rife.engine.RequestState
service
( RequestState.java : 342 )
at com.uwyn.rife.engine.Gate
handleRequest
( Gate.java : 421 )
at sun.reflect.NativeMethodAccessorImpl
invoke0
( NativeMethodAccessorImpl.java )
at sun.reflect.NativeMethodAccessorImpl
invoke
( NativeMethodAccessorImpl.java : 39 )
16 more ...
--------------------------------------------------------------------
-----------------------
David HM Spector
spector (at) zeitgeist.com
http://www.zeitgeist.com/
~ ~ ~
"New and stirring things are belittled because if they are not
belittled, the
humiliating question arises, 'Why then are you not taking part in
them?'"
--H. G. Wells
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
----------------------------------------------------------------------
---------------------
David HM Spector
spector (at) zeitgeist.com
http://www.zeitgeist.com/
voice: +1 631.261.5013
fax: +1 212.656.1443
~ ~ ~
"New and stirring things are belittled because if they are not
belittled, the
humiliating question arises, 'Why then are you not taking part in
them?'"
--H. G. Wells
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users