[hibernate-dev] did hibernate.org crash?

Steve Ebersole steve at hibernate.org
Wed Nov 19 14:43:38 EST 2014


Ah, there is a difference in how core and hem are loading these.  This is
likely a bug, could you open a Jira?

On Wed, Nov 19, 2014 at 12:15 PM, Scott Marlow <smarlow at redhat.com> wrote:

> http://pastebin.com/Baz7FRyf is an initial call stack into
> org.hibernate.service.internal.JaxbProcessor.  I'm debugging on the
> Hibernate 4.3 branch and don't hit any break points in org.hibernate.cfg.Configuration#entityResolver.
> Perhaps I ended up in the wrong class, not sure.  I also set break points
> in org.hibernate.internal.util.xml.DTDEntityResolver (don't see
> org.hibernate.internal.util.__xml.DTDEntityResolver).
>
> The first exception that I see is http://pastebin.com/CYd0aNzE
>
> On 11/19/2014 11:46 AM, Steve Ebersole wrote:
>
>> I should have been more complete :)
>>
>> You can either set a breakpoint or crank up logging on that class.
>> Breakpoint debugging is probably better as you could see the whole call
>> stack.  These resolvers use a lot of delegation.  You could also look
>> at org.hibernate.cfg.Configuration#entityResolver to verify which
>> specific resolver is being used.
>>
>> On Wed, Nov 19, 2014 at 10:35 AM, Scott Marlow <smarlow at redhat.com
>> <mailto:smarlow at redhat.com>> wrote:
>>
>>     On 11/19/2014 11:26 AM, Steve Ebersole wrote:
>>
>>         ORM has had local resolution of these DTDs forever.  Something
>>         is amiss
>>         in your set up.  I just ran ORM tests and the DTDs are being
>>         resolved
>>         locally properly.
>>
>>
>>     Thanks for checking.
>>
>>
>>         Can you make sure control is getting through our registered
>>         EntityResolver?  Ultimately, this should be resolved
>>         by org.hibernate.internal.util.__xml.DTDEntityResolver
>>
>>
>>     I'll give this a try.
>>
>>
>>
>


More information about the hibernate-dev mailing list