Menu

#4 Numeric datatype not supported

open
nobody
None
5
2004-06-29
2004-06-29
No

If a table contains a numeric datatype the generator
throws a stack overflow. The exception stack is as
follows:

Fatal stack overflow error.
System.NullReferenceException: Object reference not
set to an instance of an obj
ect.
at
NVelocity.Runtime.Exception.ReferenceException..ctor
(String exceptionMessa
ge, INode node)
at NVelocity.Runtime.Parser.Node.ASTReference.render
(InternalContextAdapter c
ontext, TextWriter writer)
at NVelocity.Runtime.Parser.Node.ASTBlock.render
(InternalContextAdapter conte
xt, TextWriter writer)
at NVelocity.Runtime.Directive.Foreach.render
(InternalContextAdapter context,
TextWriter writer, INode node)
at NVelocity.Runtime.Parser.Node.ASTDirective.render
(InternalContextAdapter c
ontext, TextWriter writer)
at NVelocity.Runtime.Parser.Node.SimpleNode.render
(InternalContextAdapter con
text, TextWriter writer)
at NVelocity.Template.Merge(IContext context,
TextWriter writer)
at NVelocity.App.Velocity.MergeTemplate(String
templateName, String encoding,
IContext context, TextWriter writer)
at NVelocity.App.Velocity.MergeTemplate(String
templateName, IContext context
, TextWriter writer)
at ILG.Norca.Generator.Renderer.RenderTemplate
(VelocityContext context, Strin
g templateName, TextWriter writer)
at ILG.Norca.Generator.Renderer.RenderTemplate
(VelocityContext context, Strin
g templateName, String outputFile)
at ILG.Norca.Generator.GeneratorBase.Render
(VelocityContext context, Project
project, BusinessObject busObject, String template,
String regenTemplate, String
outputFile, String regenRegionName, Boolean
appendIfRegionMissing)
at
ILG.Norca.Generator.DefaultBusinessObjectGenerator.Ren
der(VelocityContext
context, Project project, BusinessObject busObject)
at ILG.Norca.Generator.GeneratorRunner.Run(Project
project)
at ILG.Norca.NorcaCommandLine.Run(String projectFile)
at ILG.Norca.NorcaCommandLine.Main(String[] args)

Discussion


Log in to post a comment.

MongoDB Logo MongoDB