Voting: 
Vote up!
0 Votes
13 Replies
Unanswered

Build Failed: com.pat.tool.keditor.tasks.TVisualizerBuildResourcesCopy has failed

Question asked by Daniele Benericetti on Mar 14, 2017 12:02 EDT

Hi, I want build my App for SPA Test but i get this error: com.pat.tool.keditor.tasks.TVisualizerBuildResourcesCopy has failed I have attached mu console log Can I resolve? OS : Mac Sierra IDE: Kony Visualizer Enterprise 7_2_1 Thanks

Vote up!
0 votes
Vote down!

Hi Daniele,

 If  any of the skins name starts with "Skine",for SPA it throws the error.Please delete those skins(inside themes folder) and build the app.

Hope this will resolve your isssue.

 

Thanks,

Amitabh

Replied by: Mar 14, 2017 12:22 EDT
Vote up!
0 votes
Vote down!

Hi Amitabh,

in the themes folder I modified this file: from flxImageProductContSkin.json to flxImageProductContSn.json

It's the only file that contains Skin (like "Skine")

but i get always same error

Thanks

Replied by: Mar 14, 2017 12:40 EDT
Vote up!
0 votes
Vote down!

Hi Daniele,

  Please export the theme of the current project and import the same for another sample project.

If the 2nd project is throwing the same error while building for SPA,there must be issue with the theme.

Please check once.

Replied by: Mar 14, 2017 13:01 EDT
Vote up!
0 votes
Vote down!

You may have to delete the skin instead of renaming it.

Replied by: Mar 14, 2017 13:35 EDT
Vote up!
0 votes
Vote down!

Hi Amitabh,

I tried to delete the files but build failed yet

I don't know which file is causing the issue.

Is there possibility to find this file?

Thnaks

Daniele

 

Replied by: Mar 15, 2017 05:32 EDT
Vote up!
0 votes
Vote down!

Hi Daniele,

One of the reason for the error <<com.pat.tool.keditor.tasks.TVisualizerBuildResourcesCopy has failed>> is due to the decimal value observed for font size under skins tab.

To get more clarity of the error, please check below details if it helps.

1) Once build is failed with error com.pat.tool.keditor.tasks.TVisualizerBuildResourcesCopy has failed in the console, go to menu ---> Windows ---> Show View ---> Error Log.

3) In the error screen, double click on the error to open "Event Details" page of this error. Scroll the log to see the exact error.

In case you still the issue, provide us with the error log as mentioned above or provide us with the appliction to debug further.

Thanks,
Madhuri C.
Customer Success Engineering.

Replied by: Mar 22, 2017 08:36 EDT
Gold
Vote up!
0 votes
Vote down!

Hi

I follow the Step but I don't understand the error

This is the log:

com.kony.tool.exception.CodeGenerationException:  Unable to generate code for the categoryType 76
 Category:SPAAdvCSSGeneration
    at com.kony.tool.CGE.generate(CGE.java:239)
    at com.pat.tool.keditor.tasks.TVisualizerBuildResourcesCopy.generateCSSForSPA(TVisualizerBuildResourcesCopy.java:793)
    at com.pat.tool.keditor.tasks.TVisualizerBuildResourcesCopy.execute(TVisualizerBuildResourcesCopy.java:485)
    at com.pat.tool.keditor.tasks.Task.executeWithStatus(Task.java:252)
    at com.kony.studio.build.packager.KonyBuildManager$4.run(KonyBuildManager.java:4849)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: com.kony.tool.exception.CodeGenerationException: Error While Generating CSS Files for SPA Platforms
    at com.kony.tool.widget.spacss.SPAAdvCSSAppSkinHandler.renderWidget(SPAAdvCSSAppSkinHandler.java:380)
    at com.kony.tool.codewriter.TPSPAAdvCSSCodeWriter.renderApplicationSkins(TPSPAAdvCSSCodeWriter.java:860)
    at com.kony.tool.codewriter.TPSPAAdvCSSCodeWriter.generateIPhoneCSS(TPSPAAdvCSSCodeWriter.java:192)
    at com.kony.tool.codewriter.TPSPAAdvCSSCodeWriter.generateCode(TPSPAAdvCSSCodeWriter.java:92)
    at com.kony.tool.CGE.generate(CGE.java:235)
    ... 5 more

What is the file which is causing the issues? thk

Daniele

Replied by: Mar 27, 2017 11:42 EDT
Vote up!
0 votes
Vote down!

Hi Daniele,

Apologies for the inconvenience.

In my case, during same error(com.pat.tool.keditor.tasks.TVisualizerBuildResourcesCopy has failed), it clearly shown error details.

We are not sure of the exact reason right now. To investigate further, kindly provide us with your application so that we can debug at our end to find the root cause of the issue.

Thanks,
Madhuri C.
Customer Success Engineering.

Replied by: Apr 04, 2017 02:27 EDT
Gold
Vote up!
0 votes
Vote down!

Hi Madhuri,

I'm busy on kony certification app. Can I send  you the certification app here or privately?

Thanks

Daniele

Replied by: Apr 06, 2017 06:38 EDT
Vote up!
0 votes
Vote down!

Hi Daniele,

If you are still facing the same error when building for SPA then please send sample app or your application to my mailID (Madhuri Choutkur <Madhuri.choutkur@kony.com>), so that we can take a look to find the root cause.

Thanks,
Madhuri C.
Customer Success Engineering.

Replied by: Apr 07, 2017 01:49 EDT
Gold
Vote up!
0 votes
Vote down!

Hi Madhuri,

Yes, I'm still facing same error.

This week I will send you the google Drive link for download certification app. In the mail I will write my detail error

Thanks in advance

Daniele

Replied by: Apr 13, 2017 09:29 EDT
Vote up!
0 votes
Vote down!

Hi Madhuri,

I'm sorry to bother, Have you got a news for me?

Thanks in advance

Daniele

Replied by: Apr 26, 2017 05:52 EDT
Vote up!
0 votes
Vote down!

Hi Daniele,

Apologies for the delay.

I have tried with the application shared by you. Build the app for Andriod/iOS SPA and could not see any such above mentioned errors. Build was success.

Please find attached screenshot along with plugins used. Let me know if any steps/modifications need to be done, to replicate the build error "com.pat.tool.keditor.tasks.TVisualizerBuildResourcesCopy has failed" at my end.

Thanks,
Madhuri C.
Customer Success Engineering.

Replied by: May 01, 2017 12:52 EDT
Gold