Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-2745

Performance: studio hangs with !MESSAGE While loading class "com.aptana.webserver.core.WebServerCorePlugin"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: Titanium Studio 3.0.0
    • Fix Version/s: None
    • Component/s: Usability
    • Environment:

      Titanium Studio: 3.0.0.201211071923
      Titanium SDK: 3.0.0.v20121107151610
      OS: Mountain Lion 10.8.2

      Description

      After studio update, studio froze for a few seconds and this was in the log:

      !ENTRY org.eclipse.osgi 2 0 2012-11-08 12:32:26.033
      !MESSAGE While loading class "com.aptana.webserver.core.WebServerCorePlugin", thread "Thread[Worker-14,5,main]" timed out waiting (5001ms) for thread "Thread[Worker-1,5,main]" to finish starting bundle "com.aptana.webserver.core_3.0.0.1347887896 [134]". To avoid deadlock, thread "Thread[Worker-14,5,main]" is proceeding but "com.aptana.webserver.core.WebServerCorePlugin" may not be fully initialized.
      !STACK 0
      org.osgi.framework.BundleException: State change in progress for bundle "reference:file:plugins/com.aptana.webserver.core_3.0.0.1347887896.jar" by thread "Worker-1".
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1087)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:297)
      	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
      	at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
      	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:463)
      	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
      	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
      	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      	at com.appcelerator.titanium.acs.core.ACSCorePlugin.getServerManager(ACSCorePlugin.java:131)
      	at com.appcelerator.titanium.acs.core.ACSCorePlugin$ACCSInitializer.run(ACSCorePlugin.java:166)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
      	... 17 more
      Root exception:
      org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1087)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:297)
      	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
      	at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
      	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:463)
      	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
      	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
      	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      	at com.appcelerator.titanium.acs.core.ACSCorePlugin.getServerManager(ACSCorePlugin.java:131)
      	at com.appcelerator.titanium.acs.core.ACSCorePlugin$ACCSInitializer.run(ACSCorePlugin.java:166)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
       
      !ENTRY org.eclipse.osgi 2 0 2012-11-08 12:32:31.039
      !MESSAGE While loading class "com.aptana.webserver.core.IServerManager", thread "Thread[Worker-14,5,main]" timed out waiting (5001ms) for thread "Thread[Worker-1,5,main]" to finish starting bundle "com.aptana.webserver.core_3.0.0.1347887896 [134]". To avoid deadlock, thread "Thread[Worker-14,5,main]" is proceeding but "com.aptana.webserver.core.IServerManager" may not be fully initialized.
      !STACK 0
      org.osgi.framework.BundleException: State change in progress for bundle "reference:file:plugins/com.aptana.webserver.core_3.0.0.1347887896.jar" by thread "Worker-1".
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1087)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:297)
      	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
      	at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
      	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:463)
      	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
      	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
      	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      	at com.appcelerator.titanium.acs.core.ACSCorePlugin$ACCSInitializer.run(ACSCorePlugin.java:170)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
      	... 16 more
      Root exception:
      org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1087)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:297)
      	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
      	at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
      	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:463)
      	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
      	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
      	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      	at com.appcelerator.titanium.acs.core.ACSCorePlugin$ACCSInitializer.run(ACSCorePlugin.java:170)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

      Steps to Reproduce:

      1. Update studio, restart studio.
      2. Studio intermittently hangs for a few seconds with a beach ball.
      3. View log.

      Actual Result:

      Noted error.

      Expected Result:

      No errors, no hangs.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mxia Michael Xia
                Reporter:
                dhyde Dustin Hyde
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: