Not sure why this error occurred. Haven't seen it before, it just happened on a startup caching run for the main site, which hits a lot of cube endpoints.
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: 2018-10-23 16:58:37 +0000: Rack app error handling request { GET /cubes/health_adults_with_major_depressive_episodes/dimensions/End%20Year/hierarchies/End%20Year/levels/End%20Year/members }
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: #<RuntimeError: can't modify frozen class/module >
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/axiom-types-0.1.1/lib/axiom/types/type.rb:172:in `add_constraint'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/axiom-types-0.1.1/lib/axiom/types/type.rb:116:in `constraint'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/axiom-types-0.1.1/lib/axiom/types/object.rb:83:in `inherits_from_primitive'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/axiom-types-0.1.1/lib/axiom/types/object.rb:36:in `finalize'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/axiom-types-0.1.1/lib/axiom/types/collection.rb:59:in `finalize'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/axiom-types-0.1.1/lib/axiom/types/type.rb:50:in `new'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/virtus-1.0.5/lib/virtus/attribute/collection.rb:25:in `infer'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/virtus-1.0.5/lib/virtus/attribute/collection.rb:64:in `build_type'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/virtus-1.0.5/lib/virtus/attribute/builder.rb:139:in `initialize_type'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/virtus-1.0.5/lib/virtus/attribute/builder.rb:123:in `initialize'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/virtus-1.0.5/lib/virtus/attribute/builder.rb:96:in `call'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/virtus-1.0.5/lib/virtus/attribute.rb:66:in `build'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/validations/types/build_coercer.rb:71:in `create_coercer_instance'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/validations/types/build_coercer.rb:24:in `block in build_coercer'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/validations/types/build_coercer.rb:79:in `cache_instance'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/validations/types/build_coercer.rb:23:in `build_coercer'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/validations/validators/coerce.rb:10:in `initialize'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/validations/validator_factory.rb:10:in `create_validator'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: org/jruby/RubyArray.java:2486:in `map'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/endpoint.rb:344:in `run_validators'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/endpoint.rb:260:in `block in run'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/activesupport-5.2.1/lib/active_support/notifications.rb:170:in `instrument'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/endpoint.rb:243:in `run'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/endpoint.rb:313:in `block in build_stack'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/middleware/base.rb:31:in `call!'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/middleware/base.rb:24:in `call'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/middleware/base.rb:31:in `call!'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/middleware/base.rb:24:in `call'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/middleware/error.rb:38:in `block in call!'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: org/jruby/RubyKernel.java:1114:in `catch'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/middleware/error.rb:37:in `call!'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/middleware/base.rb:24:in `call'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/rack-2.0.5/lib/rack/head.rb:12:in `call'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/endpoint.rb:227:in `call!'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/endpoint.rb:221:in `call'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/router/route.rb:72:in `exec'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/router.rb:121:in `process_route'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/router.rb:74:in `block in identity'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/router.rb:93:in `transaction'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/router.rb:72:in `identity'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/router.rb:57:in `block in call'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/router.rb:137:in `with_optimization'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/router.rb:56:in `call'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/api.rb:119:in `call'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/api.rb:45:in `call!'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/grape-1.1.0/lib/grape/api.rb:40:in `call'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/rack-2.0.5/lib/rack/common_logger.rb:33:in `call'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/rack-cors-0.4.1/lib/rack/cors.rb:81:in `call'
Oct 23 12:58:37 hovenweep datausa-acs_bundle[298307]: /home/deploy/.rvm/gems/jruby-9.1.13.0/gems/rack-2.0.5/lib/rack/config.rb:17:in `call'
Not sure why this error occurred. Haven't seen it before, it just happened on a startup caching run for the main site, which hits a lot of cube endpoints.