Thanks for the suggestion Craig...

...And yes, we're running 1.3.1_01. Maybe this explains some of the
introspection problems we've been having in general (We've had to generate
BeanInfo classes in some cases because some Struts tags were unable to read
existing object attributes... This has seemed fairly
random/intermittent/platform dependent, and the JDK version might explain
some of this. Our test/production servers might be running a different
version of the JDK).

Cheers...

Dave

-----Original Message-----
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 4:13 PM
To: Struts Users Mailing List
Subject: Re: Mysterious PropertyUtils problem...




On Thu, 21 Nov 2002, Davide Bruzzone wrote:

> Date: Thu, 21 Nov 2002 15:39:27 -0700
> From: Davide Bruzzone <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: Mysterious PropertyUtils problem...
>
> Greetings all...
>
> Has anyone ever seen something like this happen?
>
>       java.lang.NullPointerException
>       at java.beans.Introspector.addMethod(Introspector.java:741)
>       at
> java.beans.Introspector.getTargetMethodInfo(Introspector.java:705)
>       at java.beans.Introspector.getBeanInfo(Introspector.java:298)
>       at java.beans.Introspector.getBeanInfo(Introspector.java:81)
>       at
>
org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptors(PropertyUt
> ils.java:925)

Sounds like a bug in the JDK's introspection class.  I've heard that 1.3.1
has some problems in this area -- is that what you're using?  If it is a
JDK bug, then the only suggestion would be to update (I'm pretty happy
with 1.4.1's improvements in speed and reduced GC overhead).

Craig


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to