我正在dwr3
使用spring mvc
. 当应用程序部署在tomcat(version 6)
. 但是在 glassfish(3.1 版)中运行相同的应用程序时出现以下错误。非常感谢任何帮助。
我得到的错误;
INFO: [ERROR] [Thread-50 05:00:02] (GrizzlyContinuationSleeper.java:wakeUp:167) Exception resuming continuation:
java.lang.NullPointerException
at org.directwebremoting.util.Continuation.resume(Continuation.java:108)
at org.directwebremoting.server.grizzly.GrizzlyContinuationSleeper.wakeUp(GrizzlyContinuationSleeper.java:157)
at org.directwebremoting.impl.OutputAlarm$AlarmScriptConduit$1.run(OutputAlarm.java:103)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
INFO: [ERROR] [Thread-50 05:00:02] (GrizzlyContinuationSleeper.java:wakeUp:167) Exception resuming continuation:
java.lang.NullPointerException
at org.directwebremoting.util.Continuation.resume(Continuation.java:108)
at org.directwebremoting.server.grizzly.GrizzlyContinuationSleeper.wakeUp(GrizzlyContinuationSleeper.java:157)
at org.directwebremoting.impl.OutputAlarm$AlarmScriptConduit$1.run(OutputAlarm.java:103)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)