Menu

I can't create some configuration items

Delia
2022-08-10
2022-08-24
  • Delia

    Delia - 2022-08-10

    Dear. I have a problem creating a configuration item specifically for VirtualMachine, Middleware, Other software, and DatabaseSchema, I get the following error: iTop: An error occurred, check server error log for more information
    No extension referring to the CMDB has been created or modified.
    Some idea that it might be happening. I attach my error log

    2022-08-10 08:35:58 | Error | 1 | Uncaught Error: Call to a member function GetKey() on null in /var/www/html/itop/application/cmdbabstract.class.inc.php:3241
    Stack trace:

    0 /var/www/html/itop/pages/UI.php(764): cmdbAbstractObject::DisplayCreationForm(Object(iTopWebPage), 'VirtualMachine', Object(VirtualMachine), Array, Array)

    1 {main}

    thrown | IssueLog |||
    array (
    'type' => 1,
    'file' => '/var/www/html/itop/application/cmdbabstract.class.inc.php',
    'line' => 3241,
    )
    2022-08-10 08:40:41 | Error | 1 | Uncaught Error: Call to a member function GetKey() on null in /var/www/html/itop/application/cmdbabstract.class.inc.php:3241
    Stack trace:

    0 /var/www/html/itop/pages/UI.php(764): cmdbAbstractObject::DisplayCreationForm(Object(iTopWebPage), 'Middleware', Object(Middleware), Array, Array)

    1 {main}

    thrown | IssueLog |||
    array (
    'type' => 1,
    'file' => '/var/www/html/itop/application/cmdbabstract.class.inc.php',
    'line' => 3241,
    )
    2022-08-10 08:41:59 | Error | 1 | Uncaught Error: Call to a member function GetKey() on null in /var/www/html/itop/application/cmdbabstract.class.inc.php:3241
    Stack trace:

    0 /var/www/html/itop/pages/UI.php(764): cmdbAbstractObject::DisplayCreationForm(Object(iTopWebPage), 'OtherSoftware', Object(OtherSoftware), Array, Array)

    1 {main}

    thrown | IssueLog |||
    array (
    'type' => 1,
    'file' => '/var/www/html/itop/application/cmdbabstract.class.inc.php',
    'line' => 3241,
    )
    2022-08-10 08:43:01 | Error | 1 | Uncaught Error: Call to a member function GetKey() on null in /var/www/html/itop/application/cmdbabstract.class.inc.php:3241
    Stack trace:

    0 /var/www/html/itop/pages/UI.php(764): cmdbAbstractObject::DisplayCreationForm(Object(iTopWebPage), 'DatabaseSchema', Object(DatabaseSchema), Array, Array)

    1 {main}

    thrown | IssueLog |||
    array (
    'type' => 1,
    'file' => '/var/www/html/itop/application/cmdbabstract.class.inc.php',
    'line' => 3241,
    )

    Thanks.

     
  • Delia

    Delia - 2022-08-14

    hello. I'm trying to figure out the error described above but I still can't figure it out. Any idea what could be going on. Thank you.

     
  • Vincent @ Combodo

    Hi Delia,
    If you want some help, please provide more details about the issue and the context.
    Has it worked before? Have you upgraded iTop or PHP recently? What version of those are you running? Do you have iTop extensions, even if not changed recently?
    When is the issue occurring exactly, from the error message, I suppose it is when you try to create a new object, but is it occurring also when you open an existing one or when you modify it?
    Is it happening on every CMDB classes or only a few of them? What is common to all those CI on which creation is failing?

     
  • Delia

    Delia - 2022-08-16

    Hi Vincent.

    • If it was working well but currently not anymore.
    • Yes, the PHP version was updated
    • I have the following versions:

    iTopVersion: 3.0.0
    iTopBuild: 8663
    iTopBuildDate: 2022-01-04 17:27:23
    DataModelVersion: 3.0.0
    MySQLVersion: 10.3.32-MariaDB
    PHPVersion: 7.2.24
    OSVersion: Linux
    WebServerVersion: Apache/2.4.37 (Red Hat Enterprise Linux) OpenSSL/1.1.1k mod_fcgid/2.3.9
    PHPModules: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, cgi-fcgi, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, json, ldap, exif, mysqlnd, PDO, Phar, SimpleXML, soap, sockets, sqlite3, tokenizer, xml, xmlwriter, xsl, mysqli, pdo_mysql, pdo_sqlite, wddx, xmlreader, zip

    • I have my own extensions but none refer to the CMDB
    • Yes the error message occurs when I create an EC: specifically for VirtualMachine, Middleware, Other Software, and DatabaseSchema. Not when I open an existing one or when modifying.
     
  • Delia

    Delia - 2022-08-23

    Hello. Someone knows why this problem could be occurring. I still don't figure it out. Thanks.

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2022-08-23

    I'd suggest already trying it in 3.0.1 for now (although 3.0.2 will also be available sometime soon, but could still take a bit I guess).

    Also check if it occurs if you install iTop without custom extensions.

     
  • Delia

    Delia - 2022-08-23

    Hello Jeffrey. I have been able to solve it. In the Database Integrity option, run the recommended statements. Apparently there were orphaned objects for these classes. What new features does the new version of Itop 3.0.1 have or where can I consult its documentation? Best regards.

     
  • Pierre Goiffon

    Pierre Goiffon - 2022-08-24

    Hello,
    Glad to see your problem fixed !
    About the changelog, there is one on the wiki : https://www.itophub.io/wiki/page?id=latest:release:change_log

     
  • Pierre Goiffon

    Pierre Goiffon - 2022-08-24

    3.0.2 is in its final qualification stage. The community version should be available in the second half of september.

     
    🎉
    1

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.