projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altoslib: Set default logging directory to $HOME/AltusMetrum
[fw/altos]
/
altoslib
/
AltosJson.java
diff --git
a/altoslib/AltosJson.java
b/altoslib/AltosJson.java
index cbeeee8785ba26319f60fc439af0b6a142987a37..1c3a342df12504130095def04323323e59877253 100644
(file)
--- a/
altoslib/AltosJson.java
+++ b/
altoslib/AltosJson.java
@@
-1218,6
+1218,10
@@
public class AltosJson extends JsonUtil {
} else if (object instanceof String) {
type = type_string;
string = (String) object;
} else if (object instanceof String) {
type = type_string;
string = (String) object;
+ } else if (object == null) {
+ System.out.printf("unexpected null object\n");
+ } else if (object.getClass() == null) {
+ System.out.printf("unexpected null object class\n");
} else if (object.getClass().isArray()) {
assert_array(true);
} else if (object.getClass().isArray()) {
assert_array(true);