Hibero throws Exceptions when using HQL Scratch Pad

Hola!

Everytime I try to use the HQL Scratch Pad, Hibero dumps the following:
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource ; nested exception is javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryLocator could not be instantiated: java.lang.NullPointerException
Caused by:
javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryLocator could not be instantiated: java.lang.NullPointerException

I'm running Hibernate 2.0.1 with IDEA 6.0.2 and JDK 1.5.0_08. The HQL Scratch Pad worked in 2.0.0, I'm sure about that. Hibernate is obviously configured through Spring.

Any pointer?

Cheers, Mathias

Message was edited by:
Mathias Meyer

2 comments
Comment actions Permalink

This is caused by some other plugin setting the property "javax.xml.parsers.DocumentBuilderFactory". Do you have IdeaSpring installed?

In any case, this has been fixed (http://www.jetbrains.net/jira/browse/HBR-41) in Hibero 2.0.2 which has just been released a few minutes ago.

Please update to Hibero 2.0.2 available at http://www.betosoftware.com/hibero/download.html or from IDEA Plugin Manager.

Thanks,
--
-The Hibero Team

0
Comment actions Permalink

Works perfectly! Thank you. And yes, I am using IdeaSpring.

Cheers, Mathias

0

Please sign in to leave a comment.