org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getMailHandlers' in class com.atlassian.jira.plugins.mail.webwork.ViewMailServers threw exception java.lang.IllegalStateException: Bundle is uninstalled at /secure/admin/views/popServers.vm[line 90, column 19]

atlassian.com | 4 days ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    'java.lang.IllegalStateException: Bundle is uninstalled' error due to incompatible Add-on - Atlassian Documentation

    atlassian.com | 4 days ago
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getMailHandlers' in class com.atlassian.jira.plugins.mail.webwork.ViewMailServers threw exception java.lang.IllegalStateException: Bundle is uninstalled at /secure/admin/views/popServers.vm[line 90, column 19]
  2. 0

    Copied from https://answers.atlassian.com/questions/74986/after-upgrade-incoming-and-outgoing-settings-page-has-errors After upgrading from 4.4 to 5.1.1 64-bit, Windows Server 2008R2 and SQL 2008, the INCOMING and OUTGOING pages for mail configuration will not work, and receive an error on the page. I have removed all of the old mail settings from the services page and checked the configuration files for anything regarding mail setup and have found nothing. the jirauser permissions in the SQL Database are DBA. I have checked all the things suggested by someone on the https://answers.atlassian.com/questions/72125/can-t-modify-incoming-mail-parameters-after-upgrade Below id the beginning of error message on the OUTGOING mail handler page: (On the INCOMING page, it says 'getPopMailServers' instead of getSmtpMailServers) If you would like the entire messages, let me know. {code} An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSmtpMailServers' in class com.atlassian.jira.plugins.mail.webwork.ViewMailServers threw exception java.lang.RuntimeException: org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:SELECT ID, NAME, DESCRIPTION, mailfrom, PREFIX, smtp_port, protocol, server_type, SERVERNAME, JNDILOCATION, mailusername, mailpassword, ISTLSREQUIRED, TIMEOUT, socks_port, socks_host FROM mailserver ORDER BY ID asc (Invalid column name 'socks_port'.) at /secure/admin/views/smtpServers.vm line 5, column 18 at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:470) at org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNode.java:63) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:85) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:263) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) at org.apache.velocity.Template.merge(Template.java:235) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java {code}

    Atlassian JIRA | 5 years ago | Eric Dalgliesh
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSmtpMailServers' in class com.atlassian.jira.plugins.mail.webwork.ViewMailServers threw exception java.lang.RuntimeException: org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:SELECT ID, NAME, DESCRIPTION, mailfrom, PREFIX, smtp_port, protocol, server_type, SERVERNAME, JNDILOCATION, mailusername, mailpassword, ISTLSREQUIRED, TIMEOUT, socks_port, socks_host FROM mailserver ORDER BY ID asc (Invalid column name 'socks_port'.) at /secure/admin/views/smtpServers.vm line 5, column 18
  3. 0

    Copied from https://answers.atlassian.com/questions/74986/after-upgrade-incoming-and-outgoing-settings-page-has-errors After upgrading from 4.4 to 5.1.1 64-bit, Windows Server 2008R2 and SQL 2008, the INCOMING and OUTGOING pages for mail configuration will not work, and receive an error on the page. I have removed all of the old mail settings from the services page and checked the configuration files for anything regarding mail setup and have found nothing. the jirauser permissions in the SQL Database are DBA. I have checked all the things suggested by someone on the https://answers.atlassian.com/questions/72125/can-t-modify-incoming-mail-parameters-after-upgrade Below id the beginning of error message on the OUTGOING mail handler page: (On the INCOMING page, it says 'getPopMailServers' instead of getSmtpMailServers) If you would like the entire messages, let me know. {code} An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSmtpMailServers' in class com.atlassian.jira.plugins.mail.webwork.ViewMailServers threw exception java.lang.RuntimeException: org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:SELECT ID, NAME, DESCRIPTION, mailfrom, PREFIX, smtp_port, protocol, server_type, SERVERNAME, JNDILOCATION, mailusername, mailpassword, ISTLSREQUIRED, TIMEOUT, socks_port, socks_host FROM mailserver ORDER BY ID asc (Invalid column name 'socks_port'.) at /secure/admin/views/smtpServers.vm line 5, column 18 at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:470) at org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNode.java:63) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:85) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:263) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) at org.apache.velocity.Template.merge(Template.java:235) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java {code}

    Atlassian JIRA | 5 years ago | Eric Dalgliesh
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSmtpMailServers' in class com.atlassian.jira.plugins.mail.webwork.ViewMailServers threw exception java.lang.RuntimeException: org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:SELECT ID, NAME, DESCRIPTION, mailfrom, PREFIX, smtp_port, protocol, server_type, SERVERNAME, JNDILOCATION, mailusername, mailpassword, ISTLSREQUIRED, TIMEOUT, socks_port, socks_host FROM mailserver ORDER BY ID asc (Invalid column name 'socks_port'.) at /secure/admin/views/smtpServers.vm line 5, column 18
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    *Steps to Reproduce:* # Create a page that starts with '0000/00/xx', where 0 is a number, and 'xx' is a string that contains at least one letter. Other examples include: ## 1991/07/0a ## 2013/10/03 - test ## 1892/01/broken ## 2015/08/02 Case 02 with problem # Create a second page, and add a link to your first page. # Attempt to view the Page Information of your second page. (*Tools > Page Information*). *Results:* The following stack trace is produced: {code}org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getOutgoingLinks' in class com.atlassian.confluence.pages.actions.PageInfoAction threw exception java.lang.NumberFormatException: For input string: "apples" at /pages/viewinfo.vm[line 359, column 39] at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:470) at org.apache.velocity.runtime.parser.node.ASTAndNode.evaluate(ASTAndNode.java:104) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62) at org.apache.velocity.runtime.parser.node.ASTOrNode.evaluate(ASTOrNode.java:98) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:85) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:159) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328){code} h5.Known Good Formats The following examples of title do *not* cause the problem mentioned, and could be used as an alternative: # 02/08/2015 Title # 08/02/2015 Title # 2015-08-02 Title # Any text before a problematic date, eg "-2015/08/02 Case 02 with problem"

    Atlassian JIRA | 3 years ago | Lachlan Dally
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getOutgoingLinks' in class com.atlassian.confluence.pages.actions.PageInfoAction threw exception java.lang.NumberFormatException: For input string: "apples" at /pages/viewinfo.vm[line 359, column 39]
  6. 0

    *Steps to Reproduce:* # Create a page that starts with '0000/00/xx', where 0 is a number, and 'xx' is a string that contains at least one letter. Other examples include: ## 1991/07/0a ## 2013/10/03 - test ## 1892/01/broken ## 2015/08/02 Case 02 with problem # Create a second page, and add a link to your first page. # Attempt to view the Page Information of your second page. (*Tools > Page Information*). *Results:* The following stack trace is produced: {code}org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getOutgoingLinks' in class com.atlassian.confluence.pages.actions.PageInfoAction threw exception java.lang.NumberFormatException: For input string: "apples" at /pages/viewinfo.vm[line 359, column 39] at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:470) at org.apache.velocity.runtime.parser.node.ASTAndNode.evaluate(ASTAndNode.java:104) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62) at org.apache.velocity.runtime.parser.node.ASTOrNode.evaluate(ASTOrNode.java:98) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:85) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:159) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328){code} h5.Known Good Formats The following examples of title do *not* cause the problem mentioned, and could be used as an alternative: # 02/08/2015 Title # 08/02/2015 Title # 2015-08-02 Title # Any text before a problematic date, eg "-2015/08/02 Case 02 with problem"

    Atlassian JIRA | 3 years ago | Lachlan Dally
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getOutgoingLinks' in class com.atlassian.confluence.pages.actions.PageInfoAction threw exception java.lang.NumberFormatException: For input string: "apples" at /pages/viewinfo.vm[line 359, column 39]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.velocity.exception.MethodInvocationException

      Invocation of method 'getMailHandlers' in class com.atlassian.jira.plugins.mail.webwork.ViewMailServers threw exception java.lang.IllegalStateException: Bundle is uninstalled at /secure/admin/views/popServers.vm[line 90, column 19]

      at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute()
    2. Apache Velocity
      VelocityEngine.mergeTemplate
      1. org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223)
      2. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
      3. org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:470)
      4. org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNode.java:63)
      5. org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62)
      6. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:85)
      7. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
      8. org.apache.velocity.runtime.directive.Parse.render(Parse.java:263)
      9. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
      10. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      11. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
      12. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
      13. org.apache.velocity.Template.merge(Template.java:328)
      14. org.apache.velocity.Template.merge(Template.java:235)
      15. org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381)
      15 frames
    3. com.atlassian.velocity
      DefaultVelocityManager.getEncodedBody
      1. com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:67)
      1 frame
    4. com.atlassian.jira
      DefaultVelocityTemplatingEngine$DefaultRenderRequest.asHtml
      1. com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asHtml(DefaultVelocityTemplatingEngine.java:104)
      1 frame