Saving a page or Switching to wiki markup fails with java.lang.AbstractMethodError: getTextContent error in Weblogic

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 3.0
    • Affects Version/s: 2.10.2
    • Component/s: None

      In Confluence 2.10.2 we started using atlassian-renderer-4.3.2.

      In Weblogic, it breaks the getTextContent method, causing wiki markup, preview, and change page location for example to fail.

      The log file contains the following error after an attempt to switch to wiki markup:

      2009-04-08 16:05:17,021 WARN [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [org.directwebremoting.impl.DefaultRemoter] warn Method execution failed: 
       -- referer: http://localhost:7001/confluence/pages/editpage.action?pageId=32792 | url: /confluence/dwr/call/plaincall/WysiwygConverter.convertXHtmlToWikiMarkupWithoutPage.dwr | userName: admin
      java.lang.AbstractMethodError: getTextContent
      	at com.atlassian.renderer.wysiwyg.DefaultWysiwygConverter.containsNoUserContent(DefaultWysiwygConverter.java:557)
      	at com.atlassian.renderer.wysiwyg.DefaultWysiwygConverter.isUserNewline(DefaultWysiwygConverter.java:551)
      	at com.atlassian.renderer.wysiwyg.DefaultWysiwygConverter.convertNode(DefaultWysiwygConverter.java:270)
      	at com.atlassian.renderer.wysiwyg.DefaultWysiwygConverter.convertChildren(DefaultWysiwygConverter.java:167)
      	at com.atlassian.renderer.wysiwyg.DefaultWysiwygConverter.convertNode(DefaultWysiwygConverter.java:202)
      	at com.atlassian.renderer.wysiwyg.DefaultWysiwygConverter.convertXHtmlToWikiMarkup(DefaultWysiwygConverter.java:796)
      	at com.atlassian.confluence.pages.wysiwyg.DefaultConfluenceWysiwygConverter.convertXHtmlToWikiMarkup(DefaultConfluenceWysiwygConverter.java:54)
      	at com.atlassian.confluence.pages.wysiwyg.DefaultConfluenceWysiwygConverter.convertXHtmlToWikiMarkup(DefaultConfluenceWysiwygConverter.java:78)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:585)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      	at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      	at $Proxy573.convertXHtmlToWikiMarkup(Unknown Source)
      	at com.atlassian.confluence.pages.wysiwyg.ConfluenceWysiwygConverterDWRWrapper.convertXHtmlToWikiMarkupWithoutPage(ConfluenceWysiwygConverterDWRWrapper.java:82)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:585)
      2009-04-08 16:05:17,052 WARN [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [org.directwebremoting.dwrp.BaseCallMarshaller] warn --Erroring: batchId[1] message[java.lang.AbstractMethodError: getTextContent]
       -- referer: http://localhost:7001/confluence/pages/editpage.action?pageId=32792 | url: /confluence/dwr/call/plaincall/WysiwygConverter.convertXHtmlToWikiMarkupWithoutPage.dwr | userName: admin
      

      A page save will take the user to the Confluence Oops page without any stack trace - nothing is logged in the log file either.

      The temporary work around is to revert back to atlassian-renderer-4.3.jar or use Confluence 2.10.1 instead.

            Assignee:
            Andrew Lynch (Inactive)
            Reporter:
            Roy Hartono [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: