Voting: 
Vote up!
4 Votes
4 Replies
Answered

Segment in Visualizer

Question asked by connollyd on Jan 27, 2014 13:05 EST

Hi, I designed an app in Visualizer with 3 forms. And in second form I have used Segment. I exported the project to Kony Stusio and the import was successful. When  trying to build the app, I got the below error Failed to generate xml for skin: sliPhoneSegmentHeader [01-27-2014 01:00:15]java.lang.ArrayIndexOutOfBoundsException: 2 at com.pat.tool.keditor.utils.KUtils.getGenericSkinXML(KUtils.java:3018) at com.pat.tool.keditor.utils.KUtils.getSkinXML(KUtils.java:1361) at com.pat.tool.keditor.tasks.TConsTC.generateSkinModel(TConsTC.java:2352) at com.pat.tool.keditor.tasks.TConsTC.execute(TConsTC.java:1121) at com.pat.tool.keditor.tasks.Task.executeWithStatus(Task.java:220) at com.pat.tool.keditor.actions.ResourceActionHelper$6.run(ResourceActionHelper.java:3617) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) [01-27-2014 01:00:15]Generation of XML files is failed. See Console [01-27-2014 01:00:15]Build Generation failed [01-27-2014 01:00:15]Error [01-27-2014 01:00:15]Generation of XML files failed. Possible Cause:2   Need help in resolving this.

Kony Answered Certificate
Vote up!
3 votes
Vote down!

I had the same error and I just deleted the sliPhoneSegmentHeader from the project in Studio. It wasn't in use anywhere and after deleting it my app built fine.

Open your SkinBrowser, Expand Segmen2 section and delete the one named "sliPhoneSegmentHeader"

Read more: http://community.kony.com/developer/forum/segment-visualizer#ixzz2rd8mZsS4

Answered by: Jan 27, 2014 14:49 EST
Vote up!
0 votes
Vote down!

Double Post

Replied by: Jan 27, 2014 14:54 EST
Vote up!
0 votes
Vote down!

This worked perfectly. But is this a bug in export process or where does this fit?

Replied by: Jan 28, 2014 09:18 EST
Vote up!
0 votes
Vote down!

This is a bug in the export process and will be resolved in a future release.

Replied by: Feb 04, 2014 15:17 EST