java.lang.IllegalAccessError: tried to access method org.raml.parser.visitor.YamlDocumentBuilder.getResourceLoader()Lorg/raml/parser/loader/ResourceLoader; from class org.mule.raml.implv1.parser.visitor.RamlDocumentBuilderImpl

GitHub | javaduke | 7 months 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

    IllegalAccessError when trying to generate flows from RAML

    GitHub | 7 months ago | javaduke
    java.lang.IllegalAccessError: tried to access method org.raml.parser.visitor.YamlDocumentBuilder.getResourceLoader()Lorg/raml/parser/loader/ResourceLoader; from class org.mule.raml.implv1.parser.visitor.RamlDocumentBuilderImpl

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access method org.raml.parser.visitor.YamlDocumentBuilder.getResourceLoader()Lorg/raml/parser/loader/ResourceLoader; from class org.mule.raml.implv1.parser.visitor.RamlDocumentBuilderImpl

      at org.mule.raml.implv1.parser.visitor.RamlDocumentBuilderImpl.addPathLookupFirst()
    2. org.mule.raml
      ParserV1Utils.validate
      1. org.mule.raml.implv1.parser.visitor.RamlDocumentBuilderImpl.addPathLookupFirst(RamlDocumentBuilderImpl.java:47)
      2. org.mule.raml.implv1.ParserV1Utils.validate(ParserV1Utils.java:25)
      2 frames
    3. org.mule.tools
      ScaffolderAPI.execute
      1. org.mule.tools.apikit.input.RAMLFilesParser.isValidRaml(RAMLFilesParser.java:116)
      2. org.mule.tools.apikit.input.RAMLFilesParser.<init>(RAMLFilesParser.java:69)
      3. org.mule.tools.apikit.Scaffolder.<init>(Scaffolder.java:71)
      4. org.mule.tools.apikit.Scaffolder.createScaffolder(Scaffolder.java:63)
      5. org.mule.tools.apikit.Scaffolder.createScaffolder(Scaffolder.java:46)
      6. org.mule.tools.apikit.ScaffolderAPI.execute(ScaffolderAPI.java:101)
      6 frames
    4. org.mule.tooling
      APIKitScaffoldingAction.actionPerformed
      1. org.mule.tooling.lang.raml.actions.APIKitScaffoldingAction.actionPerformed(APIKitScaffoldingAction.java:44)
      1 frame
    5. IDEA
      ActionMenuItem$ActionTransmitter.actionPerformed
      1. com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:197)
      2. com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
      3. com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:156)
      4. com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:211)
      5. com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.lambda$actionPerformed$2(ActionMenuItem.java:304)
      6. com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:905)
      7. com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124)
      8. com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:284)
      8 frames
    6. Java RT
      AbstractButton.fireActionPerformed
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
      1 frame
    7. IDEA
      BegMenuItemUI$MyMouseInputHandler.mouseReleased
      1. com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$0(ActionMenuItem.java:112)
      2. com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
      3. com.intellij.openapi.application.TransactionGuardImpl.access$300(TransactionGuardImpl.java:40)
      4. com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:113)
      5. com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:123)
      6. com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:109)
      7. com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:112)
      8. com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:513)
      9. com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:45)
      10. com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:533)
      10 frames
    8. Java RT
      EventQueue.dispatchEvent
      1. java.awt.Component.processMouseEvent(Component.java:6533)
      2. javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
      3. java.awt.Component.processEvent(Component.java:6298)
      4. java.awt.Container.processEvent(Container.java:2236)
      5. java.awt.Component.dispatchEventImpl(Component.java:4889)
      6. java.awt.Container.dispatchEventImpl(Container.java:2294)
      7. java.awt.Component.dispatchEvent(Component.java:4711)
      8. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
      9. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
      10. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
      11. java.awt.Container.dispatchEventImpl(Container.java:2280)
      12. java.awt.Window.dispatchEventImpl(Window.java:2746)
      13. java.awt.Component.dispatchEvent(Component.java:4711)
      14. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
      15. java.awt.EventQueue.access$500(EventQueue.java:97)
      16. java.awt.EventQueue$3.run(EventQueue.java:709)
      17. java.awt.EventQueue$3.run(EventQueue.java:703)
      18. java.security.AccessController.doPrivileged(Native Method)
      19. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      20. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
      21. java.awt.EventQueue$4.run(EventQueue.java:731)
      22. java.awt.EventQueue$4.run(EventQueue.java:729)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      25. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
      25 frames
    9. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:863)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:695)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      3 frames
    10. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      6 frames