Bug 3295 - cas-proxy-init throws exception instead of displaying help menu
: cas-proxy-init throws exception instead of displaying help menu
Status: RESOLVED FIXED
: CAS/SAML utilities
CAS
: 3.9.5
: Other Linux
: P3 normal
: 4.0.1
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2005-05-05 03:49 by
Modified: 2005-05-05 09:53 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-05-05 03:49:37
cas-proxy-init if executed with out any options throws below exception instead
of displaying help menu.
Exception in thread "main" Error during startup processing. Caused by
org.globus.cas.impl.client.CasClientException: Invalid instance URL
        at org.globus.cas.impl.client.CasProxyHelper.<init>(CasProxyHelper.java:102)
        at org.globus.cas.impl.client.CasProxyInit.main(CasProxyInit.java:93)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
        at java.lang.reflect.Method.invoke(Method.java:391)
        at org.globus.bootstrap.BootstrapBase.launch(BootstrapBase.java:92)
        at org.globus.bootstrap.Bootstrap.main(Bootstrap.java:34)
------- Comment #1 From 2005-05-05 09:01:24 -------
This client picks up values by default or from environment variables. So it can 
work without any command line paramters. The issue here is that environment 
variables being empty is not being checked. I have committed a fix for that to 
trunk and globus_4_0_branch.

So while you will see a help message only when you do a -help, you should see a 
better error about missing arguments when run with no command line arguments.

Rachana
------- Comment #2 From 2005-05-05 09:38:23 -------
Thanks Rachana!  Please updated the target.  I assume it is 4.0.1?