I tried to post a message earlier but it got bumped for moderator review
due to the size.  My previous example is not accurate.  It works fine.
I am however on the trail of the culprit and will hopefully have an
example by the end of the day.  I have also informed the JIRA that the
example does not convey the error.  Sorry for the false alarm.
David
-----Original Message-----
From: Amy Muntz [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 10, 2006 12:01 PM
To: David Buckler
Cc: Laszlo Users
Subject: Re: [Laszlo-user] Compiler Errors with lps-3.2cr1?

Hi David,
Thanks for following up with a test case so promptly - this really  
helps.

I've added it to the JIRA bug, which is being used to track this  
issue: http://www.openlaszlo.org/jira/browse/LPP-1561

-- Amy

On Feb 10, 2006, at 2:48 PM, David Buckler wrote:

> I just wanted to confirm this fact and include an example.  I set up a
> test file and constraining the fontsize works but when you add onto a
> constraint it gives the error.
>
> <canvas height="500" debug="true">
> <attribute name="fsize" value="30"/>
>
>       <text height="400" width="400"
> fontsize="${parent.getAttribute('fsize') + 10}"
>       text="My test text" resize="true"/>
>       
> </canvas>
>
> We appreciate your continuing efforts to further Laszlo.
>
> -----Original Message-----
> From: P T Withington [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 09, 2006 6:56 PM
> To: Henry Minsky
> Cc: David Buckler; [email protected]
> Subject: Re: [Laszlo-user] Compiler Errors with lps-3.2cr1?
>
> This actually looks like it is failing trying to parse a constraint
> of the form:
>
> ${parent.height...}
>
> where ... should be + or - followed by digits, but the digits are
> missing.  Perhaps that will help you to find the errant clause in you
> app.
>
> On 9 Feb 2006, at 19:22, Henry Minsky wrote:
>
>> Yikes, looks like a bug. Please send me a test case. The bug is
>> someplace in
>> a constraint for a text size maybe., If you can get me a small test
>> case it
>> would help me fix it quickly.
>>
>> I have a hunch that bug is in some ancient code that was needed for
>> swf5
>> font support, and probably is not even needed anymore.
>>
>>
>>
>> On 2/9/06, David Buckler <[EMAIL PROTECTED]> wrote:
>>>
>>>  Just downloaded the new lps-3.2cr1 and I am very excited about
>>> the new
>>> compiler.  Unfortunately when I went to load my application it
>>> spit out this
>>> and I have no clue where to look to fix it.  Other applications
>>> work just
>>> not our main one.  Any ideas?
>>>
>>>
>>>
>>> Error: No match foundjava.lang.IllegalStateException: No match found
>>>
>>>         at java.util.regex.Matcher.group(Matcher.java:353)
>>>
>>>         at org.openlaszlo.compiler.ViewCompiler.evalHeight
>>> (ViewCompiler.java:754)
>>>
>>>         at org.openlaszlo.compiler.ViewCompiler.mergeHeight
>>> (ViewCompiler.java:669)
>>>
>>>         at org.openlaszlo.compiler.ViewCompiler.mergeClassFontInfo
>>> (ViewCompiler.java:517)
>>>
>>>         at org.openlaszlo.compiler.ViewCompiler.mergeClassFontInfo
>>> (ViewCompiler.java:498)
>>>
>>>         at
>>> org.openlaszlo.compiler.ViewCompiler.mapTextMetricsCompilation
>>> (ViewCompiler.java:546)
>>>
>>>         at
>>> org.openlaszlo.compiler.ViewCompiler.mapTextMetricsCompilation
>>> (ViewCompiler.java:589)
>>>
>>>         at org.openlaszlo.compiler.ViewCompiler.compile
>>> (ViewCompiler.java:107)
>>>
>>>         at org.openlaszlo.compiler.Compiler.compileElement
>>> (Compiler.java:564)
>>>
>>>         at org.openlaszlo.compiler.CanvasCompiler.compile
>>> (CanvasCompiler.java:154)
>>>
>>>         at org.openlaszlo.compiler.Compiler.compileElement
>>> (Compiler.java:564)
>>>
>>>         at org.openlaszlo.compiler.Compiler.compile(Compiler.java:
>>> 388)
>>>
>>>         at org.openlaszlo.compiler.Compiler.compile(Compiler.java:
>>> 163)
>>>
>>>         at org.openlaszlo.cm.CompilationManager.compileItem
>>> (CompilationManager.java:886)
>>>
>>>         at org.openlaszlo.cm.CompilationManager.getItem
>>> (CompilationManager.java:626)
>>>
>>>         at org.openlaszlo.cm.CompilationManager.getLastModified
>>> (CompilationManager.java:594)
>>>
>>>         at
>>> org.openlaszlo.servlets.responders.ResponderCompile.getLastModified
>>> (ResponderCompile.java:423)
>>>
>>>         at
>>> org.openlaszlo.servlets.responders.ResponderCompile.respondImpl
>>> (ResponderCompile.java:187)
>>>
>>>         at org.openlaszlo.servlets.responders.Responder.respond
>>> (Responder.java:260)
>>>
>>>         at org.openlaszlo.servlets.LZServlet._doGet(LZServlet.java:
>>> 441)
>>>
>>>         at org.openlaszlo.servlets.LZServlet.doGet(LZServlet.java:
>>> 355)
>>>
>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:
>>> 697)
>>>
>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:
>>> 810)
>>>
>>>         at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>>> (ApplicationFilterChain.java:237)
>>>
>>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter
>>> (ApplicationFilterChain.java:157)
>>>
>>>         at org.apache.catalina.core.StandardWrapperValve.invoke
>>> (StandardWrapperValve.java:214)
>>>
>>>         at org.apache.catalina.core.StandardValveContext.invokeNext
>>> (StandardValveContext.java:104)
>>>
>>>         at org.apache.catalina.core.StandardPipeline.invoke
>>> (StandardPipeline.java:520)
>>>
>>>         at
>>> org.apache.catalina.core.StandardContextValve.invokeInternal
>>> (StandardContextValve.java:198)
>>>
>>>         at org.apache.catalina.core.StandardContextValve.invoke
>>> (StandardContextValve.java:152)
>>>
>>>         at org.apache.catalina.core.StandardValveContext.invokeNext
>>> (StandardValveContext.java:104)
>>>
>>>         at org.apache.catalina.core.StandardPipeline.invoke
>>> (StandardPipeline.java:520)
>>>
>>>         at org.apache.catalina.core.StandardHostValve.invoke
>>> (StandardHostValve.java:137)
>>>
>>>         at org.apache.catalina.core.StandardValveContext.invokeNext
>>> (StandardValveContext.java:104)
>>>
>>>         at org.apache.catalina.valves.ErrorReportValve.invoke
>>> (ErrorReportValve.java:117)
>>>
>>>         at org.apache.catalina.core.StandardValveContext.invokeNext
>>> (StandardValveContext.java:102)
>>>
>>>         at org.apache.catalina.core.StandardPipeline.invoke
>>> (StandardPipeline.java:520)
>>>
>>>         at org.apache.catalina.core.StandardEngineValve.invoke
>>> (StandardEngineValve.java:109)
>>>
>>>         at org.apache.catalina.core.StandardValveContext.invokeNext
>>> (StandardValveContext.java:104)
>>>
>>>         at org.apache.catalina.core.StandardPipeline.invoke
>>> (StandardPipeline.java:520)
>>>
>>>         at org.apache.catalina.core.ContainerBase.invoke
>>> (ContainerBase.java:929)
>>>
>>>         at org.apache.coyote.tomcat5.CoyoteAdapter.service
>>> (CoyoteAdapter.java:160)
>>>
>>>         at org.apache.coyote.http11.Http11Processor.process
>>> (Http11Processor.java:793)
>>>
>>>         at org.apache.coyote.http11.Http11Protocol
>>> $Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
>>>
>>>         at org.apache.tomcat.util.net.TcpWorkerThread.runIt
>>> (PoolTcpEndpoint.java:571)
>>>
>>>         at org.apache.tomcat.util.threads.ThreadPool
>>> $ControlRunnable.run(ThreadPool.java:644)
>>>
>>>         at java.lang.Thread.run(Thread.java:534)
>>>
>>>
>>>
>>> _______________________________________________
>>> Laszlo-user mailing list
>>> [email protected]
>>> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>>>
>>>
>>>
>>
>>
>> --
>> Henry Minsky
>> Software Architect
>> [EMAIL PROTECTED]
>> _______________________________________________
>> Laszlo-user mailing list
>> [email protected]
>> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>
>
> _______________________________________________
> Laszlo-user mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user


_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to