java.lang.IllegalArgumentException: Action 'UserPreferences' not found or could not be initialized: java.lang.ClassNotFoundException: UserPreferences

Atlassian JIRA | Jeff Turner | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The HTML email template ({{etc/java/templates/email/html/includes/header.vm}}) has a link to {{$\{baseurl}/secure/UserPreferences.jspa}} which is incorrect - it should be: {{$\{baseurl}/secure/ViewUserPreferences.jspa}} If users click on this wrong link they get a stacktrace: {noformat} 404 Could not execute action [UserPreferences]:Action 'UserPreferences' not found or could not be initialized: java.lang.ClassNotFoundException: UserPreferences java.lang.IllegalArgumentException: Action 'UserPreferences' not found or could not be initialized: java.lang.ClassNotFoundException: UserPreferences at webwork.action.factory.JavaActionFactory.getActionImpl(JavaActionFactory.java:64) at webwork.action.factory.ScriptActionFactoryProxy.getActionImpl(ScriptActionFactoryProxy.java:54) at webwork.action.factory.XMLActionFactoryProxy.getActionImpl(XMLActionFactoryProxy.java:54) at webwork.action.factory.PrefixActionFactoryProxy.getActionImpl(PrefixActionFactoryProxy.java:102) at webwork.action.factory.JspActionFactoryProxy.getActionImpl(JspActionFactoryProxy.java:53) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62) at webwork.action.factory.AliasingActionFactoryProxy.getActionImpl(AliasingActionFactoryProxy.java:96) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62) at webwork.action.factory.ContextActionFactoryProxy.getActionImpl(ContextActionFactoryProxy.java:36) at webwork.action.factory.PrepareActionFactoryProxy.getActionImpl(PrepareActionFactoryProxy.java:37) at webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:46) at webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:52) at webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFactory.java:125) {noformat} (this also appears in the logs)

    Atlassian JIRA | 9 years ago | Jeff Turner
    java.lang.IllegalArgumentException: Action 'UserPreferences' not found or could not be initialized: java.lang.ClassNotFoundException: UserPreferences
  2. 0

    The HTML email template ({{etc/java/templates/email/html/includes/header.vm}}) has a link to {{$\{baseurl}/secure/UserPreferences.jspa}} which is incorrect - it should be: {{$\{baseurl}/secure/ViewUserPreferences.jspa}} If users click on this wrong link they get a stacktrace: {noformat} 404 Could not execute action [UserPreferences]:Action 'UserPreferences' not found or could not be initialized: java.lang.ClassNotFoundException: UserPreferences java.lang.IllegalArgumentException: Action 'UserPreferences' not found or could not be initialized: java.lang.ClassNotFoundException: UserPreferences at webwork.action.factory.JavaActionFactory.getActionImpl(JavaActionFactory.java:64) at webwork.action.factory.ScriptActionFactoryProxy.getActionImpl(ScriptActionFactoryProxy.java:54) at webwork.action.factory.XMLActionFactoryProxy.getActionImpl(XMLActionFactoryProxy.java:54) at webwork.action.factory.PrefixActionFactoryProxy.getActionImpl(PrefixActionFactoryProxy.java:102) at webwork.action.factory.JspActionFactoryProxy.getActionImpl(JspActionFactoryProxy.java:53) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62) at webwork.action.factory.AliasingActionFactoryProxy.getActionImpl(AliasingActionFactoryProxy.java:96) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62) at webwork.action.factory.ContextActionFactoryProxy.getActionImpl(ContextActionFactoryProxy.java:36) at webwork.action.factory.PrepareActionFactoryProxy.getActionImpl(PrepareActionFactoryProxy.java:37) at webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:46) at webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:52) at webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFactory.java:125) {noformat} (this also appears in the logs)

    Atlassian JIRA | 9 years ago | Jeff Turner
    java.lang.IllegalArgumentException: Action 'UserPreferences' not found or could not be initialized: java.lang.ClassNotFoundException: UserPreferences

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Action 'UserPreferences' not found or could not be initialized: java.lang.ClassNotFoundException: UserPreferences

      at webwork.action.factory.JavaActionFactory.getActionImpl()
    2. webwork.action.factory
      DefaultActionFactory.getActionImpl
      1. webwork.action.factory.JavaActionFactory.getActionImpl(JavaActionFactory.java:64)
      2. webwork.action.factory.ScriptActionFactoryProxy.getActionImpl(ScriptActionFactoryProxy.java:54)
      3. webwork.action.factory.XMLActionFactoryProxy.getActionImpl(XMLActionFactoryProxy.java:54)
      4. webwork.action.factory.PrefixActionFactoryProxy.getActionImpl(PrefixActionFactoryProxy.java:102)
      5. webwork.action.factory.JspActionFactoryProxy.getActionImpl(JspActionFactoryProxy.java:53)
      6. webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62)
      7. webwork.action.factory.AliasingActionFactoryProxy.getActionImpl(AliasingActionFactoryProxy.java:96)
      8. webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62)
      9. webwork.action.factory.ContextActionFactoryProxy.getActionImpl(ContextActionFactoryProxy.java:36)
      10. webwork.action.factory.PrepareActionFactoryProxy.getActionImpl(PrepareActionFactoryProxy.java:37)
      11. webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:46)
      12. webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:52)
      13. webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFactory.java:125)
      13 frames