products forums blog support careers about
  History | Log In     View a printable version of the current page.  
PRO USERS, to ensure 'PRIORITY SUPPORT' make sure that your ASAP account is "tagged" when you file the request. Click here for instructions on how to tag your account.
Issue Details (XML | Word | Printable)

Key: ROR-416
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Chris Williams
Reporter: Scott Bronson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Aptana RadRails

Null pointer error when checking if Rails is installed

Created: 01/Feb/08 07:44 PM   Updated: 05/Feb/08 02:13 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.0

Impact on Workflow: Critical
Studio Install Type: Eclipse Plugin
Operating System: Ubuntu
Participants: Chris Williams and Scott Bronson


 Description  « Hide
A dialog pops up saying, "Checking if rails is installed Reason: java.lang.NullPointerException"

An internal error occurred during: "Checking if rails is installed".
java.lang.NullPointerException

This appears to be the relevant log entry:

!ENTRY org.eclipse.core.jobs 4 2 2008-02-02 00:35:48.764
!MESSAGE An internal error occurred during: "Checking if rails is installed".
!STACK 0
java.lang.NullPointerException
at com.aptana.rdt.AptanaRDTPlugin.checkBinDir(AptanaRDTPlugin.java:520)
at org.radrails.rails.internal.core.RailsPlugin.buildBinExecutablePath(RailsPlugin.java:418)
at org.radrails.rails.internal.core.RailsPlugin.getRailsPath(RailsPlugin.java:377)
at org.radrails.rails.internal.ui.RailsInstalledChecker.checkRailsInstalled(RailsInstalledChecker.java:68)
at org.radrails.rails.internal.ui.RailsInstalledChecker.run(RailsInstalledChecker.java:51)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

These two are probably unrelated but show up at the same time... Are they related, should I open separate bugs for them, or are they ignorable?

!ENTRY org.eclipse.osgi 2 0 2008-02-02 00:34:36.438
!MESSAGE While loading class "org.eclipse.mylyn.internal.tasks.ui.WorkspaceAwareContextStore", thread "Thread[main,6,main]" timed out waiting (5000ms) for thread "Thread[Worker-0,5,main]" to finish starting bundle "update@plugins/org.eclipse.mylyn.tasks.ui_2.1.0.v20070927-0900.jar [197]". To avoid deadlock, thread "Thread[main,6,main]" is proceeding but "org.eclipse.mylyn.internal.tasks.ui.WorkspaceAwareContextStore" may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: State change in progress for bundle "update@plugins/org.eclipse.mylyn.tasks.ui_2.1.0.v20070927-0900.jar" by thread "Worker-0".
at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1141)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:258)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:408)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
... etc

and

!ENTRY com.aptana.rdt 4 -1 2008-02-02 00:35:49.439
!MESSAGE Internal Error
!STACK 1
org.eclipse.core.runtime.CoreException: Main type not specified
at org.rubypeople.rdt.launching.AbstractRubyLaunchConfigurationDelegate.abort(AbstractRubyLaunchConfigurationDelegate.java:47)
at org.rubypeople.rdt.launching.AbstractRubyLaunchConfigurationDelegate.verifyFileToLaunch(AbstractRubyLaunchConfigurationDelegate.java:393)
at org.rubypeople.rdt.launching.RubyLaunchDelegate.launch(RubyLaunchDelegate.java:50)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:766)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:608)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:601)
at com.aptana.rdt.internal.core.gems.GemManager.launchInBackgroundAndRead(GemManager.java:205)
at com.aptana.rdt.internal.core.gems.GemManager.launchInBackgroundAndRead(GemManager.java:242)
at com.aptana.rdt.internal.core.gems.GemManager.addSourceURL(GemManager.java:546)
at com.aptana.rdt.internal.core.gems.GemManager$5.run(GemManager.java:742)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SUBENTRY 1 org.rubypeople.rdt.launching 4 101 2008-02-02 00:35:49.439
!MESSAGE Main type not specified



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Change by Dima Geller - 05/Feb/08 01:00 PM
Field Original Value New Value
Status Open [ 1 ] Reviewed [ 10000 ]

Change by Dima Geller - 05/Feb/08 01:00 PM
Importance Average <span style="color:red; font-weight:bold;">Critical</span>
Priority Unprioritized [ 6 ] Critical [ 2 ]
Fix Version/s 1.0.0 [ 10020 ]

Change by Chris Williams - 05/Feb/08 02:13 PM
Resolution Fixed [ 1 ]
Status Reviewed [ 10000 ] Resolved [ 5 ]

Change by Ingo Muschenetz - 27/May/08 05:38 PM
Workflow External-Open [ 12668 ] External-Open v2 [ 15297 ]