liseryang / freecms

Automatically exported from code.google.com/p/freecms
1 stars 1 forks source link

登录报错!NullPointerException! #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1 Tomcat启动时候,任务定时器貌似没有启动成功
   信息: Scheduler meta-data: Quartz Scheduler (v1.8.6) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

2013-2-28 16:19:05 org.quartz.impl.StdSchedulerFactory instantiate
信息: Quartz scheduler 'DefaultQuartzScheduler' initialized from default 
resource file in Quartz package: 'quartz.properties'

2 登录的时候报NullPointerException

  严重: Servlet /freecms threw load() exception
java.lang.NullPointerException
    at cn.freeteam.cms.service.HtmlquartzService.findAll(HtmlquartzService.java:134)
    at cn.freeteam.cms.util.QuartzInitializer.init(QuartzInitializer.java:54)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)

望解决,谢谢!

Original issue reported on code.google.com by xdj65189...@gmail.com on 28 Feb 2013 at 8:25

GoogleCodeExporter commented 9 years ago
您好,请检查数据库连接是否正确

Original comment by chinafreeteam on 5 Mar 2013 at 7:44