Created
March 4, 2014 22:42
-
-
Save mvberg/9357309 to your computer and use it in GitHub Desktop.
NPE on calc load
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
saving defaults for first time | |
2014-03-04 16:41:28,972 ERROR [AWT-EventQueue-0] c.b.p.w.s.c.p.PrefsServicePovider load@97 remote pref load exeception com.barchart.platform.barchart-plugin-widget-options-advanced | Id= com.barchart.plugin.widget.options.advanced.calculator.OptionsCalcWidget.8fdd4f2e_00c7_4ee5_84aa_928d5b9aff0c, e = java.lang.Exception: Object not found | |
setting width limit: 198 | |
setting width limit: 198 | |
setting width limit: 198 | |
setting width limit: 163 | |
setting width limit: 120 | |
setting width limit: 120 | |
setting width limit: 120 | |
symbol changed: ES*0 | |
TRUE makeConfigTable | |
{ | |
"configTable" : "{\r\n \"_title\" : \"Options Calculator\",\r\n \"height\" : 175,\r\n \"width\" : 450,\r\n \"settingEntries\" : [ {\r\n \"WidgetID\" : \"Options Calculator\",\r\n \"Category\" : \"Preferences\",\r\n \"SettingGroup\" : \"Preferences\",\r\n \"SettingID\" : \"def_exp_units\",\r\n \"SettingName\" : \"Expiration Units\",\r\n \"SettingType\" : \"list_button\",\r\n \"SettingExtras\" : {\r\n \"DAYS_OF_YEAR\" : \"Days of Year\",\r\n \"FRACTION_OF_YEAR\" : \"Fraction of Year\"\r\n }\r\n }, {\r\n \"WidgetID\" : \"Options Calculator\",\r\n \"Category\" : \"Preferences\",\r\n \"SettingGroup\" : \"Preferences\",\r\n \"SettingID\" : \"def_days_per_year\",\r\n \"SettingName\" : \"Days Per Year\",\r\n \"SettingType\" : \"string\"\r\n }, {\r\n \"WidgetID\" : \"Options Calculator\",\r\n \"Category\" : \"Preferences\",\r\n \"SettingGroup\" : \"Preferences\",\r\n \"SettingID\" : \"def_input_type\",\r\n \"SettingName\" : \"Input Type\",\r\n \"SettingType\" : \"list_button\",\r\n \"SettingExtras\" : {\r\n \"FRACTION_DECIMAL\" : \"Fraction\",\r\n \"WHOLE_PERCENT\" : \"Percent\"\r\n }\r\n }, {\r\n \"WidgetID\" : \"Options Calculator\",\r\n \"Category\" : \"Preferences\",\r\n \"SettingGroup\" : \"Preferences\",\r\n \"SettingID\" : \"def_output_type\",\r\n \"SettingName\" : \"Output Type\",\r\n \"SettingType\" : \"list_button\",\r\n \"SettingExtras\" : {\r\n \"FRACTION_DECIMAL\" : \"Fraction\",\r\n \"WHOLE_PERCENT\" : \"Percent\"\r\n }\r\n }, {\r\n \"WidgetID\" : \"Options Calculator\",\r\n \"Category\" : \"Preferences\",\r\n \"SettingGroup\" : \"Preferences\",\r\n \"SettingID\" : \"def_output_format\",\r\n \"SettingName\" : \"Choose Output Formatting\",\r\n \"SettingType\" : \"list_button\",\r\n \"SettingExtras\" : {\r\n \"format1\" : \"1 decimal place\",\r\n \"format2\" : \"2 decimal places\",\r\n \"format3\" : \"3 decimal places\",\r\n \"format4\" : \"4 decimal places\",\r\n \"format5\" : \"5 decimal places\",\r\n \"format6\" : \"6 decimal places\"\r\n }\r\n } ]\r\n}", | |
"def_output_format" : "format6", | |
"def_exp_units" : "DAYS_OF_YEAR", | |
"is_new" : "true", | |
"def_output_type" : "WHOLE_PERCENT", | |
"vidget_id" : "8fdd4f2e-00c7-4ee5-84aa-928d5b9aff0c", | |
"symbol" : "ES*0", | |
"component.name" : "com.barchart.plugin.widget.options.advanced.calculator.OptionsCalcWidget", | |
"def_days_per_year" : "365", | |
"def_input_type" : "WHOLE_PERCENT", | |
"component.id" : "154", | |
"_title" : "Options Calculator", | |
"widget_space_id" : "c8be8362-a650-40b3-84b4-e21ba2ea9baa" | |
} | |
{is_new=null, vidget_id=null, symbol=null, component.name=null, component.id=null, widget_space_id=null} | |
2014-03-04 16:41:30,231 ERROR [Feed thread 4] c.b.p.w.o.a.c.ui.OptionsCalcView nullSnapshot@1331 Got null snapshot for instrument GHH2014 | |
Saving... | |
Saving... | |
Call / Put instrument lookups took: 0.265secs. For: 478 instruments. - 265 | |
java.lang.NullPointerException | |
at com.barchart.plugin.widget.options.advanced.calculator.ui.OptionsCalcView.getStrikeIndex(OptionsCalcView.java:1495) | |
at com.barchart.plugin.widget.options.advanced.calculator.ui.OptionsCalcView.updateATMStrike(OptionsCalcView.java:1469) | |
at com.barchart.plugin.widget.options.advanced.calculator.ui.OptionsCalcView.access$11(OptionsCalcView.java:1465) | |
at com.barchart.plugin.widget.options.advanced.calculator.ui.OptionsCalcView$GetSetsTask.execute(OptionsCalcView.java:1444) | |
at com.barchart.plugin.widget.options.advanced.calculator.ui.OptionsCalcView$25.result(OptionsCalcView.java:1355) | |
at com.barchart.plugin.feed.ddf.MarketServiceProvider$InstrumentObserver.onNext(MarketServiceProvider.java:217) | |
at com.barchart.plugin.feed.ddf.MarketServiceProvider$InstrumentObserver.onNext(MarketServiceProvider.java:1) | |
at rx.operators.SafeObserver.onNext(SafeObserver.java:121) | |
at rx.subjects.ReplaySubject.onNext(ReplaySubject.java:169) | |
at com.barchart.feed.ddf.instrument.provider.DDF_RxInstrumentProvider$2.run(DDF_RxInstrumentProvider.java:219) | |
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:262) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | |
at java.lang.Thread.run(Thread.java:744) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment