java.lang.UnsupportedOperationException: unknown type of IBody : class org.apache.poi.xwpf.usermodel.XWPFFooter

GitHub | jpequery | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Table in Footer (and probably header) are not supported

    GitHub | 9 months ago | jpequery
    java.lang.UnsupportedOperationException: unknown type of IBody : class org.apache.poi.xwpf.usermodel.XWPFFooter

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      unknown type of IBody : class org.apache.poi.xwpf.usermodel.XWPFFooter

      at org.obeonetwork.m2doc.generator.TemplateProcessor.caseTable()
    2. org.obeonetwork.m2doc
      TemplateSwitch.doSwitch
      1. org.obeonetwork.m2doc.generator.TemplateProcessor.caseTable(TemplateProcessor.java:485)
      2. org.obeonetwork.m2doc.generator.TemplateProcessor.caseTable(TemplateProcessor.java:1)
      3. org.obeonetwork.m2doc.template.util.TemplateSwitch.doSwitch(TemplateSwitch.java:173)
      3 frames
    3. org.eclipse.emf.ecore
      Switch.doSwitch
      1. org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:53)
      2. org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:69)
      2 frames
    4. org.obeonetwork.m2doc
      TemplateSwitch.doSwitch
      1. org.obeonetwork.m2doc.generator.TemplateProcessor.caseTemplate(TemplateProcessor.java:208)
      2. org.obeonetwork.m2doc.generator.TemplateProcessor.caseTemplate(TemplateProcessor.java:1)
      3. org.obeonetwork.m2doc.template.util.TemplateSwitch.doSwitch(TemplateSwitch.java:149)
      3 frames
    5. org.eclipse.emf.ecore
      Switch.doSwitch
      1. org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:53)
      2. org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:69)
      2 frames
    6. org.obeonetwork.m2doc
      GenerateHandler.execute
      1. org.obeonetwork.m2doc.generator.DocumentGenerator.generate(DocumentGenerator.java:153)
      2. org.obeonetwork.m2doc.ui.command.GenerateHandler.generate(GenerateHandler.java:188)
      3. org.obeonetwork.m2doc.ui.command.GenerateHandler.execute(GenerateHandler.java:93)
      3 frames
    7. Workbench
      HandlerProxy.execute
      1. org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
      1 frame
    8. Commands
      ParameterizedCommand.executeWithChecks
      1. org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
      2. org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
      2 frames
    9. Workbench
      CommandContributionItem$5.handleEvent
      1. org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
      2. org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
      3. org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
      4. org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:829)
      5. org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:815)
      6. org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:805)
      6 frames
    10. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
      4 frames
    11. Eclipse UI
      Workbench$7.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
      4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
      4 frames
    12. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    13. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
      1 frame
    14. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    15. org.polarsys.capella
      CapellaApplication.start
      1. org.polarsys.capella.core.platform.sirius.ui.app.CapellaApplication.start(CapellaApplication.java:113)
      1 frame
    16. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    17. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
      4 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    19. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1438)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1414)
      4 frames