Ah. heh. yeah thats a misprint, isnt it. Thanks

----- Original Message -----
From: "Andrea Aime" <[EMAIL PROTECTED]>
To: "Gavin King" <[EMAIL PROTECTED]>
Sent: Sunday, October 20, 2002 1:57 AM
Subject: Re: Jmx error in 1.1.5


> Because the line should be:
>
> this.mapResources = mappingResources.trim();
>
> mapResources has not been initialized so it's null and we are
> calling a trim on it... and we are discarding the mappingResources
> parameter...
> Andrea
>
> > Yick! Sorry, I actually wasn't fully aware of this bug.....
> >
> > Are you suggesting the problem is here:
> >
> >
> > public void setMapResources(String mappingResources) {
> >
> > this.mapResources = mapResources.trim();
> >
> > }
> >
> >
> >
> > if so, why exactly is setMapResources() being called with a null
argument.
> > I'm confused....
> >
> >
> > ----- Original Message -----
> > From: "Andrea Aime" <[EMAIL PROTECTED]>
> > To: "Gavin King" <[EMAIL PROTECTED]>
> > Sent: Sunday, October 20, 2002 1:43 AM
> > Subject: Jmx error in 1.1.5
> >
> > > Hi Gavin,
> > > the error in cirrus/hibernate/jmx/HibernateService.java
> >
> > (setMapResources.java)
> >
> > > that prevents the use of Hibernate as a jmx service is still there in
> >
> > 1.1.5,
> >
> > > thought it was corrected in cvs some time ago... this is particularly
> > > frustrating since someone trying to deploy hibernate as a service will
> >
> > only
> >
> > > see a nullPointerException again and again (and wondering what he did
> > > wrong...). Hope you can fix it and put out a 1.1.5b...
> > > Best regards
> > > Andrea Aime



-------------------------------------------------------
This sf.net email is sponsored by:
Access Your PC Securely with GoToMyPC. Try Free Now
https://www.gotomypc.com/s/OSND/DD
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to