KNOWLEDGE BASE

Error "undefined method `attributes' for nil:NilClass" Is Received When Upgrading Tableau Server


Published: 23 Aug 2016
Last Modified Date: 13 Oct 2016

Issue

When upgrading Tableau Server to version 10.0 with SAML enabled, the upgrade does not complete and the following error is seen in the tabadmin.log:

2016-08-23 14:23:22.920 -0700_DEBUG_10.212.12.10:USTeam-SAML-VM_:_pid=5752_0x720bf653__user=__request=__ Extracting default IDP entityID from metadata.
2016-08-23 14:23:22.107 -0700_FATAL_10.212.12.10:USTeam-SAML-VM_:_pid=5752_0x720bf653__user=__request=__ Unable to upgrade C:/ProgramData/Tableau/Tableau Server/config/tabsvc.yml to latest version
2016-08-23 14:23:22.107 -0700_FATAL_10.212.12.10:USTeam-SAML-VM_:_pid=5752_0x720bf653__user=__request=__ undefined method `attributes' for nil:NilClass
2016-08-23 14:23:22.107 -0700_DEBUG_10.212.12.10:USTeam-SAML-VM_:_pid=5752_0x720bf653__user=__request=__ NoMethodError: undefined method `attributes' for nil:NilClass
file:C:/Program Files/Tableau/Tableau Server/10.0/bin/tabadmin.jar!/lib/service/configure.rb:803:in `set_default_idp'
file:C:/Program Files/Tableau/Tableau Server/10.0/bin/tabadmin.jar!/lib/service/configure.rb:499:in `run'
file:/C:/Program Files/Tableau/Tableau Server/10.0/bin/tabadmin.jar!/lib/service.rb:1624:in `upgrade_configuration'
file:/C:/Program Files/Tableau/Tableau Server/10.0/bin/tabadmin.jar!/lib/service.rb:311:in `configure'
file:/C:/Program Files/Tableau/Tableau Server/10.0/bin/tabadmin.jar!/lib/commands/configure.rb:72:in `run'
file:/C:/Program Files/Tableau/Tableau Server/10.0/bin/tabadmin.jar!/lib/multicommand.rb:237:in `dispatch'
file:/C:/Program Files/Tableau/Tableau Server/10.0/bin/tabadmin.jar!/bin/tabadmin.rb:32:in `(root)'
org/jruby/RubyKernel.java:1058:in `load'
file:/C:/Program Files/Tableau/Tableau Server/10.0/bin/tabadmin.jar!/bin/tabadmin.rb:1:in `(root)'
org/jruby/RubyKernel.java:1033:in `require'
file:/C:/Program Files/Tableau/Tableau Server/10.0/bin/tabadmin.jar!/META-INF/main.rb:36:in `require'
<script>:3:in `(root)'

Environment

  • Tableau Server version 10.0
  • SAML Enabled

Cause

This behavior is related to a known issue that has been fixed in a later version of the product. 
Did this article resolve the issue?