You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Harry Metske (JIRA)" <ji...@apache.org> on 2009/09/12 19:54:57 UTC

[jira] Resolved: (JSPWIKI-597) RuntimeException in com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSourceNumber

     [ https://issues.apache.org/jira/browse/JSPWIKI-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harry Metske resolved JSPWIKI-597.
----------------------------------

    Resolution: Fixed

> RuntimeException in com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSourceNumber
> --------------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-597
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-597
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Default template
>    Affects Versions: 2.8.3, 3.0
>         Environment: JSPWiki v3.0.0-svn-150 
> Tomcat 6.0.20
> Java 6
> Linux
> FF 3.5
>            Reporter: Harry Metske
>            Assignee: Harry Metske
>             Fix For: 2.8.3, 3.0
>
>
> I think JavaScript is completely broken at the moment.
> Looking at the FireFox Error console, it tells me :
> {noformat} 
> Error: missing ; before statement
> Source File: http://localhost:8080/JSPWiki/scripts/prettify.js
> Line: 1, Column: 13
> Source Code:
> Exception in thread "main" java.lang.RuntimeException 
> {noformat} 
> Double clicking it, tells me some more:
> {noformat} 
> Exception in thread "main" java.lang.RuntimeException
> 	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSourceNumber(JavaScriptCompressor.java:289)
> 	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:325)
> 	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:522)
> 	at com.yahoo.platform.yui.compressor.YUICompressor.main(YUICompressor.java:120)
> {noformat} 
> Which reminds me of some error messages when building the project , those might be relate ? :
> {noformat}
> .........
> compressedjs:
>      [java] Java Result: 1
>      [java] Java Result: 1
>      [java] Java Result: 1
>      [java] Java Result: 1
>      [java] Java Result: 1
> war:
>    [delete] Deleting: /home/metskem/workspace/JSPWiki/build/JSPWiki.war
> ......
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.