Project

General

Profile

Anomalie #15954

Error is throw when model contain resource entities

Added by Erwan A. 4 months ago. Updated 4 months ago.

Status:
Résolu
Priority:
Normal
Assignee:
Category:
Core
Target version:
Start date:
07/13/2019
Due date:
07/15/2019
% Done:

80%

Estimated time:
1.00 h

Description

[ERROR]    freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> ResourceContract  [in template "tpl/android/app/src/main/java/provider/contract/base/TemplateContractBase.java.ftl" at line 85, column 26]

----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
        - Failed at: #assign table = ResourceContract.TABL...  [in template "tpl/android/app/src/main/java/provider/contract/base/TemplateContractBase.java.ftl" at line 85, column 9]
----
freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
freemarker.core.UnexpectedTypeException.newDesciptionBuilder(UnexpectedTypeException.java:80)
freemarker.core.UnexpectedTypeException.<init>(UnexpectedTypeException.java:43)
freemarker.core.NonHashException.<init>(NonHashException.java:49)
freemarker.core.Dot._eval(Dot.java:48)
freemarker.core.Expression.eval(Expression.java:81)
freemarker.core.Assignment.accept(Assignment.java:134)
freemarker.core.Environment.visit(Environment.java:326)
freemarker.core.Environment.visit(Environment.java:332)
freemarker.core.Environment.visit(Environment.java:332)
freemarker.core.Environment.visit(Environment.java:332)
freemarker.core.Environment.process(Environment.java:305)
freemarker.template.Template.process(Template.java:378)
com.tactfactory.harmony.updater.impl.SourceFile.makeSource(SourceFile.java:102)
com.tactfactory.harmony.updater.impl.SourceFile.execute(SourceFile.java:58)
com.tactfactory.harmony.generator.BaseGenerator.processExecutor(BaseGenerator.java:180)
com.tactfactory.harmony.generator.BaseGenerator.processUpdater(BaseGenerator.java:186)
com.tactfactory.harmony.generator.ProviderGenerator.generateProvider(ProviderGenerator.java:56)
com.tactfactory.harmony.command.OrmCommand.makeLayoutDatabase(OrmCommand.java:110)
com.tactfactory.harmony.command.OrmCommand.generateEntities(OrmCommand.java:84)
com.tactfactory.harmony.command.OrmCommand.execute(OrmCommand.java:178)
com.tactfactory.harmony.Harmony.findAndExecute(Harmony.java:243)
com.tactfactory.harmony.Console.main(Console.java:89)


Recurrences

History

#1Updated by Erwan A. 4 months ago

Appliqué par commit commit:origin|b1e91bd1fe7ce1fa2efd0a74b6faa6833803c65b.

Also available in: Atom PDF

Go to top
Add picture from clipboard (Maximum size: 200 MB)