There is no such thing as "ACE editor" (I don't even see what "ACE"
could be about in this context) in standard XWiki and XWiki.Xuake page
is definitely nothing standard.

What I understand from your log is that there is various syntax errors
in the Javascript stored in XWiki.Xuake page.

On Wed, Apr 20, 2016 at 3:28 PM, Sebastian Schabbach
<s.schabb...@ontaris.de> wrote:
> Dear,
>
> thanks for your reply. As far as I know we don't use any extention, It must 
> be the "core system". But As I see  there are also error messages in the 
> tomcat log, that indicates javascript code is not generated correctly:
>
> 2016-03-22 09:16:14,221 
> [http://pippin:8080/xwiki/bin/ssx/IconThemes/FontAwesome?language=de&docVersion=1.1]
>  WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 
> 39:/skins/colibri/docdoesnotexist.vm@25,47
> 2016-03-22 09:16:14,236 
> [http://pippin:8080/xwiki/bin/jsx/IconThemes/FontAwesome?language=de&docVersion=1.1]
>  WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 
> 47:/skins/colibri/docdoesnotexist.vm@25,47
> 2016-03-22 09:16:14,564 [http://pippin:8080/xwiki/bin/edit/1/text.js] WARN  
> o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 49:/skins/colibri/edit.vm@89,12
> 2016-03-22 09:16:27,893 
> [http://pippin:8080/xwiki/bin/edit/1/WebHome?template=&parent=Main.WebHome&title=3123123123]
>  WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 40:/skins/colibri/edit.vm@89,12
> 2016-03-22 09:16:28,315 
> [http://pippin:8080/xwiki/bin/ssx/IconThemes/FontAwesome?language=de&docVersion=1.1]
>  WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 
> 49:/skins/colibri/docdoesnotexist.vm@25,47
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension          - Error at line 47, column 14: invalid 
> property id. Caused by: [      , class: "xuake-console hidden"]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension          - Error at line 48, column 6: syntax 
> error. Caused by: [    });]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension          - Error at line 51, column 14: invalid 
> property id. Caused by: [      , class: "consoleInput"]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension          - Error at line 52, column 6: syntax 
> error. Caused by: [    })]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension          - Error at line 53, column 10: syntax 
> error. Caused by: [    this.executeButton = new Element("input", {]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension          - Error at line 54, column 12: syntax 
> error. Caused by: [        id: "xuake-execute-button"]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension          - Error at line 55, column 14: 
> identifier is a reserved word. Caused by: [      , class: "btn btn-info 
> button"]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension          - Error at line 57, column 15: missing ; 
> before statement. Caused by: [      , value: "Execute (CTRL + E)" ]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension          - Error at line 58, column 6: syntax 
> error. Caused by: [    })]
> 2016-03-22 09:16:28,377 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension          - Error at line 59, column 10: syntax 
> error. Caused by: [    this.console.insert(this.input);]
> 2016-03-22 09:16:28,393 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> ERROR c.x.x.w.s.JsExtension          - Runtime error minimizing JSX object: 
> Compilation produced 10 syntax errors.
> 2016-03-22 09:16:28,393 
> [http://pippin:8080/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1] 
> WARN  c.x.x.w.s.JsExtension          - Failed to compress JS extension: null
> 2016-03-22 09:16:28,440 
> [http://pippin:8080/xwiki/bin/jsx/IconThemes/FontAwesome?language=de&docVersion=1.1]
>  WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 
> 40:/skins/colibri/docdoesnotexist.vm@25,47
> 2016-03-22 09:16:28,924 [http://pippin:8080/xwiki/bin/edit/1/text.js] WARN  
> o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 48:/skins/colibri/edit.vm@89,12
> 2016-03-22 09:16:50,488 
> [http://pippin:8080/xwiki/bin/view/Main/Search?text=suche...1&x=0&y=0] WARN  
> o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 40:/skins/colibri/view.vm@25,47
> 2016-03-22 09:16:50,721 
> [http://pippin:8080/xwiki/bin/view/Main/Search?text=suche...1&x=0&y=0] WARN  
> o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter 
> [com.xpn.xwiki.api.XWiki.getSpaces] in 40:xwiki:Main.Search@146,24
> 2016-03-22 09:16:52,236 [http://pippin:8080/xwiki/bin/view/Main/text.js] WARN 
>  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 
> 41:/skins/colibri/docdoesnotexist.vm@25,47
> 2016-03-22 09:17:07,266 [http://pippin:8080/xwiki/bin/view/Main/] WARN  
> o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 45:/skins/colibri/view.vm@25,47
> 2016-03-22 09:17:07,858 [http://pippin:8080/xwiki/bin/view/Main/text.js] WARN 
>  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 
> 47:/skins/colibri/docdoesnotexist.vm@25,47
> 2016-03-22 09:17:25,783 
> [http://pippin:8080/xwiki/bin/view/Main/Search?text=3123123123&x=0&y=0] WARN  
> o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 39:/skins/colibri/view.vm@25,47
> 2016-03-22 09:17:25,908 
> [http://pippin:8080/xwiki/bin/view/Main/Search?text=3123123123&x=0&y=0] WARN  
> o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter 
> [com.xpn.xwiki.api.XWiki.getSpaces] in 39:xwiki:Main.Search@146,24
> 2016-03-22 09:17:26,440 [http://pippin:8080/xwiki/bin/view/Main/text.js] WARN 
>  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method 
> [com.xpn.xwiki.api.XWiki.parseContent] in 
> 43:/skins/colibri/docdoesnotexist.vm@25,47
>
>
> Do the posted log output helps a little bit more?
>
> Kind regards,
> Sebastian Schabbach
>
> -----Ursprüngliche Nachricht-----
> Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Marius Dumitru 
> Florea
> Gesendet: Mittwoch, 20. April 2016 14:19
> An: XWiki Users <users@xwiki.org>
> Betreff: Re: [xwiki-users] ACE Editor cannot be loaded after migration to 
> version 7.4.2
>
> I can't find any "ACE editor" extension on http://extensions.xwiki.org so 
> it's hard to tell what the problem is without being able to reproduce.
>
> On Tue, Apr 19, 2016 at 2:42 PM, Sebastian Schabbach <s.schabb...@ontaris.de
>> wrote:
>
>> Dear all,
>>
>> a view weeks ago we updated our xwiki application from version 6.2 to
>> version 7.4, but since upgrading the wiki we encountered several
>> problems with the ACE editor. The problems causes unexpected behaviors
>> (loading the article content in the ace editor will never end due to
>> javascript errors) when editing articles or create new ones.
>>
>> The root problem seems to be the Xuake script (
>> http://baseurl/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1)
>> tries to intialize the ace library, but I guess something is missing.
>> Below is listed the console output when running the create new page
>> wizzard in the xwiki.
>>
>> HTML1406: Invalid tag start: "<?". Question marks should not start tags.
>> WebHome (1,2)
>>
>> ----------------------------------------------------------------------
>> ---------------------------------
>> SCRIPT1010: Expected identifier
>> WebHome (1,9)
>>
>> ----------------------------------------------------------------------
>> ----------------------------------
>> SCRIPT5009: 'ace' is undefined
>> Xuake (143,7)
>>
>> ----------------------------------------------------------------------
>> ---------------------------------
>> SCRIPT5007: Unable to get property 'noConflict' of undefined or null
>> reference WebHome (81,54)
>>
>> ----------------------------------------------------------------------
>> -----------------------------------
>> SEC7115: :visited and :link styles can only differ by color. Some
>> styles were not applied to :visited.
>> WebHome
>>
>> ----------------------------------------------------------------------
>> -----------------------------------
>> SCRIPT1002: Syntax error
>> text.js (1,1)
>>
>> ----------------------------------------------------------------------
>> ----------------------------------
>> SCRIPT5007: Unable to get property 'normalize' of undefined or null
>> reference require.min.js (20,263)
>>
>> ----------------------------------------------------------------------
>> -----------------------------------
>> SCRIPT5022: Load timeout for modules:
>> text!ace/css/editor.css_unnormalized2,jsTree,text!ace/theme/textmate.c
>> ss_unnormalized3 http://requirejs.org/docs/errors.html#timeout
>> require.min.js (8,137)
>>
>> ----------------------------------------------------------------------
>> -----------------------------------
>> SCRIPT438: Object doesn't support property or method 'getLayout'
>> prototype.js (11,59324)
>>
>> ----------------------------------------------------------------------
>> -----------------------------------
>> SCRIPT438: Object doesn't support property or method 'getLayout'
>> prototype.js (11,59324)
>>
>> ----------------------------------------------------------------------
>> -----------------------------------
>> SCRIPT438: Object doesn't support property or method 'getLayout'
>> prototype.js (11,59324)
>>
>> ----------------------------------------------------------------------
>> -----------------------------------
>> SCRIPT438: Object doesn't support property or method 'getLayout'
>> prototype.js (11,59324)
>>
>> ----------------------------------------------------------------------
>> ----------------------------------
>>
>>
>> Hopefully somebody has an idea what is missing and can give me some
>> help with that issue.
>> Let me thanks you for your investigations in advice.
>>
>>
>> Mit freundlichen Grüßen / Kind regards Sebastian Schabbach
>> _______________________________________________
>> users mailing list
>> mailto:users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> _______________________________________________
> users mailing list
> mailto:users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to