unexpected unknown record error..in Mobile application

Hi,

I am getting following error when I tried to publish the mobile application.

I have change dependency from one module to other for core database. Once I changed the dependency for local storage from one module to other module and tried to publish, I am getting following error.


Exception Details:
[1] System.InvalidOperationException: Unexpected unknown record
 at OutSystems.HubEdition.Compiler.Interfaces.RecordTypeExtensions.GetRuntimeType(IRecordType recType)
 at OutSystems.HubEdition.Compiler.AbstractType.get_RtName()
 at OutSystems.HubEdition.Compiler.AbstractAttribute.Dump(TextWriter writer)
 at OutSystems.HubEdition.Compiler.AbstractRecord.DumpCSharp(TextWriter writer)
 at OutSystems.HubEdition.Compiler.ESpace.<>c__DisplayClass214_0.<DumpRecordJoins>b__0(TextWriter writer)

at OutSystems.HubEdition.Compiler.ESpace.DumpRecordJoins()
 at OutSystems.HubEdition.Compiler.ESpace.Dump()
 at OutSystems.HubEdition.Compiler.Compiler.InnerCompileEspace(ESpace eSpace, CompilationContext context)
 at OutSystems.HubEdition.Compiler.Utils.CompilerUtils.TrapExceptionsInContext(Action action, CompilationContext context)


 

 




Dileep Verma wrote:

Hi,

I am getting following error when I tried to publish the mobile application.

I have change dependency from one module to other for core database. Once I changed the dependency for local storage from one module to other module and tried to publish, I am getting following error.


Exception Details:
[1] System.InvalidOperationException: Unexpected unknown record
 at OutSystems.HubEdition.Compiler.Interfaces.RecordTypeExtensions.GetRuntimeType(IRecordType recType)
 at OutSystems.HubEdition.Compiler.AbstractType.get_RtName()
 at OutSystems.HubEdition.Compiler.AbstractAttribute.Dump(TextWriter writer)
 at OutSystems.HubEdition.Compiler.AbstractRecord.DumpCSharp(TextWriter writer)
 at OutSystems.HubEdition.Compiler.ESpace.<>c__DisplayClass214_0.<DumpRecordJoins>b__0(TextWriter writer)

at OutSystems.HubEdition.Compiler.ESpace.DumpRecordJoins()
 at OutSystems.HubEdition.Compiler.ESpace.Dump()
 at OutSystems.HubEdition.Compiler.Compiler.InnerCompileEspace(ESpace eSpace, CompilationContext context)
 at OutSystems.HubEdition.Compiler.Utils.CompilerUtils.TrapExceptionsInContext(Action action, CompilationContext context)


 

 




Hi Dileep,

We received a response from support to perform the following procedure in a similar case, like follow:

- Go to Service Center, under Factory -> Solutions, click on "New Solution";
- Choose the name;
- Open this newly created solution, in the Component tab add " * " to select the whole factory. In the Versions tab please put the tick on "Publish with full compilations" and publish it.


I hope that help you.


Best regards,

Leandro.