Hi,
I just start working with XCP 2.0.But when i tried to deploy the application created on XCP Designer it gives error about deployment failure. Logs are attached below;
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Concodent Insurance 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ Concodent_Insurance ---
[INFO] Deleting
\Softwares\XCP2.0\xCPDesigner_2.0\xCPDesigner\Applications\Concodent_Insurance\Concodent_Insurance\target
[INFO]
[INFO] --- xcp-validate:1.0.4:run (xcp-validate) @ Concodent_Insurance ---
[WARNING] Widget text_input: Property "Initial value" is empty.
[INFO] Finished validating project 'Concodent_Insurance' in 141ms
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @ Concodent_Insurance ---
[INFO] Source directory:
\Softwares\XCP2.0\xCPDesigner_2.0\xCPDesigner\Applications\Concodent_Insurance\Concodent_Insurance\gen\main\java added.
[INFO]
[INFO] --- xcp-generate-sources:1.0.4:run (xcp-generate-sources) @ Concodent_Insurance ---
[WARNING] Maven resolved the library [org.apache.maven.surefire:surefire-providers:2.7.1]to C:\Documents and Settings\admin\.m2\repository\org\apache\maven\surefire\surefire-providers\2.7.1\surefire-providers-2.7.1.pom
[INFO] Finished executing project generators in....62ms
[INFO] Generating Action flow config for action flow : base_folder
[ERROR] Unable to generate JavaScript method - xcp.expression.Generated.xcp_gotopage_policy_isHidden_1
null
java.lang.NullPointerException
at com.emc.xcp.uitemplate.codegen.expr.ExpressionJavascriptWriter.getFunctionNameString(ExpressionJavascriptWriter.java:149)
at com.emc.xcp.builder.expr.util.AbstractExpressionWriter.handleFunctionName(AbstractExpressionWriter.java:320)
at com.emc.xcp.builder.expr.util.AbstractExpressionWriter.handleNodes(AbstractExpressionWriter.java:155)
at com.emc.xcp.builder.expr.util.impl.ExpressionTreeWalker.walkExpressionTree(ExpressionTreeWalker.java:200)
at com.emc.xcp.builder.expr.util.impl.ExpressionTreeWalker.walkExpressionTree(ExpressionTreeWalker.java:97)
at com.emc.xcp.builder.expr.util.impl.ExpressionTreeWalker.walkExpressionTree(ExpressionTreeWalker.java:127)
at com.emc.xcp.builder.expr.util.impl.ExpressionTreeWalker.walkExpressionTree(ExpressionTreeWalker.java:97)
at com.emc.xcp.builder.expr.util.impl.ExpressionTreeWalker.walkExpressionTree(ExpressionTreeWalker.java:80)
at com.emc.xcp.builder.expr.util.impl.ExpressionTreeWalker.walkExpression(ExpressionTreeWalker.java:39)
at com.emc.xcp.uitemplate.codegen.expr.GenerateExpressionJavascript.convertToJavaScriptFunction(GenerateExpressionJavascript.java:89)
at com.emc.xcp.uitemplate.codegen.expr.GenerateExpressionJavascript.generate(GenerateExpressionJavascript.java:41)
at com.emc.xcp.spring.beans.util.ExpressionsGenerator.addExpressionFunction(ExpressionsGenerator.java:106)
at com.emc.xcp.spring.beans.util.ExpressionsGenerator.generateClientSideExpressions(ExpressionsGenerator.java:81)
at com.emc.xcp.uitemplate.packaging.WarGenerator.contributeClientSideExpressions(WarGenerator.java:528)
at com.emc.xcp.uitemplate.packaging.WarGenerator.contribute(WarGenerator.java:157)
at com.emc.xcp.uitemplate.packaging.WarGeneratorContributor.generate(WarGeneratorContributor.java:27)
at com.emc.xcp.builder.codegen.CodegenUtils.executeArtifactGenerators(CodegenUtils.java:70)
at internal.com.emc.xcp.builder.codegen.maven.GenerateSourcesXCPCommand.execute(GenerateSourcesXCPCommand.java:45)
at internal.com.emc.xcp.builder.build.maven.MavenHookManager.execute(MavenHookManager.java:32)
at internal.com.emc.xcp.builder.build.maven.MavenHookServlet.doPost(MavenHookServlet.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:317)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:322)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:939)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
[INFO] Finished executing artifact generators in....2000ms
[INFO] Finished generating code for project 'Concodent_Insurance' in 2062ms
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.765s
[INFO] Finished at: Thu Nov 06 16:21:07 IST 2014
[INFO] Final Memory: 9M/21M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.emc.xcp.builder:xcp-generate-sources:1.0.4:run (xcp-generate-sources) on project Concodent_Insurance: Xcp mojo executing command 'xcp-generate-sources' for project 'Concodent_Insurance' failed unexpectedly: Failed generating resources for project 'Concodent_Insurance' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException