Could not create table due to missing Field Type definition

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。

このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

問題

When installing or upgrading Jira, one or more tables may fail to be created and present messages such as below on atlassian-jira.log.

2015-08-18 08:32:23,275 localhost-startStop-1 WARN      [core.entity.jdbc.DatabaseUtil] Entity "ClusteredJob" has no table in the database
2015-08-18 08:32:23,275 localhost-startStop-1 ERROR      [core.entity.jdbc.DatabaseUtil] Could not create table "clusteredjob"
2015-08-18 08:32:23,275 localhost-startStop-1 ERROR      [core.entity.jdbc.DatabaseUtil] Field type [null] not found for field [parameters] of entity [ClusteredJob], not creating table.

原因

This occurs when JIRA is unable to locate a field type definition for the type of data stored in a certain column of the database. This information is stored on the fieldtype-<db-type>.xml file (located under <JIRA_INSTALL>/atlassian-jira/WEB-INF/classes/entitydefs/).

ソリューション

オプション 1

Replace the fieldtype-<db-type>.xml file with the one from a clean installation of Jira.

オプション 2

  1. Open the entitymodel.xml file (located on the same folder as the fieldtype-<db-type>.xml);
  2. Locate the field definition according to what was presented in the log message/s (see example below) and take note of the value for type;

    <field name="parameters" type="byte-array" />
  3. Open the fieldtype-<db-type>.xml file (according to the database driver you use) and locate the field-type-def property for the field noted above (see example for oracle10g);

    <field-type-def type="byte-array" sql-type="LONG RAW" java-type="java.lang.Object"></field-type-def>
  4. Compare with the fieldtype-<db-type>.xml of a new installation of Jira and add the definition for such field type;
  5. Restart Jira;


Last modified on Mar 7, 2025

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.