From: Kal A. <ka...@te...> - 2004-08-29 18:27:56
|
Hi Mathias, I tracked down the error in the TM4Web/Velocity source. I've checked a fix for this into CVS - so it will be part of the 0.2 release. If you are happy to grab the file from CVS and build it yourself thats cool. If you would like a compiled version of the JAR file, email me privately and I'll send it to you. Cheers and thanks for the bug report! Kal On Sun, 2004-08-29 at 18:02, Mathias Reinhardt wrote: > Hi Kal, > > ok, I can list maps the hibernate backend now. But I get an error as > soon as I try to load a map. > Failed to load topic map. Cause: Storage exception.. Cause: > java.lang.NullPointerException > at org.tm4j.topicmap.hibernate.TopicMapProviderImpl.findTopicMap(Unknown > Source) > > TM4Web is 0.2rc1 Servlet Container is Tomcat 5.0.16. I used the > hibernate jar's from tm4j-0.9.6 > with mySQL. > > The config uses > <topicmap name="tmworld.xtm" uri="http://****/tmworld.xtm" > template="topicmap.vm"> > <title>test2</title> > </topicmap> > > Please find the complete log file attached. > Accessing the same topic map from TM4J in plain java is no problem. > > Thanks > mathias |