my dog learned polymorphism*
The moose likes Tomcat and the fly likes what is the exception?the CSS file not load?why Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "what is the exception?the CSS file not load?why" Watch "what is the exception?the CSS file not load?why" New topic
Author

what is the exception?the CSS file not load?why

lei zhang
Greenhorn

Joined: Sep 15, 2004
Posts: 14
java.lang.NullPointerException
at gnu.xml.aelfred2.SAXDriver.getLineNumber(SAXDriver.java:1165)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Parser.parseTopLevel
(Parser.java:1077)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Parser.parsePattern(
Parser.java:1067)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Template.parseConten
ts(Template.java:213)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.parseOwnC
hildren(Stylesheet.java:590)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.parseCont
ents(Stylesheet.java:562)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Parser.createAST(Par
ser.java:380)
at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.
java:325)
at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.
java:410)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.n
ewTemplates(TransformerFactoryImpl.java:791)
at net.sf.hibernate.xml.XMLDatabinder.getOutputStyleSheetTemplates(XMLDa
tabinder.java:254)
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.ja
va:161)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.
java:750)
at com.beelink.dbModules.HibernateDAO.<init>(HibernateDAO.java:79)
at com.beelink.actions.InitDBListener.contextInitialized(InitDBListener.
java:38)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3763)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
211)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
9)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:904)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:867)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
50)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
错误:�null�
致命错误:�无法编译样式表�


people laugh and people cry.some give up some always try.some say hi while some say bye.others may forget you but never i!!
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

You have a Null Pointer Exception in one of your XML parsers.
From the stack trace, it looks like it involves parsing one of your Hibernate config files.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is the exception?the CSS file not load?why
 
Similar Threads
Error while deploying struts application
In My application i m getting error in tomcat server
Please help correct error in localost_log
IOException while loading persisted sessions
Tomcat Throws Exception when I test Struts