From: Mike S. <ms...@po...> - 2010-04-20 02:36:35
|
log a jira please On Apr 19, 2010, at 10:22 PM, Simon wrote: > sorry, me again with another wonder bug. > > I've done no investigation into this - it's just a heads up that might save others some debugging time. > > the last line in this code... > > ReportCoverEmail cover = (ReportCoverEmail) ERMailUtils.instantiatePage(ReportCoverEmail.class.getName(), null); > cover.setReportJob(job); > String coverNote = cover.generateResponse().contentString(); > > ...throws this exception > > java.lang.NullPointerException > at er.profiling.PFProfiler.didAppendToResponse(PFProfiler.java:111) > at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:121) > at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:130) > at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:992) > at er.extensions.components.ERXComponent.appendToResponse(ERXComponent.java:107) > at com.webobjects.appserver.WOComponent._appendPageToResponse(WOComponent.java:1388) > at com.webobjects.appserver.WOComponent._generateResponseInContext(WOComponent.java:1356) > at com.webobjects.appserver.WOComponent.generateResponse(WOComponent.java:1351) > at com.clicktravel.triggers.ClickReportJobListener$ReportJobThread.run(ClickReportJobListener.java:257) > 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.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.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:637) > > > ...when you have ERProfiling switched on. Turn ERProfiling off and the code plays nicely. > > Simon > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev_______________________________________________ > Wonder-disc mailing list > Won...@li... > https://lists.sourceforge.net/lists/listinfo/wonder-disc |