aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/icedteanp/IcedTeaPluginRequestProcessor.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugin/icedteanp/IcedTeaPluginRequestProcessor.cc b/plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
index 9d459b2..a9ad33d 100644
--- a/plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
+++ b/plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
@@ -810,7 +810,9 @@ _getMember(void* data)
{
createJavaObjectFromVariant(instance, *member_ptr, &member_ptr_str);
((AsyncCallThreadData*) data)->result.append(member_ptr_str);
-
+ } else
+ {
+ ((AsyncCallThreadData*) data)->result.append("null");
}
((AsyncCallThreadData*) data)->result_ready = true;
@@ -956,6 +958,9 @@ _getString(void* data)
if (((AsyncCallThreadData*) data)->call_successful)
{
createJavaObjectFromVariant(instance, tostring_result, &(((AsyncCallThreadData*) data)->result));
+ } else
+ {
+ ((AsyncCallThreadData*) data)->result.append("null");
}
((AsyncCallThreadData*) data)->result_ready = true;