Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-939

UICompleter.getCompletionProposals(InputComponent, String proposal) throws ClassNotFoundException when the first argument is not null

XMLWordPrintable

    • Hide
      1. Inside a UICommand, in the method initializeUI, set a UICompleter for a UIInput
      2. In Eclipse, open the UICommand (CTRL+5) by choosing from the list
      3. Press Ctrl+Space in the field represented by the UIInput with the UICompleter set

      PS: You can test using the Install new Addon wizard and removing the comment in the line this.component = component in org.jboss.tools.forge.ui.ext.autocomplete.InputComponentProposalProvider

      Show
      Inside a UICommand, in the method initializeUI, set a UICompleter for a UIInput In Eclipse, open the UICommand (CTRL+5) by choosing from the list Press Ctrl+Space in the field represented by the UIInput with the UICompleter set PS: You can test using the Install new Addon wizard and removing the comment in the line this.component = component in org.jboss.tools.forge.ui.ext.autocomplete.InputComponentProposalProvider
    • High

      In order to test this, org.jboss.tools.forge.ui.ext.autocomplete.InputComponentProposalProvider should be changed to pass the component, instead of null. Check the sources for more detail.

      StackTrace:

      Caused by: java.lang.RuntimeException: by java.lang.NoClassDefFoundError: org/jboss/forge/addon/ui/input/UIInput
              at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:515)
              at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:492)
              at javassist.util.proxy.ProxyFactory.createClass1(ProxyFactory.java:428)
              at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:400)
              at org.jboss.forge.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:447)
              at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
              at org.jboss.forge.proxy.ClassLoaderAdapterCallback.enhance(ClassLoaderAdapterCallback.java:387)
              ... 50 more
      Caused by: javassist.CannotCompileException: by java.lang.NoClassDefFoundError: org/jboss/forge/addon/ui/input/UIInput
              at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:170)
              at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:507)
              ... 56 more
      Caused by: java.lang.NoClassDefFoundError: org/jboss/forge/addon/ui/input/UIInput
              at java.lang.ClassLoader.defineClass1(Native Method)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
              at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:601)
              at javassist.util.proxy.FactoryHelper.toClass2(FactoryHelper.java:182)
              at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:164)
              ... 57 more
      Caused by: java.lang.ClassNotFoundException: org.jboss.forge.addon.ui.input.UIInput from [Module "org.jboss.forge.addon.facets:2.0.0-SNAPSHOT_75535033-c663-4a8d-98a3-f12aa5cb7806" from AddonModuleLoader]
              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:196)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:444)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:432)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:374)
              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:119)
      

              lincolnthree Lincoln Baxter III (Inactive)
              rhn-support-ggastald George Gastaldi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: