Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: JRuby 1.6.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      From https://aptanastudio.tenderapp.com/discussions/problems/3334-cannot-install

      An error occurred while processing the invoke block for the command Install Bundle in U:\3.7\configuration\org.eclipse.osgi\bundles\1519\1.cp\bundles\bundle-development.ruble\commands\install_bundle.rb: (TypeError) cannot convert instance of class org.jruby.java.proxies.ConcreteJavaProxy to interface org.eclipse.jface.viewers.IStructuredContentProvider 
      org.jruby.exceptions.RaiseException: (TypeError) cannot convert instance of class org.jruby.java.proxies.ConcreteJavaProxy to interface org.eclipse.jface.viewers.IStructuredContentProvider
      at #<Class:0x1011f84de>.request_item(U:/3.7/configuration/org.eclipse.osgi/bundles/1520/1/.cp/framework/ruble/ui.rb:147)
      at #<Class:0x10018f9d7>.define_command(U:\3.7\configuration\org.eclipse.osgi\bundles\1519\1\.cp\bundles\bundle-development.ruble\commands\install_bundle.rb:51)
      at org.jruby.RubyProc.call(org/jruby/RubyProc.java:268)
      at org.jruby.RubyProc.call(org/jruby/RubyProc.java:232)
      

      The code in question is, specifically line 2 here:

      ui.rb
      dialog = org.eclipse.ui.dialogs.ListDialog.new(shell)
      dialog.content_provider = org.eclipse.jface.viewers.ArrayContentProvider.new
      dialog.label_provider = org.eclipse.jface.viewers.LabelProvider.new
      dialog.input = items
      

      in ListDialog, here's the method being called:

      ListDialog.java
      public void setContentProvider(IStructuredContentProvider sp) {
        fContentProvider = sp;
      }
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Christopher Williams
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: