Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350842 - [Gogo] odd output when connecting over telnet
Summary: [Gogo] odd output when connecting over telnet
Status: CLOSED FIXED
Alias: None
Product: Virgo
Classification: RT
Component: unknown (show other bugs)
Version: 3.0.0.M06   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.0.0.RC1   Edit
Assignee: Borislav Kapukaranov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 352195
Blocks:
  Show dependency tree
 
Reported: 2011-06-30 10:21 EDT by Chris Frost CLA
Modified: 2011-07-25 05:48 EDT (History)
3 users (show)

See Also:


Attachments
Fixed initialization script in Apache Felix Gogo shell bundle (1.12 KB, application/octet-stream)
2011-07-13 09:19 EDT, Lazar Kirchev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Frost CLA 2011-06-30 10:21:32 EDT
When launching the shell via telnet into either the kernel or user region. 

[14:55:09 ~]: telnet localhost 2401
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
jar:file:/Users/cgfrost/Working/virgo-kernel-3.0.0.BUILD-SHELL/work/osgi/configuration/org.eclipse.osgi/bundles/44/1/bundlefile!/gosh_profile: ERROR: java.lang.RuntimeException: Command name evaluates to null: ${.context} bundle 0
osgi>

I'm thinking there is a command getting executed that shouldn't be, either way the output looks wrong.
Comment 1 Lazar Kirchev CLA 2011-07-11 08:33:08 EDT
Yes, I've seen this. Gogo executes a script with some initializations upon start, and one of the commands there could not be correctly executed.
Comment 2 Lazar Kirchev CLA 2011-07-13 09:19:06 EDT
Created attachment 199579 [details]
Fixed initialization script in Apache Felix Gogo shell bundle

The problem was in the initialization script in gosh_profile in gogo shell bundle. The attached file fixes the problem. The gogo shell bundle in the EBR repository should be updated with the fixed version of the script.
Comment 3 Borislav Kapukaranov CLA 2011-07-19 05:13:31 EDT
Closing this as by completing bug 352195 this fix will be integrated with Virgo.