Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty string is passed as null #43

Open
InTheCloudDan opened this issue Oct 5, 2017 · 0 comments
Open

Empty string is passed as null #43

InTheCloudDan opened this issue Oct 5, 2017 · 0 comments

Comments

@InTheCloudDan
Copy link

I'm not sure if this is a regression from: https://bugs.launchpad.net/jmxterm/+bug/319064

But I'm trying to pass in an empty string and it keeps getting converted to null:

$>run forceKeyspaceCleanup keyspace1 ""
#calling operation forceKeyspaceCleanup of mbean org.apache.cassandra.db:type=StorageService with params [keyspace1, null]
javax.management.RuntimeMBeanException: java.lang.NullPointerException
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:821)

I also tried with double quotes around keyspace1 and it had the same output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant