On Wed, Jan 21, 2015 at 3:32 PM, Thiago H de Paula Figueiredo
<thiag...@gmail.com> wrote:
> On Wed, 21 Jan 2015 12:07:10 -0200, George Christman
> <gchrist...@cardaddy.com> wrote:
>
>> I guess there is a bug in the PageRenderLinkSource component
>
>
> It's not a component: it's a service.
>
> then or
>>
>> I'm missing something because it does not seem to work. My
>> configuration is as followed, perhaps I'm missing something simple.
>>
>> My local environment uses Jetty
>>
>> In my DevelopmentModule I have the following config.
>>
>> public static void
>> contributeApplicationDefaults(MappedConfiguration<String, Object>
>> configuration) {
>>         // The factory default is true but during the early stages of
>> an application
>>         // overriding to false is a good idea. In addition, this is
>> often overridden
>>         // on the command line as -Dtapestry.production-mode=false
>>         configuration.add(SymbolConstants.PRODUCTION_MODE, "false");
>>         configuration.add(SymbolConstants.HOSTNAME, "localhost");
>>         configuration.add(SymbolConstants.HOSTPORT, "8080");
>>         configuration.add(SymbolConstants.HOSTPORT_SECURE, "8443");
>> }
>
>
> Are you sure this method was actually invoked?

Yes I'm positive, I just did a System.out from the method on startup
and I had output.
>
>>  Exception
>> ex Unable to delegate method invocation to property 'request' of
>> <Proxy for RequestGlobals(org.apache.tapestry5.services.RequestGlobals)>,
>> because the property is null.
>
>
> Full stack trace please.
ex java.lang.NullPointerException: Unable to delegate method
invocation to property 'request' of <Proxy for
RequestGlobals(org.apache.tapestry5.services.RequestGlobals)>, because
the property is null.
    at $Request_1a1d210554a2f.readProperty(Unknown Source)
    at $Request_1a1d210554a2f.isSecure(Unknown Source)
    at $Request_1a1d2105549ab.isSecure(Unknown Source)
    at 
org.apache.tapestry5.internal.services.RequestSecurityManagerImpl.checkPageSecurity(RequestSecurityManagerImpl.java:112)
    at $RequestSecurityManager_1a1d210554a28.checkPageSecurity(Unknown Source)
    at 
org.apache.tapestry5.internal.services.ComponentEventLinkEncoderImpl.createPageRenderLink(ComponentEventLinkEncoderImpl.java:111)
    at 
org.apache.tapestry5.internal.services.linktransform.LinkTransformerInterceptor.createPageRenderLink(LinkTransformerInterceptor.java:50)
    at $ComponentEventLinkEncoder_1a1d210554a0d.createPageRenderLink(Unknown
Source)
    at 
org.apache.tapestry5.internal.services.LinkSourceImpl.createPageRenderLink(LinkSourceImpl.java:119)
    at $LinkSource_1a1d210554a0a.createPageRenderLink(Unknown Source)
    at 
org.apache.tapestry5.internal.services.PageRenderLinkSourceImpl.createPageRenderLink(PageRenderLinkSourceImpl.java:46)
    at 
org.apache.tapestry5.internal.services.PageRenderLinkSourceImpl.createPageRenderLink(PageRenderLinkSourceImpl.java:41)
    at $PageRenderLinkSource_1a1d2105549ca.createPageRenderLink(Unknown Source)
    at 
org.healthresearch.etss.services.scheduler.impl.ScheduleJobsImpl$1.run(ScheduleJobsImpl.java:142)
    at 
org.apache.tapestry5.ioc.internal.services.cron.PeriodicExecutorImpl$Job.invoke(PeriodicExecutorImpl.java:225)
    at 
org.apache.tapestry5.ioc.internal.services.cron.PeriodicExecutorImpl$Job.invoke(PeriodicExecutorImpl.java:49)
    at 
org.apache.tapestry5.ioc.internal.services.ParallelExecutorImpl$1.call(ParallelExecutorImpl.java:60)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)
>
>
> --
> Thiago H. de Paula Figueiredo
> Tapestry, Java and Hibernate consultant and developer
> http://machina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>



-- 
George Christman
CEO
www.CarDaddy.com
P.O. Box 735
Johnstown, New York

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to