Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 350842

Summary: [Gogo] odd output when connecting over telnet
Product: [RT] Virgo Reporter: Chris Frost <eclipse>
Component: unknownAssignee: Borislav Kapukaranov <b.kapukaranov>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: b.kapukaranov, glyn.normington, l.kirchev
Version: 3.0.0.M06   
Target Milestone: 3.0.0.RC1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on: 352195    
Bug Blocks:    
Attachments:
Description Flags
Fixed initialization script in Apache Felix Gogo shell bundle none

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.