Aptana Studio
  1. Aptana Studio
  2. APSTUD-3494

Could not open the editor: The editor class could not be instantiated

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: Aptana Studio 3.0.5
    • Fix Version/s: Aptana Studio 3.0.5
    • Component/s: editor
    • Labels:
    • Environment:

      Description

      I have updated aptana to the latest beta version available (Aptana Studio 3, build: 3.0.5.201109161720) and editors are not works anymore.

      Error title:
      Could not open the editor: The editor class could not be instantiated. This usually indicates a missing no-arg constructor or that the editor's class name was mistyped in plugin.xml.

      I get the following errors when open *.txt files:

      java.lang.NoClassDefFoundError: com/aptana/editor/common/AbstractThemeableEditor
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClassCond(Unknown Source)
      	at java.lang.ClassLoader.defineClass(Unknown Source)
      	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
      	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
              ...
      

      *.php files:

      org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle com.aptana.editor.common (441).
      	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:121)
      	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
      	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
              ...
      

      I've tried to cancel the latest update but this also gives me error:

      An error occurred while collecting items to be installed
      session context was:(profile=AptanaProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
      No repository found containing: org.eclipse.update.feature,com.aptana.feature,3.0.4.1316121758-BJ7D8HBWHCz0z0dyfc51DC34EViB
      No repository found containing: org.eclipse.update.feature,com.aptana.feature.rcp,3.0.5.201109151555-7k7aDYFFtFz01NmOz-3h4U0FIZfn
      No repository found containing: org.eclipse.update.feature,com.aptana.feature.studio,3.0.5.201109151520-7E37D7HFENG_LaLQ4S_IyJetqJii
      No repository found containing: org.eclipse.update.feature,com.aptana.php.feature,3.0.3.1315606822-7D-27CE8KN5NTBB
      No repository found containing: org.eclipse.update.feature,org.radrails.rails,3.0.3.201109151515-7e-7Q7f4b9IeYwGW
      
      1. .log
        98 kB
        Vova Yatsyuk

        Issue Links

          Activity

          Hide
          Raphael von der Grün added a comment - - edited

          Same problem here

          Show
          Raphael von der Grün added a comment - - edited Same problem here
          Hide
          Ingo Muschenetz added a comment -

          Thanks. We'll get on that ASAP.

          Show
          Ingo Muschenetz added a comment - Thanks. We'll get on that ASAP.
          Hide
          Raphael von der Grün added a comment -

          I found that when using "Open with" -> "Text Editor" (the one without "Studio") it opens the files correctly (but without highlighting and other language specific features of course).

          Show
          Raphael von der Grün added a comment - I found that when using "Open with" -> "Text Editor" (the one without "Studio") it opens the files correctly (but without highlighting and other language specific features of course).
          Hide
          Ingo Muschenetz added a comment -

          Just pushed an update. Can you try that to see if it helps? It's a quick fix--we'll push another one later.

          Show
          Ingo Muschenetz added a comment - Just pushed an update. Can you try that to see if it helps? It's a quick fix--we'll push another one later.
          Hide
          Vova Yatsyuk added a comment -

          Yes, editors now works fine. Thank you.

          Show
          Vova Yatsyuk added a comment - Yes, editors now works fine. Thank you.
          Hide
          Nestor added a comment -

          works now

          Show
          Nestor added a comment - works now
          Hide
          Joel Witt (Inactive) added a comment -

          Aptana Studio 3, build: 3.0.5.201109222016
          Ubuntu 10.10

          Verified Studio successfully opens txt files with txt editor.

          Show
          Joel Witt (Inactive) added a comment - Aptana Studio 3, build: 3.0.5.201109222016 Ubuntu 10.10 Verified Studio successfully opens txt files with txt editor.

            People

            • Assignee:
              Michael Xia (Inactive)
              Reporter:
              Vova Yatsyuk
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development