Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-778

Installing a Java-based rule into Windup results in an IllegalStateException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.4.0.CR2
    • None
    • None
    • None

      I was testing the ejb-beanutils-async windupquickstart, I was able to succefully build and install it to the maven repository. However, when I tried to install it to Windup, I got the following exception:

      windup-distribution-2.4.0.CR1 $ bin/windup --install org.jboss.windup.quickstarts:windup-ejb-beanutils-async-rules-java
      Using Windup at /home/sgilda/Downloads/Windup/windup-distribution-2.4.0.CR1
      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
      In: org.jboss.windup.quickstarts:windup-ejb-beanutils-async-rules-java, Out: org.jboss.windup.quickstarts:windup-ejb-beanutils-async-rules-java
      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      SLF4J: Defaulting to no-operation (NOP) logger implementation
      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      java.lang.IllegalStateException: No default mutable repository found in Furnace instance. Have you added one using furnace.addRepository(AddonRepositoryMode.MUTABLE, repository) ?
      at org.jboss.forge.furnace.manager.impl.AddonManagerImpl.getDefaultRepository(AddonManagerImpl.java:271)
      at org.jboss.forge.furnace.manager.impl.AddonManagerImpl.install(AddonManagerImpl.java:78)
      at org.jboss.windup.bootstrap.commands.addons.InstallAddonCommand.install(InstallAddonCommand.java:100)
      at org.jboss.windup.bootstrap.commands.addons.InstallAddonCommand.execute(InstallAddonCommand.java:44)
      at org.jboss.windup.bootstrap.Bootstrap.executePhase(Bootstrap.java:286)
      at org.jboss.windup.bootstrap.Bootstrap.run(Bootstrap.java:144)
      at org.jboss.windup.bootstrap.Bootstrap.main(Bootstrap.java:95)
      > Forge version [2.19.0.Final]

            jsightle@redhat.com Jess Sightler
            sgilda_jira Sande Gilda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: