[Dart] Note.ftl missing ...

Alex Brooks a.brooks at acfr.usyd.edu.au
Wed Mar 29 22:29:55 EST 2006


Hi,

Are you guys planning on making another release that fixes this issue?  We're 
still using 0.6, and we're pretty keen to upgrade, but we'd prefer to wait 
for a stable release rather than moving to something out of svn.


Thanks,

Alex


On Tue, 28 Mar 2006 12:23 am, Blezek, Daniel J (GE, Research) wrote:
> No, not much better at all.  I don't think I'm going to be able to help :-<
>  Jim did all the Note support and he's out today.  I supose that it must
> wait until tomorrow.
>
> Sorry for a buggy release...
> -dan
>
> -----Original Message-----
> From: Olivier Warin [mailto:olivier.warin at netasq.com]
> Sent: Monday, March 27, 2006 9:20 AM
> To: Blezek, Daniel J (GE, Research)
> Cc: Dart ((E-mail))
> Subject: Re: [Dart] Note.ftl missing ...
>
>
> Well, that's not better :-D
>
> [SocketListener0-1] ERROR freemarker.runtime  -
> Expression submission.selectTest(".Note") is undefined on line 49,
> column 16 in Note.ftl.
> The problematic instruction:
> ----------
> ==> assignment: notes=submission.selectTest(".Note").selectChildren
> ().toList() [on line 49, column 1 in Note.ftl]
> ----------
>
> Java backtrace for programmers:
> ----------
> freemarker.core.InvalidReferenceException: Expression
> submission.selectTest(".Note") is undefined on line 49, column 16 in
> Note.ftl.
>          at freemarker.core.TemplateObject.assertNonNull
> (TemplateObject.java:124)
>          at freemarker.core.TemplateObject.invalidTypeException
> (TemplateObject.java:134)
>          at freemarker.core.Dot._getAsTemplateModel(Dot.java:78)
>          at freemarker.core.Expression.getAsTemplateModel
> (Expression.java:89)
>          at freemarker.core.MethodCall._getAsTemplateModel
> (MethodCall.java:86)
>          at freemarker.core.Expression.getAsTemplateModel
> (Expression.java:89)
>          at freemarker.core.Dot._getAsTemplateModel(Dot.java:74)
>          at freemarker.core.Expression.getAsTemplateModel
> (Expression.java:89)
>          at freemarker.core.MethodCall._getAsTemplateModel
> (MethodCall.java:86)
>          at freemarker.core.Expression.getAsTemplateModel
> (Expression.java:89)
>          at freemarker.core.Assignment.accept(Assignment.java:91)
>          at freemarker.core.Environment.visit(Environment.java:196)
>          at freemarker.core.MixedContent.accept(MixedContent.java:92)
>          at freemarker.core.Environment.visit(Environment.java:196)
>          at freemarker.core.ConditionalBlock.accept
> (ConditionalBlock.java:79)
>          at freemarker.core.Environment.visit(Environment.java:196)
>          at freemarker.core.MixedContent.accept(MixedContent.java:92)
>          at freemarker.core.Environment.visit(Environment.java:196)
>          at freemarker.core.Environment.process(Environment.java:176)
>          at freemarker.template.Template.process(Template.java:231)
>          at dart.server.servlet.Dashboard.doGet(Dashboard.java:305)
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>          at org.mortbay.jetty.servlet.ServletHolder.handle
> (ServletHolder.java:413)
>          at org.mortbay.jetty.servlet.ServletHandler.dispatch
> (ServletHandler.java:665)
>          at org.mortbay.jetty.servlet.ServletHandler.handle
> (ServletHandler.java:569)
>          at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>          at org.mortbay.http.HttpContext.handle(HttpContext.java:1434)
>          at org.mortbay.http.HttpServer.service(HttpServer.java:896)
>          at org.mortbay.http.HttpConnection.service
> (HttpConnection.java:814)
>          at org.mortbay.http.HttpConnection.handleNext
> (HttpConnection.java:981)
>          at org.mortbay.http.HttpConnection.handle
> (HttpConnection.java:831)
>          at org.mortbay.http.SocketListener.handleConnection
> (SocketListener.java:244)
>          at org.mortbay.util.ThreadedServer.handle
> (ThreadedServer.java:366)
>          at org.mortbay.util.ThreadPool$PoolThread.run
> (ThreadPool.java:534)
>
> Should I email the list with all the backtrace I get ? :-)
>
> Le 27 mars 06 à 15:59, Blezek, Daniel J (GE, Research) a écrit :
> > Strange problem.  Easiest thing to do is grab Note.ftl from
> > Subversion: http://svn.na-mic.org:8000/svn/Dart/trunk/Source/dart/
> > Resources/Project/Templates/Note.ftl and drop it in the Templates
> > directory of your Projects.
> >
> > -dan
> >
> > P.S.  Odd about the -i flag...
> >
> >
> > -----Original Message-----
> > From: dart-bounces+blezek=crd.ge.com at public.kitware.com
> > [mailto:dart-bounces+blezek=crd.ge.com at public.kitware.com]On Behalf Of
> > Olivier Warin
> > Sent: Monday, March 27, 2006 8:49 AM
> > To: Blezek, Daniel J (GE, Research)
> > Cc: Dart ((E-mail))
> > Subject: Re: [Dart] Note.ftl missing ...
> >
> > Le 27 mars 06 à 15:46, Blezek, Daniel J (GE, Research) a écrit :
> >> Hi Olivier,
> >>
> >>   Did you start the DartServer with a --refresh flag?  Note.ftl is
> >> new and should be in the 0.8.5 distribution.
> >
> > Yes, basically, I do:
> > java -jar DartServer.jar -k Server
> > java -jar DartServer.jar -j Server
> > java -jar DartServer.jar -c projet
> > java -jar DartServer.jar -i -R -r Server projet
> >
> > Note that -i alone failed for weeks now ...
> >
> >> -dan
> >>
> >> -----Original Message-----
> >> From: dart-bounces+blezek=crd.ge.com at public.kitware.com
> >> [mailto:dart-bounces+blezek=crd.ge.com at public.kitware.com]On
> >> Behalf Of
> >> Olivier Warin
> >> Sent: Monday, March 27, 2006 8:20 AM
> >> To: Dart ((E-mail))
> >> Subject: [Dart] Note.ftl missing ...
> >>
> >>
> >> Hi,
> >> I have just upgraded to 0.8.5 and it appears that Note.ftl is missing
> >> in the directory.
> >>
> >> <27 Mar 2006 15:20:11,133> [SocketListener0-1] ERROR
> >> dart.server.servlet.Dashboard
> >>          Failed to find template
> >> java.io.FileNotFoundException: Template /Note.ftl not found.
> >>          at freemarker.template.Configuration.getTemplate
> >> (Configuration.java:441)
> >>          at freemarker.template.Configuration.getTemplate
> >> (Configuration.java:404)
> >>          at dart.server.servlet.Dashboard.findTemplate
> >> (Dashboard.java:
> >> 343)
> >>          at dart.server.servlet.Dashboard.doGet(Dashboard.java:292)
> >>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:
> >> 595)
> >>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:
> >> 688)
> >>          at org.mortbay.jetty.servlet.ServletHolder.handle
> >> (ServletHolder.java:413)
> >>          at org.mortbay.jetty.servlet.ServletHandler.dispatch
> >> (ServletHandler.java:665)
> >>          at org.mortbay.jetty.servlet.ServletHandler.handle
> >> (ServletHandler.java:569)
> >>          at org.mortbay.http.HttpContext.handle(HttpContext.java:
> >> 1482)
> >>          at org.mortbay.http.HttpContext.handle(HttpContext.java:
> >> 1434)
> >>          at org.mortbay.http.HttpServer.service(HttpServer.java:896)
> >>          at org.mortbay.http.HttpConnection.service
> >> (HttpConnection.java:814)
> >>          at org.mortbay.http.HttpConnection.handleNext
> >> (HttpConnection.java:981)
> >>          at org.mortbay.http.HttpConnection.handle
> >> (HttpConnection.java:831)
> >>          at org.mortbay.http.SocketListener.handleConnection
> >> (SocketListener.java:244)
> >>          at org.mortbay.util.ThreadedServer.handle
> >> (ThreadedServer.java:366)
> >>          at org.mortbay.util.ThreadPool$PoolThread.run
> >> (ThreadPool.java:534)
> >>
> >> Bien cordialement,
> >> --
> >> Olivier Warin
> >> Netasq
> >> Département R&D - Labo QA
> >
> > Bien cordialement,
> > --
> > Olivier Warin
> > Netasq
> > Département R&D - Labo QA
>
> Bien cordialement,
> --
> Olivier Warin
> Netasq
> Département R&D - Labo QA
>
>
> _______________________________________________
> Dart mailing list
> Dart at public.kitware.com
> http://public.kitware.com/mailman/listinfo/dart


More information about the Dart mailing list