Hi,

 

Which version of JVM are you using?

 

Are you able to compile the CRM app with production-mode set to false and run it with production-mode set to true?

 

Thanks

Kumaran

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Douglas McCarroll
Sent: Tuesday, October 10, 2006 8:27 PM
To: flexcoders post
Subject: [flexcoders] 2 FDS Samples break when production-mode is set to true

 

Hi All,

I'm running into a problem with running the CRM sample and the FlexCab
Dispatcher sample with production-mode set to true.

I'm running FDS on Tomcat on Windows 2000 Server.

All sample apps work fine if I set production-mode=false.

When I set it to true and try to run CRM I get this message:

Compilation Results

Errors, warnings or exceptions were found while compiling
/dataservice/crm/companyapp.mxml. Visit the online Flex documentation or API
reference for further information.

1 Exception found.

Exception java.lang.NullPointerException

Output from flex.log is below...

The FlexCab Dispatcher sample starts to run, then gets stuck. No error message,
just freezes.

Any thoughts?

Douglas

Output in flex.log after running CRM:

10/10 20:08:48 ERROR Exception(s) generated while compiling C:\Program
Files\Apache Software Foundation\Tomcat
5.5\webapps\samples\dataservice\crm\companyapp.mxml
java.lang.NullPointerException
at flex2.compiler.API.checkDeep(API.java:826)
at flex2.compiler.API.checkDeep(API.java:836)
at flex2.compiler.API.nextSource(API.java:457)
at flex2.compiler.API.batch2(API.java:263)
at flex2.compiler.API.batch(API.java:901)
at flex2.compiler.API.compile(API.java:1110)
at flex2.compiler.API.compile(API.java:1022)
at
flex2.server.j2ee.IncrementalCompileFilter.fullCompile(IncrementalCompileFilter.java:201)
at
flex2.server.j2ee.IncrementalCompileFilter.compileMxml(IncrementalCompileFilter.java:113)
at flex2.server.j2ee.BaseCompileFilter.mxmlToSwf(BaseCompileFilter.java:286)
at flex2.server.j2ee.BaseCompileFilter.invoke(BaseCompileFilter.java:72)
at flex2.server.j2ee.RecompileFilter.invoke(RecompileFilter.java:38)
at flex2.server.j2ee.AboutFilter.invoke(AboutFilter.java:48)
at flex2.server.j2ee.MxmlServlet.doGet(MxmlServlet.java:159)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at flex.bootstrap.BootstrapServlet.service(BootstrapServlet.java:85)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
at java.lang.Thread.run(Unknown Source)

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to