java.lang.AbstractMethodError: getTextContent

Atlassian JIRA | Roy Hartono [Atlassian] | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    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: {noformat} 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 {noformat} 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.

    Atlassian JIRA | 8 years ago | Roy Hartono [Atlassian]
    java.lang.AbstractMethodError: getTextContent
  2. 0

    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: {noformat} 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 {noformat} 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.

    Atlassian JIRA | 8 years ago | Roy Hartono [Atlassian]
    java.lang.AbstractMethodError: getTextContent

    Root Cause Analysis

    1. java.lang.AbstractMethodError

      getTextContent

      at com.atlassian.renderer.wysiwyg.DefaultWysiwygConverter.containsNoUserContent()
    2. com.atlassian.renderer
      DefaultWysiwygConverter.convertXHtmlToWikiMarkup
      1. com.atlassian.renderer.wysiwyg.DefaultWysiwygConverter.containsNoUserContent(DefaultWysiwygConverter.java:557)
      2. com.atlassian.renderer.wysiwyg.DefaultWysiwygConverter.isUserNewline(DefaultWysiwygConverter.java:551)
      3. com.atlassian.renderer.wysiwyg.DefaultWysiwygConverter.convertNode(DefaultWysiwygConverter.java:270)
      4. com.atlassian.renderer.wysiwyg.DefaultWysiwygConverter.convertChildren(DefaultWysiwygConverter.java:167)
      5. com.atlassian.renderer.wysiwyg.DefaultWysiwygConverter.convertNode(DefaultWysiwygConverter.java:202)
      6. com.atlassian.renderer.wysiwyg.DefaultWysiwygConverter.convertXHtmlToWikiMarkup(DefaultWysiwygConverter.java:796)
      6 frames
    3. com.atlassian.confluence
      DefaultConfluenceWysiwygConverter.convertXHtmlToWikiMarkup
      1. com.atlassian.confluence.pages.wysiwyg.DefaultConfluenceWysiwygConverter.convertXHtmlToWikiMarkup(DefaultConfluenceWysiwygConverter.java:54)
      2. com.atlassian.confluence.pages.wysiwyg.DefaultConfluenceWysiwygConverter.convertXHtmlToWikiMarkup(DefaultConfluenceWysiwygConverter.java:78)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    5. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    6. com.atlassian.spring
      SpringProfilingInterceptor.invoke
      1. com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20)
      1 frame
    7. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      1 frame
    8. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    9. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    10. Unknown
      $Proxy573.convertXHtmlToWikiMarkup
      1. $Proxy573.convertXHtmlToWikiMarkup(Unknown Source)
      1 frame
    11. com.atlassian.confluence
      ConfluenceWysiwygConverterDWRWrapper.convertXHtmlToWikiMarkupWithoutPage
      1. com.atlassian.confluence.pages.wysiwyg.ConfluenceWysiwygConverterDWRWrapper.convertXHtmlToWikiMarkupWithoutPage(ConfluenceWysiwygConverterDWRWrapper.java:82)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames