File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
lei zhang
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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�
致命错误:�无法编译样式表�
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic