[ https://issues.apache.org/jira/browse/JSPWIKI-597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751895#action_12751895 ]
Dirk Frederickx commented on JSPWIKI-597: ----------------------------------------- Harry, I expect this js error only on v3.0. That part is still much in flux. Please file a separate JIRA. Note it's easier if you run with a non-compressed js, cause the line-numbers are more meaningful then. dirk > 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.