That is weird... it looks to be throwing the NullPointer from within
coldfusion.util.Utils.getServletPath.... which leads me to think its a bug
in CF9.

I.e. it can't seem to work out what the servlet path is. What is the rest of
the stack trace?

Mark

How

On Fri, Feb 12, 2010 at 9:05 AM, Tom McNeer <tmcn...@gmail.com> wrote:

> Hi,
>
> I have an application which uses a Flex front end, with
> CF/Coldspring/Transfer on the backend.
>
> I'm starting to see a bunch of NullPointerExceptions when methods are
> called from the Flex app, but with no consistency as to which methods error.
>
> All of the stack traces begin with:
>
> =========================
> "Error","jrpp-7","02/09/10","19:23:25",,""
> java.lang.NullPointerException
>     at coldfusion.util.Utils.getServletPath(Utils.java:86)
>     at coldfusion.util.Utils.getServletPath(Utils.java:76)
>     at coldfusion.util.Utils.getBaseTemplatePath(Utils.java:405)
>     at
> coldfusion.runtime.TemplateProxyFactory.getTemplateFileHelper(TemplateProxyFactory.java:1514)
>     at
> coldfusion.runtime.MetadataUtils.getComponentMetadata(MetadataUtils.java:112)
>     at
> coldfusion.runtime.CfJspPage.GetComponentMetaData(CfJspPage.java:2667)
>     at
> coldfusion.runtime.TemplateProxy.getRuntimeComponentMetadata(TemplateProxy.java:1755)
>     at
> coldfusion.runtime.TemplateProxy.getRuntimeMetadata(TemplateProxy.java:1616)
>     at coldfusion.runtime.MetadataUtils.getMetaData(MetadataUtils.java:54)
>     at coldfusion.runtime.CfJspPage.GetMetaData(CfJspPage.java:2640)
>     at
> cfAbstractBaseMeta2ecfc803585718$funcCLONE.runFunction(C:\webApps\frameworks\transfer\com\object\AbstractBaseMeta.cfc:33)
>     at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
>     at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
>     at
> coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
>     at
> coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
>     at
> coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
>     at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
>     at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
>     at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:490)
>     at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336)
>     at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
>     at
> cfAbstractBaseMeta2ecfc803585718$funcCLONEARRAY.runFunction(C:\webApps\frameworks\transfer\com\object\AbstractBaseMeta.cfc:68)
> ================================
>
> This is CF9 on a Windows 2008 server, Tranfer 1.1g and Coldspring most
> recent stable.
>
> I don't know that the issue is Transfer - and I can't reproduce the errors
> when the methods are called from a .cfm page - just Flex.
>
> But because all the errors seem to occur around the AbstractBaseMeta clone
> statement, I thought I'd ask around here.
>
> --
> Thanks,
>
> Tom
>
> Tom McNeer
> MediumCool
> http://www.mediumcool.com
> 1735 Johnson Road NE
> Atlanta, GA 30306
> 404.589.0560
>
> --
> Before posting questions to the group please read:
>
> http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
>
> You received this message because you are subscribed to the Google Groups
> "transfer-dev" group.
> To post to this group, send email to transfer-dev@googlegroups.com
> To unsubscribe from this group, send email to
> transfer-dev+unsubscr...@googlegroups.com<transfer-dev%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/transfer-dev?hl=en
>



-- 
E: mark.man...@gmail.com
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

Hands-on ColdFusion ORM Training @ cf.Objective() 2010
www.ColdFusionOrmTraining.com/

-- 
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to transfer-dev@googlegroups.com
To unsubscribe from this group, send email to 
transfer-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en

Reply via email to