Bugzilla – Bug 3295
cas-proxy-init throws exception instead of displaying help menu
Last modified: 2005-05-05 09:53:38
You need to log in before you can comment on or make changes to this bug.
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)
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
Thanks Rachana! Please updated the target. I assume it is 4.0.1?