Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Project properties: The currently displayed page contains invalid values

オープン
#117 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
devtools

調査の方向性

Eclipse Project > Properties > PMD のフローから開始し、Error Log の “Error instantiating a rule” および ClassNotFoundException に関するエントリを確認します。ruleset 内のカスタムルールで再現し、その後、カスタムクラスを解決できること、および PMD のプロパティページに無効な値のエラーが表示されず、その内容が表示されることを確認します。

索引モデルが issue の本文から書いたものです。

説明

bug

I clicked on Project > Properties and then selected the PMD tab. I get the following error message:

Title: Could Not Accept Changes
Message: The currently displayed page contains invalid values.

The content section of the window is blank.

I tried uninstalling and re-installing the plugin and I get the same error.

Are there some property files I can remove to workaround this problem.

I am running Eclipse 2019-12 (4.14.0) build id 20191212-1212 with PMD Plug-in version 4.10.1.v20200207-1909 on Windows 10 version 1903. I am running Eclipse on HotSpot 11.0.4.

In Eclipse's Error Log, I see 2 errors: Error instantiating a rule and Problems occurred when invoking code from plug-in: "org.eclipse.jface". The latter has an exception ClassNotFoundException. The message complains about a class for a custom Java rule I wrote. I removed the custom rule from my PMD ruleset XML file and I can now see the property page.

How do I add my custom class so that the PMD plugin can use it? I tried "Select a working set..." on the property page but that did not seem to work.

主要言語
Java
スター
99
フォーク
42
平均マージ
21時間 41分
マージ済み PR(30日)
7

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pmd/pmd-eclipse-plugin のほかの issue

pmd/pmd-eclipse-plugin の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。