Bug #1305

Can't call method "otherwise" on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.

Added by Zentyal Bug Reporter 10 months ago. Updated 10 months ago.

Status:Fixed
Priority:Normal
Assignee:-
Component:ipsec Version:3.4

Description

Error

Can't locate object method "throw" via package "Can't locate object method "stringify" via package "Can't locate object method "throw" via package "Can't call method "otherwise" on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.
" (perhaps you forgot to load "Can't call method "otherwise" on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.
"?) at /usr/share/perl5/EBox/Module/Service.pm line 378.
" (perhaps you forgot to load "Can't locate object method "throw" via package "Can't call method "otherwise" on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.
" (perhaps you forgot to load "Can't call method "otherwise" on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.
"?) at /usr/share/perl5/EBox/Module/Service.pm line 378.
"?) at /usr/share/perl5/EBox/ServiceModule/CGI/ConfigureModuleController.pm line 65.
    ...propagated at /usr/share/perl5/EBox/CGI/Base.pm line 321.
" (perhaps you forgot to load "Can't locate object method "stringify" via package "Can't locate object method "throw" via package "Can't call method "otherwise" on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.
" (perhaps you forgot to load "Can't call method "otherwise" on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.
"?) at /usr/share/perl5/EBox/Module/Service.pm line 378.
" (perhaps you forgot to load "Can't locate object method "throw" via package "Can't call method "otherwise" on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.
" (perhaps you forgot to load "Can't call method "otherwise" on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.
"?) at /usr/share/perl5/EBox/Module/Service.pm line 378.
"?) at /usr/share/perl5/EBox/ServiceModule/CGI/ConfigureModuleController.pm line 65.
    ...propagated at /usr/share/perl5/EBox/CGI/Base.pm line 321.
"?) at /usr/share/perl5/EBox/CGI/Run.pm line 101, <GEN0> line 397.
 at /usr/share/perl5/EBox/CGI/Run.pm line 101

Trace

Can't locate object method 'throw' via package 'Can't locate object method 'stringify' via package 'Can't locate object method 'throw' via package 'Can't call method 'otherwise' on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.
' (perhaps you forgot to load 'Can't call method 'otherwise' on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.
'?) at /usr/share/perl5/EBox/Module/Service.pm line 378.
' (perhaps you forgot to load 'Can't locate object method 'throw' via package 'Can't call method 'otherwise' on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.
' (perhaps you forgot to load 'Can't call method 'otherwise' on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.
'?) at /usr/share/perl5/EBox/Module/Service.pm line 378.
'?) at /usr/share/perl5/EBox/ServiceModule/CGI/ConfigureModuleController.pm line 65.
    ...propagated at /usr/share/perl5/EBox/CGI/Base.pm line 321.
' (perhaps you forgot to load 'Can't locate object method 'stringify' via package 'Can't locate object method 'throw' via package 'Can't call method 'otherwise' on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.
' (perhaps you forgot to load 'Can't call method 'otherwise' on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.
'?) at /usr/share/perl5/EBox/Module/Service.pm line 378.
' (perhaps you forgot to load 'Can't locate object method 'throw' via package 'Can't call method 'otherwise' on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.
' (perhaps you forgot to load 'Can't call method 'otherwise' on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.
'?) at /usr/share/perl5/EBox/Module/Service.pm line 378.
'?) at /usr/share/perl5/EBox/ServiceModule/CGI/ConfigureModuleController.pm line 65.
    ...propagated at /usr/share/perl5/EBox/CGI/Base.pm line 321.
'?) at /usr/share/perl5/EBox/CGI/Run.pm line 101, <GEN0> line 397.
 at /usr/share/perl5/EBox/CGI/Run.pm line 101
    EBox::CGI::Run::run('EBox::CGI::Run', 'Plack::Request=HASH(0xc15b42c)') called at /usr/share/zentyal/psgi/zentyal.psgi line 46
    main::__ANON__('HASH(0xc192af8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71
    Plack::App::URLMap::call('Plack::App::URLMap=HASH(0xa970514)', 'HASH(0xc192af8)') called at /usr/share/perl5/Plack/Component.pm line 50
    Plack::Component::__ANON__('HASH(0xc192af8)') called at /usr/share/perl5/EBox/Middleware/Auth.pm line 364
    EBox::Middleware::Auth::call('EBox::Middleware::AuthPAM=HASH(0xa97521c)', 'HASH(0xc192af8)') called at /usr/share/perl5/Plack/Component.pm line 50
    Plack::Component::__ANON__('HASH(0xc192af8)') called at /usr/share/perl5/Plack/Middleware/Conditional.pm line 16
    Plack::Middleware::Conditional::call('Plack::Middleware::Conditional=HASH(0xa97571c)', 'HASH(0xc192af8)') called at /usr/share/perl5/Plack/Component.pm line 50
    Plack::Component::__ANON__('HASH(0xc192af8)') called at /usr/share/perl5/EBox/WebAdmin/Middleware/SubAppAuth.pm line 57
    EBox::WebAdmin::Middleware::SubAppAuth::call('EBox::WebAdmin::Middleware::SubAppAuth=HASH(0xa975a8c)', 'HASH(0xc192af8)') called at /usr/share/perl5/Plack/Component.pm line 50
    Plack::Component::__ANON__('HASH(0xc192af8)') called at /usr/share/perl5/Plack/Middleware/Session.pm line 52
    Plack::Middleware::Session::call('Plack::Middleware::Session=HASH(0xa975c80)', 'HASH(0xc192af8)') called at /usr/share/perl5/Plack/Component.pm line 50
    Plack::Component::__ANON__('HASH(0xc192af8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68
    Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0xabd8908)', 'HASH(0xc192af8)') called at /usr/share/perl5/Plack/Component.pm line 50
    EBox::Middleware::UnhandledError::call('EBox::Middleware::UnhandledError=HASH(0xabd8a5c)', 'HASH(0xc192af8)') called at /usr/share/perl5/Plack/Component.pm line 50
    Plack::Component::__ANON__('HASH(0xc192af8)') called at /usr/share/zentyal/psgi/zentyal.psgi line 0
    eval {...} at /usr/share/zentyal/psgi/zentyal.psgi line 0

zentyal.log - zentyal.log (102 KB) Zentyal Bug Reporter, 07/12/2014 10:07 PM

History

#1 Updated by Zentyal Bug Reporter 10 months ago

#2 Updated by José Antonio Calvo 10 months ago

  • Component set to ipsec

#3 Updated by José Antonio Calvo 10 months ago

  • Version changed from Unknown to 3.4

#4 Updated by Javier Amor 10 months ago

  • Subject changed from Bug report from Zentyal Server to Can't call method "otherwise" on an undefined value at /usr/share/perl5/EBox/IPsec/Model/Connections.pm line 60.
  • Status changed from New to Fixed

Thanks for your report.

This is fixed in this pull request: https://github.com/Zentyal/zentyal/pull/1459

Also available in: Atom PDF