Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-3494

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mxia Michael Xia
                Reporter:
                yavva Vova Yatsyuk
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code