can't generate html file from .vp

pletmpa shared this problem 7 years ago
Solved

Dear Supporter, i can't generate html files or share online my .vp file. Error mesage " an unexpectes error is ocourred". I check out logs.log :


INFO[2011-08-30 13:26:12,732]- processing Css


INFO[2011-08-30 13:26:12,732]- processing BrowserItem


INFO[2011-08-30 13:26:12,733]- processing CssIE


INFO[2011-08-30 13:26:12,740]- processing Data


INFO[2011-08-30 13:26:12,748]- processing Event


INFO[2011-08-30 13:26:12,753]- processing ViewAnnotated


ERROR[2011-08-30 13:26:12,792]- generation failed:


com.justinmind.generator.engine.GenerationException: com.justinmind.generator.engine.GenerationException: java.lang.ClassCastException: com.justinmind.evc.model.businessObjects.BusinessObject cannot be cast to com.justinmind.evc.model.actions.GridView


at com.justinmind.generator.engine.Generator.createContexts(Generator.java:144)


at com.justinmind.generator.engine.Generator.generate(Generator.java:100)


at com.justinmind.generator.engine.Generator.startGeneration(Generator.java:75)


at com.justinmind.evc.igu.actions.w.run(w.java)


at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)


Caused by: com.justinmind.generator.engine.GenerationException: java.lang.ClassCastException: com.justinmind.evc.model.businessObjects.BusinessObject cannot be cast to com.justinmind.evc.model.actions.GridView


at com.justinmind.generator.context.ContextFactory.createContexts(ContextFactory.java:68)


at com.justinmind.generator.engine.Generator$ParallelGenerator.run(Generator.java:232)


Caused by: java.lang.ClassCastException: com.justinmind.evc.model.businessObjects.BusinessObject cannot be cast to com.justinmind.evc.model.actions.GridView


at com.justinmind.generator.context.EventContextFactory.processGroupEventAction(EventContextFactory.java:654)


at com.justinmind.generator.context.EventContextFactory.processGroupEventBlock(EventContextFactory.java:545)


at com.justinmind.generator.context.EventContextFactory.processGroupEventCase(EventContextFactory.java:532)


at com.justinmind.generator.context.EventContextFactory.processGroupEventFirer(EventContextFactory.java:479)


at com.justinmind.generator.context.EventContextFactory.processGroupEventDelegate(EventContextFactory.java:273)


at com.justinmind.generator.context.EventContextFactory.processGroupEvent(EventContextFactory.java:147)


at com.justinmind.generator.context.EventContextFactory.createContexts(EventContextFactory.java:133)


at com.justinmind.generator.context.ContextFactory.createContexts(ContextFactory.java:64)


... 1 more


can you help me ? If you need my file let me known.

Comments (2)

photo
1

It seems to be a bug related to a specific type of event. It is very likely to be coming from a 'Pagination Action' defined with wrong parameters (a Data Master). Please notice that 'Pagination Actions' are ment to have a Data Grid as a paremeter instead of a Data Master. If you have problems identifying and fixing the wrong expression please send your prototype at jim.support@justinmind.com and we will fix it for you.


We will surely fix this bug for the next version. Thanks for you feedback and sorry for the inconvenience.

photo
1

many thanks Bernat, i changed the pagination actions to my Data Grid and it works now!


Thanks for your support


Greetings from Berlin