• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • kkannaiy
  • Reporter: teck
  • July 30, 2009
  • 0
  • Watchers: 0
  • February 12, 2013
  • July 30, 2009

Description

org.hibernate.cache.CacheException: javax.xml.xpath.XPathExpressionException at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.getTcConfig(XMLConfigurationProvider.java:160) at org.terracotta.modules.hibernatecache.config.XMLConfigurationTest.testNonExistentConfigurationFile(XMLConfigurationTest.java:253) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 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 junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: javax.xml.xpath.XPathExpressionException at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(XPathImpl.java:289) at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.getTcConfig(XMLConfigurationProvider.java:144) … 19 more Caused by: javax.xml.transform.TransformerException: Unknown error in XPath. at com.sun.org.apache.xpath.internal.XPath.execute(XPath.java:296) at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.eval(XPathImpl.java:213) at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(XPathImpl.java:275) … 20 more Caused by: java.lang.NullPointerException at com.sun.org.apache.xpath.internal.axes.AxesWalker.setRoot(AxesWalker.java:218) at com.sun.org.apache.xpath.internal.axes.WalkingIterator.setRoot(WalkingIterator.java:153) at com.sun.org.apache.xpath.internal.axes.NodeSequence.setRoot(NodeSequence.java:212) at com.sun.org.apache.xpath.internal.axes.LocPathIterator.execute(LocPathIterator.java:211) at com.sun.org.apache.xpath.internal.XPath.execute(XPath.java:268) … 22 more

Comments

Kalai Kannaiyan 2009-08-13

Verified with 3.1.0-nightly rev13403, standalone h2lc is working fine as expected when no tc-hibernate-cache.xml