JSON key not identified - Oracle DB - oracle

I have a table in oracle DB (version 12 c). One of the columns (my_json_data) hold json data. The json data in this table looks something like this (original key and values have been changed)
{"key0": [{"key17": [{"key22": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key26": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx"},
{"key20": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx",
"key22": "xxxxxxxxxxxxxx",
"key26": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx"},
{"key19": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx",
"key22": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx",
"key26": "xxxxxxxxxxxxxx"},
{"key22": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key26": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx"},
{"key21": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx",
"key26": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx",
"key22": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx"},
{"key20": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx",
"key22": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx",
"key26": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx"},
{"key26": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx",
"key22": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx"},
{"key23": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key22": "xxxxxxxxxxxxxx",
"key26": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx"},
{"key26": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx",
"key22": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx"},
{"key24": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx",
"key22": "xxxxxxxxxxxxxx",
"key26": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx"},
{"key25": "xxxxxxxxxxxxxx",
"key26": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key22": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx"},
{"key26": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx",
"key22": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx"},
{"key26": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key22": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx"},
{"key22": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx",
"key26": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx"},
{"key21": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx",
"key26": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx",
"key22": "xxxxxxxxxxxxxx"},
{"key24": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx",
"key22": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx",
"key26": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx"},
{"key22": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key26": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx"},
{"key23": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key22": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx",
"key26": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx"},
{"key26": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key22": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx"},
{"key23": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key22": "xxxxxxxxxxxxxx",
"key26": "xxxxxxxxxxxxxx",
"key25": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx"},
{"key25": "xxxxxxxxxxxxxx",
"key26": "xxxxxxxxxxxxxx",
"key23": "xxxxxxxxxxxxxx",
"key24": "xxxxxxxxxxxxxx",
"key22": "xxxxxxxxxxxxxx",
"key21": "xxxxxxxxxxxxxx",
"key18": "xxxxxxxxxxxxxx",
"key19": "xxxxxxxxxxxxxx",
"key20": "xxxxxxxxxxxxxx"}],
"key28": {"key40": "xxxxxxxxxxxxxx",
"key39": "xxxxxxxxxxxxxx",
"key38": "xxxxxxxxxxxxxx",
"key35": "xxxxxxxxxxxxxx",
"key36": "xxxxxxxxxxxxxx",
"key37": "xxxxxxxxxxxxxx",
"key34": "xxxxxxxxxxxxxx",
"key32": "xxxxxxxxxxxxxx",
"key33": "xxxxxxxxxxxxxx",
"key31": "xxxxxxxxxxxxxx",
"key29": "xxxxxxxxxxxxxx",
"key30": "xxxxxxxxxxxxxx"},
"key27": "xxxxxxxxxxxxxx",
"key41": "xxxxxxxxxxxxxx",
"key1": "xxxxxxxxxxxxxx",
"key3": {"key299": "xxxxxxxxxxxxxx",
"key11": "xxxxxxxxxxxxxx",
"key10": "xxxxxxxxxxxxxx",
"key15": "xxxxxxxxxxxxxx",
"key13": "xxxxxxxxxxxxxx",
"key14": "xxxxxxxxxxxxxx",
"key16": "xxxxxxxxxxxxxx",
"key6": "xxxxxxxxxxxxxx",
"key5": "xxxxxxxxxxxxxx",
"key4": "xxxxxxxxxxxxxx",
"key7": "xxxxxxxxxxxxxx",
"key9": "xxxxxxxxxxxxxx",
"key8": "xxxxxxxxxxxxxx"},
"key2": "xxxxxxxxxxxxxx",
"key55": [{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key56": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"}],
"key42": {"key33": "xxxxxxxxxxxxxx",
"key32": "xxxxxxxxxxxxxx",
"key34": "xxxxxxxxxxxxxx",
"key29": "xxxxxxxxxxxxxx",
"key30": "xxxxxxxxxxxxxx",
"key31": "xxxxxxxxxxxxxx",
"key39": "xxxxxxxxxxxxxx",
"key40": "xxxxxxxxxxxxxx",
"key35": "xxxxxxxxxxxxxx",
"key36": "xxxxxxxxxxxxxx",
"key37": "xxxxxxxxxxxxxx",
"key38": "xxxxxxxxxxxxxx"},
"key58": [{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"},
{"key59": "xxxxxxxxxxxxxx", "key57": "xxxxxxxxxxxxxx"}]}],
"key64": "xxxxxxxxxxxxxx",
"key62": "xxxxxxxxxxxxxx",
"key288": "xxxxxxxxxxxxxx",
"key277": "xxxxxxxxxxxxxx"}
Other columns in this table are user and login_date. I have also used "CHECK (my_json_data IS JSON) ENABLE" constraint while creating the table.
Here's the query I am running:
select mt., mt.login_date, mt.my_json_data, mt.my_json_data.key277, mt.my_json_data.key288, mt.my_json_data.key0
from my_table mt;
The issue is "mt.my_json_data.key0" is NULL for a few records. When I check the json data for these records, I see that the key 'key0' is present.
Json key 'key0' has an array value as seen in the sample json above.
Any reason why this is NULL? How do I resolve this issue?

Related

Ansible Debug output with_items, filtered output

Made some progress on my original issue, so this question is being rephrased...
---
- name: gather ilo info
hosts: localhost
gather_facts: no
vars:
ILOip:
- 192.168.1.100
tasks:
- name: gather ilo info
hpilo_info:
host: "{{ item }}"
login: Administrator
password: mypassword
delegate_to: localhost
register: ILOinfo
with_items: "{{ ILOip }}"
- debug: msg="{{ item['hw_system_serial'] }},{{ item['hw_health']['firmware_information']['iLO'] }},{{ item['hw_health']['firmware_information']['System ROM'] }}"
with_items: "{{ ILOinfo.results }}"
Output from this playbook, is as follows:
PLAY [gather ilo info] **********************************************************************************************************************************
TASK [gather ilo info] **********************************************************************************************************************************
ok: [localhost] => (item=192.168.1.100)
TASK [debug] ********************************************************************************************************************************************
ok: [localhost] => (item={u'hw_bios_version': u'P89', u'module_hw': True, u'hw_eth2': {u'macaddress': u'E0:07:1B:F6:3B:D6', u'macaddress_dash': u'E0-07-1B-F6-3B-D6'}, u'hw_memory_total': u'1024 GB', u'hw_system_serial': u'USE123AHPA', u'hw_health': {u'nic_information': {u'Slot 1': {u'network_port': u'Port 2', u'status': u'OK', u'port_description': u'HP Ethernet 10Gb 2-port 530SFP+ Adapter', u'location': u'Slot 1', u'mac_address': u'8c:dc:d4:0c:44:f4', u'ip_address': u'N/A'}, u'Slot 4': {u'network_port': u'Port 2', u'status': u'OK', u'port_description': u'HP Ethernet 10Gb 2-port 530SFP+ Adapter', u'location': u'Slot 4', u'mac_address': u'8c:dc:d4:0c:4b:1c', u'ip_address': u'N/A'}, u'Embedded': {u'network_port': u'Port 4', u'status': u'Unknown', u'port_description': u'HP Ethernet 1Gb 4-port 331i Adapter', u'location': u'Embedded', u'mac_address': u'e0:07:1b:f6:3b:d7', u'ip_address': u'N/A'}}, u'health_at_a_glance': {u'network': {u'status': u'OK'}, u'battery': {u'status': u'OK'}, u'storage': {u'status': u'OK'}, u'fans': {u'status': u'OK', u'redundancy': u'Redundant'}, u'bios_hardware': {u'status': u'OK'}, u'memory': {u'status': u'OK'}, u'power_supplies': {u'status': u'OK', u'redundancy': u'Redundant'}, u'processor': {u'status': u'OK'}, u'temperature': {u'status': u'OK'}}, u'temperature': {u'28-LOM Card': {u'status': u'OK', u'critical': u'N/A', u'caution': [100, u'Celsius'], u'location': u'I/O Board', u'currentreading': [59, u'Celsius'], u'label': u'28-LOM Card'}, u'07-P2 DIMM 7-12': {u'status': u'OK', u'critical': u'N/A', u'caution': [89, u'Celsius'], u'location': u'Memory', u'currentreading': [47, u'Celsius'], u'label': u'07-P2 DIMM 7-12'}, u'16-VR P1 Mem': {u'status': u'OK', u'critical': [120, u'Celsius'], u'caution': [115, u'Celsius'], u'location': u'System', u'currentreading': [37, u'Celsius'], u'label': u'16-VR P1 Mem'}, u'41-iLO Zone': {u'status': u'OK', u'critical': [95, u'Celsius'], u'caution': [90, u'Celsius'], u'location': u'System', u'currentreading': [49, u'Celsius'], u'label': u'41-iLO Zone'}, u'10-Chipset': {u'status': u'OK', u'critical': u'N/A', u'caution': [105, u'Celsius'], u'location': u'System', u'currentreading': [50, u'Celsius'], u'label': u'10-Chipset'}, u'14-VR P2': {u'status': u'OK', u'critical': [120, u'Celsius'], u'caution': [115, u'Celsius'], u'location': u'System', u'currentreading': [49, u'Celsius'], u'label': u'14-VR P2'}, u'08-HD Max': {u'status': u'OK', u'critical': u'N/A', u'caution': [60, u'Celsius'], u'location': u'System', u'currentreading': [35, u'Celsius'], u'label': u'08-HD Max'}, u'06-P2 DIMM 1-6': {u'status': u'OK', u'critical': u'N/A', u'caution': [89, u'Celsius'], u'location': u'Memory', u'currentreading': [42, u'Celsius'], u'label': u'06-P2 DIMM 1-6'}, u'44-Fuse': {u'status': u'OK', u'critical': u'N/A', u'caution': [100, u'Celsius'], u'location': u'Power Supply', u'currentreading': [42, u'Celsius'], u'label': u'44-Fuse'}, u'24-PCI 4': {u'status': u'OK', u'critical': u'N/A', u'caution': [100, u'Celsius'], u'location': u'I/O Board', u'currentreading': [45, u'Celsius'], u'label': u'24-PCI 4'}, u'05-P1 DIMM 7-12': {u'status': u'OK', u'critical': u'N/A', u'caution': [89, u'Celsius'], u'location': u'Memory', u'currentreading': [44, u'Celsius'], u'label': u'05-P1 DIMM 7-12'}, u'36-PCI 6 Zone': {u'status': u'OK', u'critical': [75, u'Celsius'], u'caution': [70, u'Celsius'], u'location': u'I/O Board', u'currentreading': [40, u'Celsius'], u'label': u'36-PCI 6 Zone'}, u'38-I/O Zone': {u'status': u'OK', u'critical': [80, u'Celsius'], u'caution': [75, u'Celsius'], u'location': u'System', u'currentreading': [41, u'Celsius'], u'label': u'38-I/O Zone'}, u'25-PCI 5': {u'status': u'OK', u'critical': u'N/A', u'caution': [100, u'Celsius'], u'location': u'I/O Board', u'currentreading': [43, u'Celsius'], u'label': u'25-PCI 5'}, u'03-CPU 2': {u'status': u'OK', u'critical': u'N/A', u'caution': [70, u'Celsius'], u'location': u'CPU', u'currentreading': [40, u'Celsius'], u'label': u'03-CPU 2'}, u'37-HD Cntlr Zone': {u'status': u'OK', u'critical': u'N/A', u'caution': [75, u'Celsius'], u'location': u'I/O Board', u'currentreading': [54, u'Celsius'], u'label': u'37-HD Cntlr Zone'}, u'19-PS 1 Internal': {u'status': u'OK', u'critical': u'N/A', u'caution': u'N/A', u'location': u'Power Supply', u'currentreading': [40, u'Celsius'], u'label': u'19-PS 1 Internal'}, u'21-PCI 1': {u'status': u'OK', u'critical': u'N/A', u'caution': [100, u'Celsius'], u'location': u'I/O Board', u'currentreading': [49, u'Celsius'], u'label': u'21-PCI 1'}, u'30-Front Ambient': {u'status': u'OK', u'critical': u'N/A', u'caution': [65, u'Celsius'], u'location': u'Ambient', u'currentreading': [31, u'Celsius'], u'label': u'30-Front Ambient'}, u'33-PCI 3 Zone.': {u'status': u'OK', u'critical': [75, u'Celsius'], u'caution': [70, u'Celsius'], u'location': u'I/O Board', u'currentreading': [43, u'Celsius'], u'label': u'33-PCI 3 Zone.'}, u'34-PCI 4 Zone': {u'status': u'OK', u'critical': [75, u'Celsius'], u'caution': [70, u'Celsius'], u'location': u'I/O Board', u'currentreading': [40, u'Celsius'], u'label': u'34-PCI 4 Zone'}, u'02-CPU 1': {u'status': u'OK', u'critical': u'N/A', u'caution': [70, u'Celsius'], u'location': u'CPU', u'currentreading': [45, u'Celsius'], u'label': u'02-CPU 1'}, u'32-PCI 2 Zone.': {u'status': u'OK', u'critical': [75, u'Celsius'], u'caution': [70, u'Celsius'], u'location': u'I/O Board', u'currentreading': [43, u'Celsius'], u'label': u'32-PCI 2 Zone.'}, u'27-HD Controller': {u'status': u'OK', u'critical': u'N/A', u'caution': [100, u'Celsius'], u'location': u'I/O Board', u'currentreading': [70, u'Celsius'], u'label': u'27-HD Controller'}, u'23-PCI 3': {u'status': u'Not Installed', u'critical': u'N/A', u'caution': u'N/A', u'location': u'I/O Board', u'currentreading': u'N/A', u'label': u'23-PCI 3'}, u'31-PCI 1 Zone.': {u'status': u'OK', u'critical': [75, u'Celsius'], u'caution': [70, u'Celsius'], u'location': u'I/O Board', u'currentreading': [42, u'Celsius'], u'label': u'31-PCI 1 Zone.'}, u'22-PCI 2': {u'status': u'OK', u'critical': u'N/A', u'caution': [100, u'Celsius'], u'location': u'I/O Board', u'currentreading': [45, u'Celsius'], u'label': u'22-PCI 2'}, u'15-VR P1 Mem': {u'status': u'OK', u'critical': [120, u'Celsius'], u'caution': [115, u'Celsius'], u'location': u'System', u'currentreading': [39, u'Celsius'], u'label': u'15-VR P1 Mem'}, u'11-PS 1 Inlet': {u'status': u'OK', u'critical': u'N/A', u'caution': u'N/A', u'location': u'Power Supply', u'currentreading': [31, u'Celsius'], u'label': u'11-PS 1 Inlet'}, u'26-PCI 6': {u'status': u'Not Installed', u'critical': u'N/A', u'caution': u'N/A', u'location': u'I/O Board', u'currentreading': u'N/A', u'label': u'26-PCI 6'}, u'04-P1 DIMM 1-6': {u'status': u'OK', u'critical': u'N/A', u'caution': [89, u'Celsius'], u'location': u'Memory', u'currentreading': [47, u'Celsius'], u'label': u'04-P1 DIMM 1-6'}, u'13-VR P1': {u'status': u'OK', u'critical': [120, u'Celsius'], u'caution': [115, u'Celsius'], u'location': u'System', u'currentreading': [51, u'Celsius'], u'label': u'13-VR P1'}, u'42-Rear HD Max': {u'status': u'Not Installed', u'critical': u'N/A', u'caution': u'N/A', u'location': u'System', u'currentreading': u'N/A', u'label': u'42-Rear HD Max'}, u'18-VR P2 Mem': {u'status': u'OK', u'critical': [120, u'Celsius'], u'caution': [115, u'Celsius'], u'location': u'System', u'currentreading': [38, u'Celsius'], u'label': u'18-VR P2 Mem'}, u'35-PCI 5 Zone': {u'status': u'OK', u'critical': [75, u'Celsius'], u'caution': [70, u'Celsius'], u'location': u'I/O Board', u'currentreading': [41, u'Celsius'], u'label': u'35-PCI 5 Zone'}, u'40-Battery Zone': {u'status': u'OK', u'critical': [80, u'Celsius'], u'caution': [75, u'Celsius'], u'location': u'System', u'currentreading': [43, u'Celsius'], u'label': u'40-Battery Zone'}, u'39-P/S 2 Zone': {u'status': u'OK', u'critical': u'N/A', u'caution': [70, u'Celsius'], u'location': u'System', u'currentreading': [43, u'Celsius'], u'label': u'39-P/S 2 Zone'}, u'01-Inlet Ambient': {u'status': u'OK', u'critical': [50, u'Celsius'], u'caution': [42, u'Celsius'], u'location': u'Ambient', u'currentreading': [13, u'Celsius'], u'label': u'01-Inlet Ambient'}, u'43-Storage Batt': {u'status': u'OK', u'critical': u'N/A', u'caution': [60, u'Celsius'], u'location': u'System', u'currentreading': [18, u'Celsius'], u'label': u'43-Storage Batt'}, u'09-Exp Bay Drive': {u'status': u'Not Installed', u'critical': u'N/A', u'caution': u'N/A', u'location': u'System', u'currentreading': u'N/A', u'label': u'09-Exp Bay Drive'}, u'17-VR P2 Mem': {u'status': u'OK', u'critical': [120, u'Celsius'], u'caution': [115, u'Celsius'], u'location': u'System', u'currentreading': [39, u'Celsius'], u'label': u'17-VR P2 Mem'}, u'20-PS 2 Internal': {u'status': u'OK', u'critical': u'N/A', u'caution': u'N/A', u'location': u'Power Supply', u'currentreading': [45, u'Celsius'], u'label': u'20-PS 2 Internal'}, u'29-LOM': {u'status': u'Not Installed', u'critical': u'N/A', u'caution': u'N/A', u'location': u'System', u'currentreading': u'N/A', u'label': u'29-LOM'}, u'12-PS 2 Inlet': {u'status': u'OK', u'critical': u'N/A', u'caution': u'N/A', u'location': u'Power Supply', u'currentreading': [39, u'Celsius'], u'label': u'12-PS 2 Inlet'}}, u'storage': {u'Controller on System Board': {u'status': u'OK', u'controller_status': u'OK', u'encryption_status': u'Not Enabled', u'encryption_csp_status': u'OK', u'logical_drives': [{u'status': u'OK', u'logical_drive_type': u'Data LUN', u'capacity': u'372 GiB', u'encryption_status': u'Not Encrypted', u'fault_tolerance': u'RAID 1/RAID 1+0', u'physical_drives': [{u'status': u'OK', u'capacity': u'372 GiB', u'encryption_status': u'Not Encrypted', u'fw_version': u'HPD8', u'label': u'Port 1I Box 3 Bay 2', u'drive_configuration': u'Configured', u'location': u'Port 1I Box 3 Bay 2', u'serial_number': u'S2GYNA0HB01344', u'marketing_capacity': u'400 GB', u'model': u'MO0400JFFCF', u'media_type': u'SSD'}, {u'status': u'OK', u'capacity': u'372 GiB', u'encryption_status': u'Not Encrypted', u'fw_version': u'HPD8', u'label': u'Port 1I Box 3 Bay 1', u'drive_configuration': u'Configured', u'location': u'Port 1I Box 3 Bay 1', u'serial_number': u'S2GYNA0HB01572', u'marketing_capacity': u'400 GB', u'model': u'MO0400JFFCF', u'media_type': u'SSD'}], u'label': u'01'}], u'fw_version': u'7.00', u'label': u'Controller on System Board', u'drive_enclosures': [{u'status': u'OK', u'drive_bay': 4, u'label': u'Port 1I Box 3'}, {u'status': u'OK', u'drive_bay': 4, u'label': u'Port 2I Box 0'}], u'serial_number': u'PDNLH0BRH481YC', u'model': u'Smart Array P440ar Controller', u'encryption_self_test_status': u'OK'}}, u'storage_discovery_status': u'Discovery Complete', u'fans': {u'Fan 2': {u'status': u'OK', u'speed': [19, u'Percentage'], u'zone': u'System', u'label': u'Fan 2'}, u'Fan 3': {u'status': u'OK', u'speed': [16, u'Percentage'], u'zone': u'System', u'label': u'Fan 3'}, u'Fan 1': {u'status': u'OK', u'speed': [16, u'Percentage'], u'zone': u'System', u'label': u'Fan 1'}, u'Fan 6': {u'status': u'OK', u'speed': [11, u'Percentage'], u'zone': u'System', u'label': u'Fan 6'}, u'Fan 4': {u'status': u'OK', u'speed': [11, u'Percentage'], u'zone': u'System', u'label': u'Fan 4'}, u'Fan 5': {u'status': u'OK', u'speed': [13, u'Percentage'], u'zone': u'System', u'label': u'Fan 5'}}, u'power_supply_summary': {u'power_system_redundancy': u'Redundant', u'present_power_reading': u'318 Watts', u'power_management_controller_firmware_version': u'1.0.9', u'high_efficiency_mode': u'Balanced', u'hp_power_discovery_services_redundancy_status': u'N/A'}, u'memory': {u'memory_details': {u'CPU_2': {u'socket 3': {u'status': u'Not Present', u'socket': 3, u'ranks': u'N/A', u'technology': u'N/A', u'part': {u'number': u'N/A'}, u'frequency': u'N/A', u'minimum_voltage': u'N/A', u'hp_smart_memory': u'N/A', u'type': u'N/A', u'size': u'N/A'}, u'socket 2': {u'status': u'Good, In Use', u'socket': 2, u'ranks': 4, u'technology': u'LRDIMM', u'part': {u'number': u'809085-091'}, u'frequency': u'2400 MHz', u'minimum_voltage': u'1.20 v', u'hp_smart_memory': u'Yes', u'type': u'DIMM DDR4', u'size': u'65536 MB'}, u'socket 1': {u'status': u'Good, In Use', u'socket': 1, u'ranks': 4, u'technology': u'LRDIMM', u'part': {u'number': u'809085-091'}, u'frequency': u'2400 MHz', u'minimum_voltage': u'1.20 v', u'hp_smart_memory': u'Yes', u'type': u'DIMM DDR4', u'size': u'65536 MB'}, u'socket 8': {u'status': u'Good, In Use', u'socket': 8, u'ranks': 4, u'technology': u'LRDIMM', u'part': {u'number': u'809085-091'}, u'frequency': u'2400 MHz', u'minimum_voltage': u'1.20 v', u'hp_smart_memory': u'Yes', u'type': u'DIMM DDR4', u'size': u'65536 MB'}, u'socket 7': {u'status': u'Not Present', u'socket': 7, u'ranks': u'N/A', u'technology': u'N/A', u'part': {u'number': u'N/A'}, u'frequency': u'N/A', u'minimum_voltage': u'N/A', u'hp_smart_memory': u'N/A', u'type': u'N/A', u'size': u'N/A'}, u'socket 12': {u'status': u'Good, In Use', u'socket': 12, u'ranks': 4, u'technology': u'LRDIMM', u'part': {u'number': u'809085-091'}, u'frequency': u'2400 MHz', u'minimum_voltage': u'1.20 v', u'hp_smart_memory': u'Yes', u'type': u'DIMM DDR4', u'size': u'65536 MB'}, u'socket 5': {u'status': u'Good, In Use', u'socket': 5, u'ranks': 4, u'technology': u'LRDIMM', u'part': {u'number': u'809085-091'}, u'frequency': u'2400 MHz', u'minimum_voltage': u'1.20 v', u'hp_smart_memory': u'Yes', u'type': u'DIMM DDR4', u'size': u'65536 MB'}, u'socket 10': {u'status': u'Not Present', u'socket': 10, u'ranks': u'N/A', u'technology': u'N/A', u'part': {u'number': u'N/A'}, u'frequency': u'N/A', u'minimum_voltage': u'N/A', u'hp_smart_memory': u'N/A', u'type': u'N/A', u'size': u'N/A'}, u'socket 9': {u'status': u'Good, In Use', u'socket': 9, u'ranks': 4, u'technology': u'LRDIMM', u'part': {u'number': u'809085-091'}, u'frequency': u'2400 MHz', u'minimum_voltage': u'1.20 v', u'hp_smart_memory': u'Yes', u'type': u'DIMM DDR4', u'size': u'65536 MB'}, u'socket 4': {u'status': u'Good, In Use', u'socket': 4, u'ranks': 4, u'technology': u'LRDIMM', u'part': {u'number': u'809085-091'}, u'frequency': u'2400 MHz', u'minimum_voltage': u'1.20 v', u'hp_smart_memory': u'Yes', u'type': u'DIMM DDR4', u'size': u'65536 MB'}, u'socket 11': {u'status': u'Good, In Use', u'socket': 11, u'ranks': 4, u'technology': u'LRDIMM', u'part': {u'number': u'809085-091'}, u'frequency': u'2400 MHz', u'minimum_voltage': u'1.20 v', u'hp_smart_memory': u'Yes', u'type': u'DIMM DDR4', u'size': u'65536 MB'}, u'socket 6': {u'status': u'Not Present', u'socket': 6, u'ranks': u'N/A', u'technology': u'N/A', u'part': {u'number': u'N/A'}, u'frequency': u'N/A', u'minimum_voltage': u'N/A', u'hp_smart_memory': u'N/A', u'type': u'N/A', u'size': u'N/A'}}, u'CPU_1': {u'socket 3': {u'status': u'Not Present', u'socket': 3, u'ranks': u'N/A', u'technology': u'N/A', u'part': {u'number': u'N/A'}, u'frequency': u'N/A', u'minimum_voltage': u'N/A', u'hp_smart_memory': u'N/A', u'type': u'N/A', u'size': u'N/A'}, u'socket 2': {u'status': u'Good, In Use', u'socket': 2, u'ranks': 4, u'technology': u'LRDIMM', u'part': {u'number': u'809085-091'}, u'frequency': u'2400 MHz', u'minimum_voltage': u'1.20 v', u'hp_smart_memory': u'Yes', u'type': u'DIMM DDR4', u'size': u'65536 MB'}, u'socket 1': {u'status': u'Good, In Use', u'socket': 1, u'ranks': 4, u'technology': u'LRDIMM', u'part': {u'number': u'809085-091'}, u'frequency': u'2400 MHz', u'minimum_voltage': u'1.20 v', u'hp_smart_memory': u'Yes', u'type': u'DIMM DDR4', u'size': u'65536 MB'}, u'socket 8': {u'status': u'Good, In Use', u'socket': 8, u'ranks': 4, u'technology': u'LRDIMM', u'part': {u'number': u'809085-091'}, u'frequency': u'2400 MHz', u'minimum_voltage': u'1.20 v', u'hp_smart_memory': u'Yes', u'type': u'DIMM DDR4', u'size': u'65536 MB'}, u'socket 7': {u'status': u'Not Present', u'socket': 7, u'ranks': u'N/A', u'technology': u'N/A', u'part': {u'number': u'N/A'}, u'frequency': u'N/A', u'minimum_voltage': u'N/A', u'hp_smart_memory': u'N/A', u'type': u'N/A', u'size': u'N/A'}, u'socket 12': {u'status': u'Good, In Use', u'socket': 12, u'ranks': 4, u'technology': u'LRDIMM', u'part': {u'number': u'809085-091'}, u'frequency': u'2400 MHz', u'minimum_voltage': u'1.20 v', u'hp_smart_memory': u'Yes', u'type': u'DIMM DDR4', u'size': u'65536 MB'}, u'socket 5': {u'status': u'Good, In Use', u'socket': 5, u'ranks': 4, u'technology': u'LRDIMM', u'part': {u'number': u'809085-091'}, u'frequency': u'2400 MHz', u'minimum_voltage': u'1.20 v', u'hp_smart_memory': u'Yes', u'type': u'DIMM DDR4', u'size': u'65536 MB'}, u'socket 10': {u'status': u'Not Present', u'socket': 10, u'ranks': u'N/A', u'technology': u'N/A', u'part': {u'number': u'N/A'}, u'frequency': u'N/A', u'minimum_voltage': u'N/A', u'hp_smart_memory': u'N/A', u'type': u'N/A', u'size': u'N/A'}, u'socket 9': {u'status': u'Good, In Use', u'socket': 9, u'ranks': 4, u'technology': u'LRDIMM', u'part': {u'number': u'809085-091'}, u'frequency': u'2400 MHz', u'minimum_voltage': u'1.20 v', u'hp_smart_memory': u'Yes', u'type': u'DIMM DDR4', u'size': u'65536 MB'}, u'socket 4': {u'status': u'Good, In Use', u'socket': 4, u'ranks': 4, u'technology': u'LRDIMM', u'part': {u'number': u'809085-091'}, u'frequency': u'2400 MHz', u'minimum_voltage': u'1.20 v', u'hp_smart_memory': u'Yes', u'type': u'DIMM DDR4', u'size': u'65536 MB'}, u'socket 11': {u'status': u'Good, In Use', u'socket': 11, u'ranks': 4, u'technology': u'LRDIMM', u'part': {u'number': u'809085-091'}, u'frequency': u'2400 MHz', u'minimum_voltage': u'1.20 v', u'hp_smart_memory': u'Yes', u'type': u'DIMM DDR4', u'size': u'65536 MB'}, u'socket 6': {u'status': u'Not Present', u'socket': 6, u'ranks': u'N/A', u'technology': u'N/A', u'part': {u'number': u'N/A'}, u'frequency': u'N/A', u'minimum_voltage': u'N/A', u'hp_smart_memory': u'N/A', u'type': u'N/A', u'size': u'N/A'}}}, u'advanced_memory_protection': {u'configured_amp_mode': u'Advanced ECC', u'available_amp_modes': u'Advanced ECC, Online Spare (Rank Sparing), Intrasocket Mirroring', u'amp_mode_status': u'Advanced ECC'}, u'memory_details_summary': {u'cpu_2': {u'operating_frequency': u'2400 MHz', u'operating_voltage': u'1.20 v', u'total_memory_size': u'512 GB', u'number_of_sockets': 12}, u'cpu_1': {u'operating_frequency': u'2400 MHz', u'operating_voltage': u'1.20 v', u'total_memory_size': u'512 GB', u'number_of_sockets': 12}}}, u'firmware_information': {u'Smart Array P440ar Controller': u'7.00', u'Intelligent Platform Abstraction Data': u'27.01', u'HP SN1000Q 16Gb Dual Port FC HBA': u'06.02.01', u'Redundant System ROM': u'P89 v2.72 (03/25/2019)', u'HP FlexFabric 10Gb 2-port 534FLR-SFP+ Adapter': u'7.18.26', u'System Programmable Logic Device': u'Version 0x34', u'HPE Smart Storage Battery 1 Firmware': u'2.1', u'Power Management Controller Firmware': u'1.0.9', u'HP Ethernet 1Gb 4-port 331i Adapter': u'20.14.57', u'Server Platform Services (SPS) Firmware': u'3.1.3.21.0', u'Power Management Controller FW Bootloader': u'1.0', u'SAS Programmable Logic Device': u'Version 0x03', u'System ROM': u'P89 v2.76 (10/21/2019)', u'Intelligent Provisioning': u'2.50.164', u'iLO': u'2.75 Aug 13 2020', u'HP Ethernet 10Gb 2-port 530SFP+ Adapter': u'7.18.26'}, u'power_supplies': {u'Battery 1': {u'status': u'OK', u'capacity': u'96 Watts', u'label': u'Battery 1', u'spare': u'871264-001', u'serial_number': u'6WEJD0GB2533D9', u'model': u'727258-B21', u'firmware_version': u'2.1', u'present': u'Yes'}, u'Power Supply 2': {u'status': u'Good, In Use', u'capacity': u'500 Watts', u'pds': u'No', u'label': u'Power Supply 2', u'hotplug_capable': u'Yes', u'spare': u'754377-001', u'serial_number': u'5DMVV0C4D413DY', u'model': u'720478-B21', u'firmware_version': u'1.00', u'present': u'Yes'}, u'Power Supply 1': {u'status': u'Good, In Use', u'capacity': u'500 Watts', u'pds': u'No', u'label': u'Power Supply 1', u'hotplug_capable': u'Yes', u'spare': u'754377-001', u'serial_number': u'5DMVV0C4D41254', u'model': u'720478-B21', u'firmware_version': u'1.00', u'present': u'Yes'}}, u'vrm': None, u'processors': {u'Proc 2': {u'status': u'OK', u'internal_l1_cache': u'896 KB', u'name': u'Intel(R) Xeon(R) CPU E5-2690 v4 # 2.60GHz', u'memory_technology': u'64-bit Capable', u'internal_l2_cache': u'3584 KB', u'label': u'Proc 2', u'internal_l3_cache': u'35840 KB', u'speed': u'2600 MHz', u'execution_technology': u'14/14 cores; 28 threads'}, u'Proc 1': {u'status': u'OK', u'internal_l1_cache': u'896 KB', u'name': u'Intel(R) Xeon(R) CPU E5-2690 v4 # 2.60GHz', u'memory_technology': u'64-bit Capable', u'internal_l2_cache': u'3584 KB', u'label': u'Proc 1', u'internal_l3_cache': u'35840 KB', u'speed': u'2600 MHz', u'execution_technology': u'14/14 cores; 28 threads'}}}, u'hw_eth3': {u'macaddress': u'E0:07:1B:F6:3B:D7', u'macaddress_dash': u'E0-07-1B-F6-3B-D7'}, u'hw_memory_details_summary': {u'cpu_2': {u'operating_frequency': u'2400 MHz', u'operating_voltage': u'1.20 v', u'total_memory_size': u'512 GB', u'number_of_sockets': 12}, u'cpu_1': {u'operating_frequency': u'2400 MHz', u'operating_voltage': u'1.20 v', u'total_memory_size': u'512 GB', u'number_of_sockets': 12}}, u'ansible_loop_var': u'item', u'item': u'2001:4888:a05:3152:e0:ff2::201', u'hw_product_name': u'ProLiant DL380 Gen9', u'hw_eth6': {u'macaddress': u'8C:DC:D4:0C:44:F0', u'macaddress_dash': u'8C-DC-D4-0C-44-F0'}, u'changed': False, u'hw_bios_date': u'10/21/2019', u'failed': False, u'hw_eth8': {u'macaddress': u'8C:DC:D4:0C:4B:18', u'macaddress_dash': u'8C-DC-D4-0C-4B-18'}, u'hw_eth9': {u'macaddress': u'8C:DC:D4:0C:4B:1C', u'macaddress_dash': u'8C-DC-D4-0C-4B-1C'}, u'hw_eth_ilo': {u'macaddress': u'E0:07:1B:FA:63:D4', u'macaddress_dash': u'E0-07-1B-FA-63-D4'}, u'invocation': {u'module_args': {u'host': u'2001:4888:a05:3152:e0:ff2::201', u'password': u'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', u'ssl_version': u'TLSv1', u'login': u'Administrator'}}, u'hw_uuid': u'719064USE704AHPA', u'hw_eth0': {u'macaddress': u'E0:07:1B:F6:3B:D4', u'macaddress_dash': u'E0-07-1B-F6-3B-D4'}, u'hw_eth1': {u'macaddress': u'E0:07:1B:F6:3B:D5', u'macaddress_dash': u'E0-07-1B-F6-3B-D5'}, u'hw_product_uuid': u'30393137-3436-5355-4537-303441485041', u'hw_eth7': {u'macaddress': u'8C:DC:D4:0C:44:F4', u'macaddress_dash': u'8C-DC-D4-0C-44-F4'}, u'hw_eth4': {u'macaddress': u'14:02:EC:44:1A:18', u'macaddress_dash': u'14-02-EC-44-1A-18'}, u'hw_eth5': {u'macaddress': u'14:02:EC:44:1A:1C', u'macaddress_dash': u'14-02-EC-44-1A-1C'}}) =>
msg: USE123AHPA,2.75 Aug 13 2020,P89 v2.76 (10/21/2019)
How do I filter this output to just get the last line?
Without looping this, I only get the last line.
Adding the loop generates the entire output and then the filtered output.
I will be looping this over a few dozen IP addresses and only want the filtered, not full output for the item.
I guess what you mean here is that you are getting a super cluttered debug statement because the item is actually displayed along when the loop happens.
To unclutter this, you can use the label of loop_control.
Something like:
- debug:
msg: >-
{{
item.hw_system_serial
}},{{
item.hw_health.firmware_information.iLO
}},{{
item.hw_health.firmware_information['System ROM']
}}
with_items: "{{ ILOinfo.results }}"
loop_control:
label: "{{ item.hw_system_serial }}"
Will display a lighter result looking like:
ok: [localhost] => (item=USE123AHPA) =>
msg: USE123AHPA,2.75 Aug 13 2020,P89 v2.76 (10/21/2019)
I may have found a solution by removing the "debug" task and adding a "lineinfile" task...
- name: append
lineinfile:
dest: /tmp/ILOinfo
create: yes
line: "Host= {{ item['invocation']['module_args']['host'] }},SN= {{ item['hw_system_serial'] }},ILOfw= {{ item['hw_health']['firmware_information']['iLO'] }},SystemROM= {{ item['hw_health']['firmware_information']['System ROM'] }}"
insertafter: EOF
delegate_to: localhost
with_items: "{{ ILOinfo.results }}"
This works well enough.

stack level too deep. Function<SystemStackError>

I have following method thats throwing the error in title. I know it happens if the method is recursive means if it invokes itslef. But my method is not being called by itself. Does anyone know why i am getting this error?
def self.send_my_message
sqs = Aws::SQS::Client.new(region: 'us-east-2')
queue_name = "something"
queue_url = sqs.get_queue_url(queue_name: queue_name).queue_url
sqs.send_message(queue_url: queue_url, message_body: 'Hello world')
end
Full stack trace errors:
Response:
{
"errorMessage": "stack level too deep",
"errorType": "Function<SystemStackError>",
"stackTrace": [
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `initialize_dup'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `dup'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:134:in `as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `block in as_json'",
"/opt/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb:152:in `map'"
]
}

can't write unknown attribute `html` Trace of template inclusion

Getting a weird error in my ROR APP. I attached my _form.html.erbfile since this is where the browser says my error is. I am a beginner so not really sure what I am doing wrong in this instance. thanks!
<div class="panel panel-default">
<div class="panel-heading">
<div class="panel-title">
<h1>New Review</h1>
</div>
<%= form_for(#lawfirm, #review) do |f| %>
<% if #review.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(#review.errors.count, "error") %> prohibited this review from being saved:</h2>
<ul>
<% #review.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>
</div>
<% end %>
<div class="form-group">
<%= f.label :rating %>
<%= f.number_field :rating, class: "form-control" %>
</div>
<div class="form-group">
<%= f.label :comment %>
<%= f.text_area :comment, class: "form-control" %>
</div>
<div class="form-group">
<%= f.submit class: "btn btn-primary"%>
</div>
</div>
<% end %>
</div>
</div>
here is my stack trace:
activerecord (4.2.5.1) lib/active_record/attribute.rb:138:in `with_value_from_database'
activerecord (4.2.5.1) lib/active_record/attribute_set.rb:39:in `write_from_user'
activerecord (4.2.5.1) lib/active_record/attribute_methods/write.rb:74:in `write_attribute_with_type_cast'
activerecord (4.2.5.1) lib/active_record/attribute_methods/write.rb:56:in `write_attribute'
activerecord (4.2.5.1) lib/active_record/attribute_methods/dirty.rb:96:in `write_attribute'
activerecord (4.2.5.1) lib/active_record/attribute_methods.rb:373:in `[]='
actionview (4.2.5.1) lib/action_view/helpers/form_helper.rb:424:in `form_for'
app/views/reviews/_form.html.erb:7:in `_app_views_reviews__form_html_erb___829028679_68515284'
actionview (4.2.5.1) lib/action_view/template.rb:145:in `block in render'
activesupport (4.2.5.1) lib/active_support/notifications.rb:166:in `instrument'
actionview (4.2.5.1) lib/action_view/template.rb:333:in `instrument'
actionview (4.2.5.1) lib/action_view/template.rb:143:in `render'
actionview (4.2.5.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
actionview (4.2.5.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
actionview (4.2.5.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
activesupport (4.2.5.1) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (4.2.5.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.2.5.1) lib/active_support/notifications.rb:164:in `instrument'
actionview (4.2.5.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
actionview (4.2.5.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
actionview (4.2.5.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.2.5.1) lib/action_view/helpers/rendering_helper.rb:35:in `render'
app/views/reviews/new.html.erb:3:in `_app_views_reviews_new_html_erb___645944526_88267872'
actionview (4.2.5.1) lib/action_view/template.rb:145:in `block in render'
activesupport (4.2.5.1) lib/active_support/notifications.rb:166:in `instrument'
actionview (4.2.5.1) lib/action_view/template.rb:333:in `instrument'
actionview (4.2.5.1) lib/action_view/template.rb:143:in `render'
actionview (4.2.5.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
actionview (4.2.5.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
activesupport (4.2.5.1) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (4.2.5.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.2.5.1) lib/active_support/notifications.rb:164:in `instrument'
actionview (4.2.5.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
actionview (4.2.5.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
actionview (4.2.5.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
actionview (4.2.5.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
actionview (4.2.5.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
actionview (4.2.5.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.2.5.1) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.2.5.1) lib/action_view/rendering.rb:100:in `_render_template'
actionpack (4.2.5.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.2.5.1) lib/action_view/rendering.rb:83:in `render_to_body'
actionpack (4.2.5.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.2.5.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
actionpack (4.2.5.1) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.2.5.1) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.2.5.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
activesupport (4.2.5.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
c:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
activesupport (4.2.5.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.2.5.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
actionpack (4.2.5.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
activerecord (4.2.5.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.2.5.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
actionpack (4.2.5.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.2.5.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.2.5.1) lib/abstract_controller/base.rb:198:in `process_action'
actionpack (4.2.5.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.2.5.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:117:in `call'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:117:in `call'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:505:in `call'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:505:in `call'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (4.2.5.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.2.5.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.2.5.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
activesupport (4.2.5.1) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (4.2.5.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.2.5.1) lib/active_support/notifications.rb:164:in `instrument'
actionpack (4.2.5.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.2.5.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.2.5.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.2.5.1) lib/abstract_controller/base.rb:137:in `process'
actionview (4.2.5.1) lib/action_view/rendering.rb:30:in `process'
actionpack (4.2.5.1) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.2.5.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.2.5.1) lib/action_controller/metal.rb:237:in `block in action'
actionpack (4.2.5.1) lib/action_dispatch/routing/route_set.rb:74:in `call'
actionpack (4.2.5.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
actionpack (4.2.5.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
actionpack (4.2.5.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
actionpack (4.2.5.1) lib/action_dispatch/journey/router.rb:30:in `each'
actionpack (4.2.5.1) lib/action_dispatch/journey/router.rb:30:in `serve'
actionpack (4.2.5.1) lib/action_dispatch/routing/route_set.rb:815:in `call'
warden (1.2.6) lib/warden/manager.rb:35:in `block in call'
warden (1.2.6) lib/warden/manager.rb:34:in `catch'
warden (1.2.6) lib/warden/manager.rb:34:in `call'
rack (1.6.4) lib/rack/etag.rb:24:in `call'
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
rack (1.6.4) lib/rack/head.rb:13:in `call'
actionpack (4.2.5.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.2.5.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.2.5.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.2.5.1) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.2.5.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
activerecord (4.2.5.1) lib/active_record/migration.rb:377:in `call'
actionpack (4.2.5.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (4.2.5.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.2.5.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.2.5.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
actionpack (4.2.5.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
web-console (2.3.0) lib/web_console/middleware.rb:28:in `block in call'
web-console (2.3.0) lib/web_console/middleware.rb:18:in `catch'
web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
actionpack (4.2.5.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.2.5.1) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.2.5.1) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.2.5.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
activesupport (4.2.5.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
rack (1.6.4) lib/rack/lock.rb:17:in `call'
actionpack (4.2.5.1) lib/action_dispatch/middleware/static.rb:116:in `call'
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
railties (4.2.5.1) lib/rails/engine.rb:518:in `call'
railties (4.2.5.1) lib/rails/application.rb:165:in `call'
rack (1.6.4) lib/rack/lock.rb:17:in `call'
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
c:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
c:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
c:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
Request
Parameters:
{"lawfirm_id"=>"1"}
The problem might be here:
form_for(#lawfirm, #review)
The proper syntax for a nested resource in a form is:
form_for([#lawfirm, #review])
form_for expects only the first argument to be the resource (a nested resource in this case). The second argument would be a hash of options of which html is one of the supported option keys. This may be causing the error down the stack.

How do I know if a jruby module is even installed?

I'm super unfamiliar with Ruby, Rails, Jruby. But I really want to try out tabula-extractor. I believe I installed it properly, alltho I don't know how to check. This is my script, based on their initial suggestion:
#!/usr/bin/jruby
require 'tabula'
pdf_file_path = "page19.pdf"
outfilename = "page19.csv"
out = open(outfilename, 'w')
extractor = Tabula::Extraction::ObjectExtractor.new(pdf_file_path, :all )
extractor.extract.each do |pdf_page|
pdf_page.spreadsheets.each do |spreadsheet|
out << spreadsheet.to_csv
out << "\n\n"
end
end
out.close
This is what I get when I run it:
./tabula.rb:10: uninitialized constant Tabula (NameError)
from ./tabula.rb:3:in `require'
from ./tabula.rb:3
I'm not even sure how to interpret that. It isn't saying Tabula can't be found, just that there's a "NameError" with extractor = Tabula::Extraction::ObjectExtractor.new(pdf_file_path, :all )
I'm sure I'm missing something obvious. I can't even tell if tabula-extractor is really installed. I ran jruby -S gem install tabula-extractor and got this back:
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
System.java:-2:in `arraycopy': java.lang.ArrayIndexOutOfBoundsException
from DefaultResolver.java:111:in `makeTime'
from DefaultResolver.java:277:in `create'
from DefaultResolver.java:317:in `handleScalar'
from DefaultResolver.java:435:in `orgHandler'
from DefaultResolver.java:455:in `node_import'
from org/yecht/ruby/DefaultResolver$s_method_1_0$RUBYINVOKER$node_import.gen:65535:in `call'
from CachingCallSite.java:146:in `call'
from RubyLoadHandler.java:39:in `handle'
from Parser.java:300:in `addNode'
from DefaultYAMLParser.java:676:in `yyparse'
from Parser.java:290:in `yechtparse'
from Parser.java:284:in `parse'
from YParser.java:152:in `load'
from org/yecht/ruby/YParser$s_method_0_1$RUBYINVOKER$load.gen:65535:in `call'
from JavaMethod.java:630:in `call'
from DynamicMethod.java:186:in `call'
from CachingCallSite.java:309:in `cacheAndCall'
from CachingCallSite.java:148:in `call'
from CallOneArgNode.java:57:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from InterpretedMethod.java:180:in `call'
from DefaultMethod.java:174:in `call'
from CachingCallSite.java:309:in `cacheAndCall'
from CachingCallSite.java:148:in `call'
from CallOneArgNode.java:57:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:180:in `call'
from DefaultMethod.java:174:in `call'
from CachingCallSite.java:309:in `cacheAndCall'
from CachingCallSite.java:148:in `call'
from CallOneArgNode.java:57:in `interpret'
from NewlineNode.java:104:in `interpret'
from RescueNode.java:199:in `executeBody'
from RescueNode.java:118:in `interpretWithJavaExceptions'
from RescueNode.java:110:in `interpret'
from InterpretedMethod.java:180:in `call'
from DefaultMethod.java:174:in `call'
from CachingCallSite.java:309:in `cacheAndCall'
from CachingCallSite.java:148:in `call'
from FCallOneArgNode.java:36:in `interpret'
from InstAsgnNode.java:95:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from EnsureNode.java:96:in `interpret'
from BeginNode.java:83:in `interpret'
from NewlineNode.java:104:in `interpret'
from WhenOneArgNode.java:36:in `whenSlowTest'
from WhenOneArgNode.java:46:in `when'
from CaseNode.java:133:in `interpret'
from NewlineNode.java:104:in `interpret'
from InterpretedBlock.java:373:in `evalBlockBody'
from InterpretedBlock.java:346:in `yield'
from InterpretedBlock.java:303:in `yield'
from Block.java:194:in `yield'
from YieldNode.java:112:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedBlock.java:373:in `evalBlockBody'
from InterpretedBlock.java:346:in `yield'
from InterpretedBlock.java:303:in `yield'
from Block.java:194:in `yield'
from RubyKernel.java:1251:in `loop_1_9'
from org/jruby/RubyKernel$s_method_0_0$RUBYFRAMEDINVOKER$loop_1_9.gen:65535:in `call'
from CachingCallSite.java:299:in `cacheAndCall'
from CachingCallSite.java:117:in `callBlock'
from CachingCallSite.java:132:in `callIter'
from FCallNoArgBlockNode.java:32:in `interpret'
from NewlineNode.java:104:in `interpret'
from InterpretedMethod.java:160:in `call'
from DefaultMethod.java:166:in `call'
from CachingCallSite.java:299:in `cacheAndCall'
from CachingCallSite.java:117:in `callBlock'
from CachingCallSite.java:122:in `call'
from CallNoArgBlockNode.java:64:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:242:in `call'
from DefaultMethod.java:198:in `call'
from CachingCallSite.java:339:in `cacheAndCall'
from CachingCallSite.java:197:in `callBlock'
from CachingCallSite.java:202:in `call'
from RubyClass.java:819:in `call'
from DynamicMethod.java:194:in `call'
from WrapperMethod.java:62:in `call'
from CachingCallSite.java:329:in `cacheAndCall'
from CachingCallSite.java:188:in `call'
from FCallTwoArgNode.java:38:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from EnsureNode.java:96:in `interpret'
from InterpretedMethod.java:242:in `call'
from DefaultMethod.java:198:in `call'
from CachingCallSite.java:339:in `cacheAndCall'
from CachingCallSite.java:197:in `callBlock'
from CachingCallSite.java:202:in `call'
from CallTwoArgBlockPassNode.java:62:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:283:in `call'
from DefaultMethod.java:214:in `call'
from CachingCallSite.java:359:in `cacheAndCall'
from CachingCallSite.java:237:in `callBlock'
from CachingCallSite.java:252:in `callIter'
from CallThreeArgBlockNode.java:64:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:262:in `call'
from DefaultMethod.java:206:in `call'
from CachingCallSite.java:349:in `cacheAndCall'
from CachingCallSite.java:228:in `call'
from FCallThreeArgNode.java:40:in `interpret'
from NewlineNode.java:104:in `interpret'
from InterpretedBlock.java:373:in `evalBlockBody'
from InterpretedBlock.java:346:in `yield'
from InterpretedBlock.java:303:in `yield'
from Block.java:194:in `yield'
from RubyIO.java:1106:in `open'
from RubyKernel.java:283:in `open'
from org/jruby/RubyKernel$s_method_0_2$RUBYFRAMEDINVOKER$open.gen:65535:in `call'
from DynamicMethod.java:198:in `call'
from CachingCallSite.java:339:in `cacheAndCall'
from CachingCallSite.java:197:in `callBlock'
from CachingCallSite.java:212:in `callIter'
from FCallTwoArgBlockNode.java:34:in `interpret'
from NewlineNode.java:104:in `interpret'
from IfNode.java:119:in `interpret'
from IfNode.java:119:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:221:in `call'
from DefaultMethod.java:190:in `call'
from CachingCallSite.java:329:in `cacheAndCall'
from CachingCallSite.java:188:in `call'
from CallTwoArgNode.java:59:in `interpret'
from InstAsgnNode.java:95:in `interpret'
from NewlineNode.java:104:in `interpret'
from RescueNode.java:199:in `executeBody'
from RescueNode.java:118:in `interpretWithJavaExceptions'
from RescueNode.java:110:in `interpret'
from BeginNode.java:83:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:242:in `call'
from DefaultMethod.java:198:in `call'
from CachingCallSite.java:339:in `cacheAndCall'
from CachingCallSite.java:197:in `callBlock'
from CachingCallSite.java:202:in `call'
from RubyClass.java:819:in `call'
from DynamicMethod.java:194:in `call'
from CachingCallSite.java:329:in `cacheAndCall'
from CachingCallSite.java:188:in `call'
from CallTwoArgNode.java:59:in `interpret'
from DAsgnNode.java:110:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedBlock.java:373:in `evalBlockBody'
from InterpretedBlock.java:346:in `yield'
from InterpretedBlock.java:303:in `yield'
from Block.java:194:in `yield'
from RubyArray.java:1630:in `eachCommon'
from RubyArray.java:1637:in `each'
from org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535:in `call'
from CachingCallSite.java:299:in `cacheAndCall'
from CachingCallSite.java:117:in `callBlock'
from CachingCallSite.java:122:in `call'
from CallNoArgBlockNode.java:64:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:221:in `call'
from DefaultMethod.java:190:in `call'
from CachingCallSite.java:329:in `cacheAndCall'
from CachingCallSite.java:188:in `call'
from CallTwoArgNode.java:59:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from RescueNode.java:199:in `executeBody'
from RescueNode.java:118:in `interpretWithJavaExceptions'
from RescueNode.java:110:in `interpret'
from BeginNode.java:83:in `interpret'
from NewlineNode.java:104:in `interpret'
from InterpretedBlock.java:373:in `evalBlockBody'
from InterpretedBlock.java:346:in `yield'
from InterpretedBlock.java:303:in `yield'
from Block.java:194:in `yield'
from RubyArray.java:1630:in `eachCommon'
from RubyArray.java:1637:in `each'
from org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535:in `call'
from CachingCallSite.java:299:in `cacheAndCall'
from CachingCallSite.java:117:in `callBlock'
from CachingCallSite.java:122:in `call'
from CallNoArgBlockNode.java:64:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:139:in `call'
from DefaultMethod.java:158:in `call'
from CachingCallSite.java:289:in `cacheAndCall'
from CachingCallSite.java:108:in `call'
from VCallNode.java:85:in `interpret'
from NewlineNode.java:104:in `interpret'
from IfNode.java:119:in `interpret'
from IfNode.java:119:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:180:in `call'
from DefaultMethod.java:174:in `call'
from CachingCallSite.java:309:in `cacheAndCall'
from CachingCallSite.java:148:in `call'
from CallSpecialArgNode.java:67:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from CaseNode.java:138:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:180:in `call'
from DefaultMethod.java:174:in `call'
from CachingCallSite.java:309:in `cacheAndCall'
from CachingCallSite.java:148:in `call'
from FCallOneArgNode.java:36:in `interpret'
from NewlineNode.java:104:in `interpret'
from RescueNode.java:199:in `executeBody'
from RescueNode.java:118:in `interpretWithJavaExceptions'
from RescueNode.java:110:in `interpret'
from InterpretedMethod.java:180:in `call'
from DefaultMethod.java:174:in `call'
from CachingCallSite.java:309:in `cacheAndCall'
from CachingCallSite.java:148:in `call'
from CallOneArgNode.java:57:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:180:in `call'
from DefaultMethod.java:174:in `call'
from CachingCallSite.java:309:in `cacheAndCall'
from CachingCallSite.java:148:in `call'
from gem:24:in `rescue_1$RUBY$__rescue___0'
from gem:23:in `__file__'
from gem:-1:in `load'
from Ruby.java:692:in `runScript'
from Ruby.java:575:in `runNormally'
from Ruby.java:418:in `runFromMain'
from Main.java:286:in `run'
from Main.java:128:in `run'
from Main.java:97:in `main'
which is neither an error nor a success message.
Per a comment on Jruby: NameError: uninitialized constant Neo4j I tried require 'tabula' in irb:
amanda#mona:tabula$ irb
irb(main):001:0> require 'tabula'
LoadError: no such file to load -- tabula
from (irb):1:in `require'
from (irb):1
from :0
irb(main):002:0>
That suggests it is not installed.

undefined method `cookie_expiration' for nil:NilClass

getting a no method error while using clearance for authentication, i was trying to create a user using sign_up
clearance (0.11.1)
rails 3.0.7
ruby 1.8.7
on Windows XP.
activesupport (3.0.7) lib/active_support/whiny_nil.rb:48:in `method_missing'
clearance (0.11.1) lib/clearance/authentication.rb:51:in `sign_in'
clearance (0.11.1) app/controllers/clearance/users_controller.rb:15:in `create'
actionpack (3.0.7) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (3.0.7) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (3.0.7) lib/abstract_controller/base.rb:150:in `process_action'
actionpack (3.0.7) lib/action_controller/metal/rendering.rb:11:in `process_action'
actionpack (3.0.7) lib/abstract_controller/callbacks.rb:18:in `process_action'
activesupport (3.0.7) lib/active_support/callbacks.rb:443:in `_run__901813995__process_action__524098549__callbacks'
activesupport (3.0.7) lib/active_support/callbacks.rb:410:in `send'
activesupport (3.0.7) lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
activesupport (3.0.7) lib/active_support/callbacks.rb:94:in `send'
activesupport (3.0.7) lib/active_support/callbacks.rb:94:in `run_callbacks'
actionpack (3.0.7) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.0.7) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
activesupport (3.0.7) lib/active_support/notifications.rb:52:in `instrument'
activesupport (3.0.7) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (3.0.7) lib/active_support/notifications.rb:52:in `instrument'
actionpack (3.0.7) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.0.7) lib/action_controller/metal/rescue.rb:17:in `process_action'
actionpack (3.0.7) lib/abstract_controller/base.rb:119:in `process'
actionpack (3.0.7) lib/abstract_controller/rendering.rb:41:in `process'
actionpack (3.0.7) lib/action_controller/metal.rb:138:in `dispatch'
actionpack (3.0.7) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.0.7) lib/action_controller/metal.rb:178:in `action'
actionpack (3.0.7) lib/action_dispatch/routing/route_set.rb:62:in `call'
actionpack (3.0.7) lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
actionpack (3.0.7) lib/action_dispatch/routing/route_set.rb:27:in `call'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:148:in `call'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:93:in `recognize'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:75:in `optimized_each'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:92:in `recognize'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:139:in `call'
actionpack (3.0.7) lib/action_dispatch/routing/route_set.rb:493:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/head.rb:14:in `call'
rack (1.2.3) lib/rack/methodoverride.rb:24:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/flash.rb:182:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/cookies.rb:302:in `call'
activerecord (3.0.7) lib/active_record/query_cache.rb:32:in `call'
activerecord (3.0.7) lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
activerecord (3.0.7) lib/active_record/query_cache.rb:12:in `cache'
activerecord (3.0.7) lib/active_record/query_cache.rb:31:in `call'
activerecord (3.0.7) lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/callbacks.rb:46:in `call'
activesupport (3.0.7) lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
actionpack (3.0.7) lib/action_dispatch/middleware/callbacks.rb:44:in `call'
rack (1.2.3) lib/rack/sendfile.rb:107:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
railties (3.0.7) lib/rails/rack/logger.rb:13:in `call'
rack (1.2.3) lib/rack/runtime.rb:17:in `call'
activesupport (3.0.7) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.2.3) lib/rack/lock.rb:11:in `call'
rack (1.2.3) lib/rack/lock.rb:11:in `synchronize'
rack (1.2.3) lib/rack/lock.rb:11:in `call'
actionpack (3.0.7) lib/action_dispatch/middleware/static.rb:30:in `call'
railties (3.0.7) lib/rails/application.rb:168:in `call'
railties (3.0.7) lib/rails/application.rb:77:in `send'
railties (3.0.7) lib/rails/application.rb:77:in `method_missing'
railties (3.0.7) lib/rails/rack/log_tailer.rb:14:in `call'
rack (1.2.3) lib/rack/content_length.rb:13:in `call'
rack (1.2.3) lib/rack/handler/webrick.rb:52:in `service'
c:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
c:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
c:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
c:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:162:in `start'
c:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
c:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:95:in `start'
c:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:92:in `each'
c:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:92:in `start'
c:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:23:in `start'
c:/RailsInstaller/Ruby1.8.7/lib/ruby/1.8/webrick/server.rb:82:in `start'
rack (1.2.3) lib/rack/handler/webrick.rb:13:in `run'
rack (1.2.3) lib/rack/server.rb:217:in `start'
railties (3.0.7) lib/rails/commands/server.rb:65:in `start'
railties (3.0.7) lib/rails/commands.rb:30
railties (3.0.7) lib/rails/commands.rb:27:in `tap'
railties (3.0.7) lib/rails/commands.rb:27
script/rails:6:in `require'
script/rails:6
EDIT: Code added:
class ApplicationController < ActionController::Base
include Clearance::Authentication
protect_from_forgery
end
model:
class User < ActiveRecord::Base
include Clearance::User
end
HTML erb
<h2>Sign in</h2>
<%= form_for :session, :url => session_path do |form| %>
<div class="text_field">
<%= form.label :email %>
<%= form.text_field :email, :type => "email" %>
</div>
<div class="text_field">
<%= form.label :password %>
<%= form.password_field :password %>
</div>
<div class="submit_field">
<%= form.submit "Sign in" %>
</div>
<% end %>
<ul>
<li>
<%= link_to "Sign up", sign_up_path %>
</li>
<li>
<%= link_to "Forgot password?", new_password_path %>
</li>
</ul>
removed and re-installed clearance gem and gave a server-restart.
Not seeing the error anymore.

Resources