Started by an SCM change Running as SYSTEM Agent basic-qsldd is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" jenkins/label: "basic" name: "basic-qsldd" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.jdt.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-qsldd" - name: "JENKINS_REMOTING_JAVA_OPTS" value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true\ \ -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true" - name: "JAVA_TOOL_OPTIONS" value: "" - name: "_JAVA_OPTIONS" value: "" - name: "OPENJ9_JAVA_OPTIONS" value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle" - name: "JENKINS_NAME" value: "basic-qsldd" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.jdt.svc.cluster.local/jdt/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.5" imagePullPolicy: "Always" name: "jnlp" resources: limits: cpu: "2000m" memory: "4096Mi" requests: cpu: "1000m" memory: "4096Mi" tty: true volumeMounts: - mountPath: "/home/jenkins/.m2/toolchains.xml" name: "m2-dir" readOnly: true subPath: "toolchains.xml" - mountPath: "/home/jenkins/.mavenrc" name: "m2-dir" readOnly: true subPath: ".mavenrc" - mountPath: "/opt/tools" name: "volume-0" readOnly: false - mountPath: "/home/jenkins" name: "volume-2" readOnly: false - mountPath: "/home/jenkins/.m2/repository" name: "volume-3" readOnly: false - mountPath: "/home/jenkins/.m2/settings-security.xml" name: "m2-secret-dir" readOnly: true subPath: "settings-security.xml" - mountPath: "/home/jenkins/.m2/wrapper" name: "volume-4" readOnly: false - mountPath: "/home/jenkins/.m2/settings.xml" name: "m2-secret-dir" readOnly: true subPath: "settings.xml" - mountPath: "/home/jenkins/.ssh" name: "volume-1" readOnly: false - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false workingDir: "/home/jenkins/agent" nodeSelector: kubernetes.io/os: "linux" restartPolicy: "Never" volumes: - name: "volume-0" persistentVolumeClaim: claimName: "tools-claim-jiro-jdt" readOnly: true - name: "m2-secret-dir" secret: secretName: "m2-secret-dir" - emptyDir: medium: "" name: "volume-2" - configMap: name: "m2-dir" name: "m2-dir" - configMap: name: "known-hosts" name: "volume-1" - emptyDir: medium: "" name: "workspace-volume" - emptyDir: medium: "" name: "volume-4" - emptyDir: medium: "" name: "volume-3" Building remotely on basic-qsldd (basic) in workspace /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... The recommended git tool is: NONE No credentials specified Cloning the remote Git repository Cloning repository git://git.eclipse.org/gitroot/jdt/eclipse.jdt.ui > git init /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs # timeout=10 Fetching upstream changes from git://git.eclipse.org/gitroot/jdt/eclipse.jdt.ui > git --version # timeout=10 > git --version # 'git version 2.20.1' > git fetch --tags --force --progress -- git://git.eclipse.org/gitroot/jdt/eclipse.jdt.ui +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://git.eclipse.org/gitroot/jdt/eclipse.jdt.ui # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 6efa26af3d78c839a6b195278ad75b37400012d1 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6efa26af3d78c839a6b195278ad75b37400012d1 # timeout=10 Commit message: "Bug 572574 - [AutoRefactor #71/151] Do/while rather than while" > git rev-list --no-walk 3f5e67d786bbd76df3c993f6430f4699aa846863 # timeout=10 [eclipse.jdt.ui-SpotBugs] $ /bin/sh -xe /tmp/jenkins7446928120708147077.sh + mkdir spotbugs + cat [eclipse.jdt.ui-SpotBugs] $ /opt/tools/apache-maven/latest/bin/mvn -DskipTests=true -Dlongnotexistingproperty=true -Dmaven.repo.local=/home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/.repository clean verify --batch-mode -Pbuild-individual-bundles -Pspotbugs Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /opt/tools/apache-maven/latest Java version: 11.0.2, vendor: Oracle Corporation, runtime: /opt/tools/java/openjdk/jdk-11/11.0.2+9 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "5.12.7-300.fc34.x86_64", arch: "amd64", family: "unix" [INFO] Scanning for projects... [INFO] Computing target platform for MavenProject: org.eclipse.ltk:org.eclipse.ltk.core.refactoring:3.12.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring/pom.xml [INFO] Fetching p2.index from https://download.eclipse.org/eclipse/updates/4.21-I-builds/ (128B) [INFO] Adding repository https://download.eclipse.org/eclipse/updates/4.21-I-builds [INFO] Fetching compositeContent.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/ (456B) [INFO] Fetching content.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/categories/ (1.46kB) [INFO] Fetching p2.index from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/ (172B) [INFO] Fetching content.xml from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/ [INFO] Fetching p2.index from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210727-1800/ (172B) [INFO] Fetching content.xml from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210727-1800/ [INFO] Fetching p2.index from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210728-1800/ (172B) [INFO] Fetching content.xml from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210728-1800/ [INFO] Fetching p2.index from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210729-1800/ (172B) [INFO] Fetching content.xml from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210729-1800/ [INFO] Resolving dependencies of MavenProject: org.eclipse.ltk:org.eclipse.ltk.core.refactoring:3.12.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring/pom.xml [INFO] Resolving class path of MavenProject: org.eclipse.ltk:org.eclipse.ltk.core.refactoring:3.12.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring/pom.xml [INFO] Fetching org.eclipse.osgi_3.17.0.v20210729-1445.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210729-1800/plugins/ (1.39MB) [INFO] Fetching org.eclipse.core.commands_3.10.100.v20210722-1426.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (114.56kB) [INFO] Fetching org.eclipse.equinox.common_3.15.0.v20210518-0604.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (139.68kB) [INFO] Fetching org.eclipse.core.contenttype_3.8.0.v20210621-0954.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (100.01kB) [INFO] Fetching org.eclipse.equinox.preferences_3.9.0.v20210726-0943.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (136.29kB) [INFO] Fetching org.eclipse.equinox.registry_3.11.0.v20210723-1953.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (194.23kB) [INFO] Fetching org.eclipse.core.expressions_3.8.0.v20210723-1034.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (92.12kB) [INFO] Fetching org.eclipse.core.runtime_3.23.0.v20210621-0954.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (70.82kB) [INFO] Fetching org.eclipse.core.filebuffers_3.7.0.v20210512-1543.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (113.34kB) [INFO] Fetching org.eclipse.text_3.12.0.v20210512-1644.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (288.46kB) [INFO] Fetching org.eclipse.core.filesystem_1.9.100.v20210611-0919.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (68.45kB) [INFO] Fetching org.eclipse.core.jobs_3.12.0.v20210723-1034.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (108.05kB) [INFO] Fetching org.eclipse.core.resources_3.15.100.v20210624-0913.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (879.15kB) [INFO] Fetching org.eclipse.equinox.app_1.6.0.v20210723-1130.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (89.14kB) [INFO] Computing target platform for MavenProject: org.eclipse.ltk:org.eclipse.ltk.ui.refactoring:3.12.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring/pom.xml [INFO] Resolving dependencies of MavenProject: org.eclipse.ltk:org.eclipse.ltk.ui.refactoring:3.12.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring/pom.xml [INFO] Resolving class path of MavenProject: org.eclipse.ltk:org.eclipse.ltk.ui.refactoring:3.12.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring/pom.xml [INFO] Fetching com.ibm.icu_67.1.0.v20200706-1749.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (12.94MB) [INFO] Fetching com.sun.jna_5.8.0.v20210503-0343.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (1.68MB) [INFO] Fetching com.sun.jna.platform_5.8.0.v20210406-1004.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (1.41MB) [INFO] Fetching javax.annotation_1.3.5.v20200909-1856.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (46.27kB) [INFO] Fetching org.apache.batik.constants_1.14.0.v20210324-0332.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (20.34kB) [INFO] Fetching org.apache.batik.css_1.14.0.v20210324-0332.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (353.59kB) [INFO] Fetching org.apache.batik.util_1.14.0.v20210324-0332.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (144.34kB) [INFO] Fetching org.apache.batik.i18n_1.14.0.v20210324-0332.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (23.5kB) [INFO] Fetching org.apache.xmlgraphics_2.6.0.v20210409-0748.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (703.81kB) [INFO] Fetching org.w3c.dom.svg_1.1.0.v201011041433.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (95.26kB) [INFO] Fetching org.w3c.dom.events_3.0.0.draft20060413_v201105210656.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (15.35kB) [INFO] Fetching org.w3c.css.sac_1.3.1.v200903091627.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (35.59kB) [INFO] Fetching org.apache.commons.io_2.8.0.v20210415-0900.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (302.53kB) [INFO] Fetching org.apache.commons.logging_1.2.0.v20180409-1502.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (71.45kB) [INFO] Fetching org.apache.felix.scr_2.1.24.v20200924-1939.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (411.93kB) [INFO] Fetching org.eclipse.osgi.services_3.10.200.v20210723-0643.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (126.4kB) [INFO] Fetching org.eclipse.osgi.util_3.6.100.v20210723-1119.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (72.7kB) [INFO] Fetching org.bouncycastle.bcpg_1.69.0.v20210713-1924.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210729-1800/plugins/ (326.25kB) [INFO] Fetching org.bouncycastle.bcprov_1.69.0.v20210713-1924.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210729-1800/plugins/ (5.46MB) [INFO] Fetching org.eclipse.compare_3.8.0.v20210415-0713.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (789.2kB) [INFO] Fetching org.eclipse.ui_3.119.100.v20210609-0607.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (432.48kB) [INFO] Fetching org.eclipse.jface.text_3.18.100.v20210716-0547.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (1.02MB) [INFO] Fetching org.eclipse.ui.ide_3.18.300.v20210725-0659.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (2.41MB) [INFO] Fetching org.eclipse.ui.views_3.11.0.v20210111-1351.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (104.06kB) [INFO] Fetching org.eclipse.ui.workbench.texteditor_3.16.200.v20210724-2153.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (668.08kB) [INFO] Fetching org.eclipse.ui.editors_3.14.200.v20210622-1002.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (618.57kB) [INFO] Fetching org.eclipse.ui.forms_3.11.200.v20210622-0925.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (330.16kB) [INFO] Fetching org.eclipse.compare.core_3.6.1000.v20201020-1107.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (66.43kB) [INFO] Fetching org.eclipse.core.databinding_1.10.100.v20200926-1123.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (180.11kB) [INFO] Fetching org.eclipse.core.databinding.observable_1.11.0.v20210722-1426.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (311.11kB) [INFO] Fetching org.eclipse.core.databinding.property_1.9.0.v20210619-1129.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (163.08kB) [INFO] Fetching org.eclipse.e4.core.commands_1.0.0.v20210507-1901.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (25.62kB) [INFO] Fetching org.eclipse.e4.core.di_1.8.0.v20210723-1034.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (52.47kB) [INFO] Fetching javax.inject_1.0.0.v20091030.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (14.07kB) [INFO] Fetching org.eclipse.e4.core.contexts_1.9.0.v20210723-1034.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (48.25kB) [INFO] Fetching org.eclipse.e4.core.services_2.3.0.v20210723-1034.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (69.65kB) [INFO] Fetching org.eclipse.e4.core.di.annotations_1.7.0.v20210625-1052.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (12kB) [INFO] Fetching org.eclipse.e4.core.di.extensions_0.17.0.v20210625-1052.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (11.14kB) [INFO] Fetching org.eclipse.e4.core.di.extensions.supplier_0.16.100.v20210621-0954.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (40.46kB) [INFO] Fetching org.eclipse.e4.emf.xpath_0.3.0.v20210722-1426.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (51.03kB) [INFO] Fetching org.apache.commons.jxpath_1.3.0.v200911051830.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (317.81kB) [INFO] Fetching org.eclipse.emf.ecore_2.25.0.v20210618-0700.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (1.26MB) [INFO] Fetching org.eclipse.e4.ui.bindings_0.13.100.v20210722-1426.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (45.85kB) [INFO] Fetching org.eclipse.swt_3.117.0.v20210728-2202.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210728-1800/plugins/ (16.96kB) [INFO] Fetching org.eclipse.e4.ui.services_1.5.0.v20210115-1333.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (24.31kB) [INFO] Fetching org.eclipse.jface_3.23.0.v20210723-1324.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (1.1MB) [INFO] Fetching org.eclipse.e4.ui.css.core_0.13.100.v20210722-1426.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (213.88kB) [INFO] Fetching org.eclipse.e4.ui.css.swt_0.14.300.v20210723-0837.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (203.11kB) [INFO] Fetching org.eclipse.e4.ui.css.swt.theme_0.13.0.v20201026-1147.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (27.72kB) [INFO] Fetching org.eclipse.e4.ui.di_1.4.0.v20210621-1133.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (16.41kB) [INFO] Fetching org.eclipse.e4.ui.dialogs_1.3.0.v20210619-1009.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (57.42kB) [INFO] Fetching org.eclipse.e4.ui.ide_3.16.0.v20210625-1251.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (11.51kB) [INFO] Fetching org.eclipse.e4.ui.model.workbench_2.2.0.v20210727-1533.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210727-1800/plugins/ (394.73kB) [INFO] Fetching org.eclipse.equinox.event_1.6.0.v20210212-1143.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (32.98kB) [INFO] Fetching org.eclipse.e4.ui.widgets_1.3.0.v20210621-1136.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (13.3kB) [INFO] Fetching org.eclipse.e4.ui.workbench_1.13.0.v20210521-0741.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (255.66kB) [INFO] Fetching org.eclipse.emf.ecore.change_2.14.0.v20190528-0725.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (87.54kB) [INFO] Fetching org.eclipse.emf.ecore.xmi_2.16.0.v20190528-0725.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (229.56kB) [INFO] Fetching org.eclipse.e4.ui.workbench.addons.swt_1.4.200.v20210321-1910.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (115.04kB) [INFO] Fetching org.eclipse.e4.ui.workbench.renderers.swt_0.15.200.v20210723-1326.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (251.68kB) [INFO] Fetching org.eclipse.e4.ui.workbench.swt_0.16.200.v20210723-1326.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (147.12kB) [INFO] Fetching org.eclipse.jface.databinding_1.13.0.v20210619-1146.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (295.36kB) [INFO] Fetching org.eclipse.e4.ui.workbench3_0.16.0.v20210619-0956.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (21.08kB) [INFO] Fetching org.eclipse.urischeme_1.2.0.v20210619-0955.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (51.91kB) [INFO] Fetching org.eclipse.emf.common_2.23.0.v20210618-0700.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (366.99kB) [INFO] Fetching org.eclipse.equinox.bidi_1.4.0.v20210723-1312.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (50.73kB) [INFO] Fetching org.eclipse.equinox.p2.artifact.repository_1.4.200.v20210615-1334.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (161.54kB) [INFO] Fetching org.eclipse.equinox.p2.metadata_2.6.0.v20210331-1610.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (354.6kB) [INFO] Fetching org.tukaani.xz_1.9.0.v20210624-1259.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (131.39kB) [INFO] Fetching org.eclipse.equinox.p2.core_2.8.0.v20210618-0742.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (76.88kB) [INFO] Fetching org.eclipse.equinox.p2.jarprocessor_1.2.0.v20210507-0825.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (73.01kB) [INFO] Fetching org.eclipse.equinox.p2.repository_2.5.200.v20210723-0905.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (141.92kB) [INFO] Fetching org.eclipse.equinox.p2.engine_2.7.100.v20210615-1334.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (209.24kB) [INFO] Fetching org.eclipse.equinox.p2.metadata.repository_1.4.0.v20210315-2228.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (130.72kB) [INFO] Fetching org.eclipse.equinox.security_1.3.700.v20210726-0943.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (113.04kB) [INFO] Fetching org.eclipse.help_3.9.100.v20210721-0601.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (270.25kB) [INFO] Fetching org.eclipse.jface.notifications_0.3.0.v20210218-1820.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (25.75kB) [INFO] Fetching org.eclipse.ui.navigator_3.10.100.v20210415-0924.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (416.62kB) [INFO] Fetching org.eclipse.team.core_3.9.100.v20210604-1207.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (395.31kB) [INFO] Fetching org.eclipse.team.ui_3.9.100.v20210721-1306.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (1.42MB) [INFO] Fetching org.eclipse.swt.gtk.linux.x86_64_3.117.0.v20210728-2202.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210728-1800/plugins/ (2.07MB) [INFO] Fetching org.eclipse.ui.workbench_3.122.300.v20210629-1013.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (3.47MB) [INFO] Fetching org.w3c.dom.smil_1.0.1.v200903091627.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (21.24kB) [INFO] Fetching org.eclipse.swt.gtk.linux.ppc64le_3.117.0.v20210728-2202.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210728-1800/plugins/ (2.02MB) [INFO] Fetching org.eclipse.swt.gtk.linux.aarch64_3.117.0.v20210728-2202.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210728-1800/plugins/ (2.05MB) [INFO] Fetching org.eclipse.swt.win32.win32.x86_64_3.117.0.v20210728-2202.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210728-1800/plugins/ (2.45MB) [INFO] Fetching org.eclipse.swt.cocoa.macosx.x86_64_3.117.0.v20210728-2202.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210728-1800/plugins/ (2.13MB) [INFO] Fetching org.eclipse.swt.cocoa.macosx.aarch64_3.117.0.v20210728-2202.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210728-1800/plugins/ (2.12MB) [INFO] Computing target platform for MavenProject: org.eclipse.jdt:org.eclipse.jdt.text.tests:3.13.1400-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.text.tests/pom.xml [INFO] Resolving dependencies of MavenProject: org.eclipse.jdt:org.eclipse.jdt.text.tests:3.13.1400-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.text.tests/pom.xml [INFO] Resolving class path of MavenProject: org.eclipse.jdt:org.eclipse.jdt.text.tests:3.13.1400-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.text.tests/pom.xml [INFO] Fetching org.apiguardian_1.1.0.v20190826-0900.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (16.03kB) [INFO] Fetching org.eclipse.core.filebuffers.tests_3.12.100.v20210608-1324.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (109.98kB) [INFO] Fetching org.junit_4.13.0.v20200204-1500.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (415.44kB) [INFO] Fetching org.eclipse.core.net_1.3.1100.v20210424-0724.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (64.42kB) [INFO] Fetching org.eclipse.core.variables_3.5.100.v20210721-1355.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (35.64kB) [INFO] Fetching org.eclipse.debug.core_3.18.200.v20210721-1355.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (394.78kB) [INFO] Fetching org.eclipse.debug.ui_3.15.100.v20210721-1355.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (2.96MB) [INFO] Fetching org.eclipse.ui.console_3.11.100.v20210721-1355.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (209.6kB) [INFO] Fetching org.eclipse.equinox.frameworkadmin_2.2.0.v20210315-2042.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (36.06kB) [INFO] Fetching org.eclipse.equinox.frameworkadmin.equinox_1.2.100.v20210703-1540.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (69.05kB) [INFO] Fetching org.eclipse.equinox.launcher_1.6.200.v20210416-2027.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (52.21kB) [INFO] Fetching org.eclipse.equinox.simpleconfigurator_1.4.0.v20210315-2228.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (45.48kB) [INFO] Fetching org.eclipse.equinox.simpleconfigurator.manipulator_2.2.0.v20210315-2228.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (26.34kB) [INFO] Fetching org.eclipse.jdt.core_3.27.0.v20210725-1754.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (6.6MB) [INFO] Fetching org.eclipse.jdt.launching_3.19.300.v20210725-1542.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (563.46kB) [INFO] Fetching org.eclipse.jdt.debug_3.17.300.v20210701-1940.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (903.46kB) [INFO] Fetching org.eclipse.jdt.debug.ui_3.12.400.v20210726-1815.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (1.67MB) [INFO] Fetching org.eclipse.search_3.13.300.v20210616-1255.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (533.58kB) [INFO] Fetching org.junit.jupiter.api_5.7.1.v20210222-1948.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (199.25kB) [INFO] Fetching org.junit.jupiter.engine_5.7.1.v20210222-1948.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (231.31kB) [INFO] Fetching org.junit.jupiter.migrationsupport_5.7.1.v20210222-1948.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (43.37kB) [INFO] Fetching org.junit.jupiter.params_5.7.1.v20210222-1948.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (592.12kB) [INFO] Fetching org.junit.vintage.engine_5.7.1.v20210222-1948.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (80.71kB) [INFO] Fetching org.opentest4j_1.2.0.v20190826-0900.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (21.48kB) [INFO] Fetching org.junit.platform.commons_1.7.1.v20210222-1948.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (115.31kB) [INFO] Fetching org.junit.platform.engine_1.7.1.v20210222-1948.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (201.96kB) [INFO] Fetching org.junit.platform.launcher_1.7.1.v20210222-1948.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (155.96kB) [INFO] Fetching org.junit.platform.runner_1.7.1.v20210222-1948.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (33.49kB) [INFO] Fetching org.junit.platform.suite.api_1.7.1.v20210222-1948.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (30.43kB) [INFO] Fetching org.eclipse.text.tests_3.13.100.v20210629-1413.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (188.74kB) [INFO] Fetching org.eclipse.jface.text.tests_3.12.200.v20210629-1413.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (177.18kB) [INFO] Fetching org.eclipse.test.performance_3.18.0.v20210623-0710.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (111.48kB) [INFO] Fetching org.eclipse.ui.navigator.resources_3.8.100.v20210319-0848.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (169.53kB) [INFO] Fetching org.eclipse.ui.ide.application_1.4.100.v20210506-1050.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (110.51kB) [INFO] Fetching org.eclipse.ui.views.properties.tabbed_3.9.100.v20201223-1348.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (107.15kB) [INFO] Fetching org.hamcrest.core_1.3.0.v20180420-1519.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (65.43kB) [INFO] Computing target platform for MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.tests:3.14.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests/pom.xml [INFO] Resolving dependencies of MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.tests:3.14.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests/pom.xml [INFO] Resolving class path of MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.tests:3.14.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests/pom.xml [INFO] Fetching org.eclipse.jdt.annotation_1.2.0.v20210519-0438.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (15.08kB) [INFO] Fetching org.eclipse.jdt.annotation_2.2.600.v20200408-1511.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (25.16kB) [INFO] Computing target platform for MavenProject: org.eclipse.ltk:org.eclipse.ltk.core.refactoring.tests:3.9.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring.tests/pom.xml [INFO] Resolving dependencies of MavenProject: org.eclipse.ltk:org.eclipse.ltk.core.refactoring.tests:3.9.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring.tests/pom.xml [INFO] Resolving class path of MavenProject: org.eclipse.ltk:org.eclipse.ltk.core.refactoring.tests:3.9.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring.tests/pom.xml [INFO] Computing target platform for MavenProject: org.eclipse.ltk:org.eclipse.ltk.ui.refactoring.tests:3.10.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring.tests/pom.xml [INFO] Resolving dependencies of MavenProject: org.eclipse.ltk:org.eclipse.ltk.ui.refactoring.tests:3.10.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring.tests/pom.xml [INFO] Resolving class path of MavenProject: org.eclipse.ltk:org.eclipse.ltk.ui.refactoring.tests:3.10.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring.tests/pom.xml [INFO] Computing target platform for MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.tests.refactoring:3.14.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests.refactoring/pom.xml [INFO] Resolving dependencies of MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.tests.refactoring:3.14.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests.refactoring/pom.xml [INFO] Resolving class path of MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.tests.refactoring:3.14.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests.refactoring/pom.xml [INFO] Computing target platform for MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.examples.projects:3.2.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.examples.projects/pom.xml [INFO] Resolving dependencies of MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.examples.projects:3.2.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.examples.projects/pom.xml [INFO] Resolving class path of MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.examples.projects:3.2.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.examples.projects/pom.xml [INFO] Computing target platform for MavenProject: org.eclipse.jdt:org.eclipse.jdt.core.manipulation:1.15.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.core.manipulation/pom.xml [INFO] Resolving dependencies of MavenProject: org.eclipse.jdt:org.eclipse.jdt.core.manipulation:1.15.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.core.manipulation/pom.xml [INFO] Resolving class path of MavenProject: org.eclipse.jdt:org.eclipse.jdt.core.manipulation:1.15.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.core.manipulation/pom.xml [INFO] Computing target platform for MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui:3.24.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui/pom.xml [INFO] Resolving dependencies of MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui:3.24.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui/pom.xml [INFO] Resolving class path of MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui:3.24.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui/pom.xml [INFO] Computing target platform for MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit:3.13.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit/pom.xml [INFO] Resolving dependencies of MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit:3.13.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit/pom.xml [INFO] Resolving class path of MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit:3.13.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit/pom.xml [INFO] Computing target platform for MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit.core:3.11.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.core/pom.xml [INFO] Resolving dependencies of MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit.core:3.11.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.core/pom.xml [INFO] Resolving class path of MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit.core:3.11.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.core/pom.xml [INFO] Computing target platform for MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit.runtime:3.6.100-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.runtime/pom.xml [INFO] Resolving dependencies of MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit.runtime:3.6.100-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.runtime/pom.xml [INFO] Resolving class path of MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit.runtime:3.6.100-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.runtime/pom.xml [INFO] Computing target platform for MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit4.runtime:1.2.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit4.runtime/pom.xml [INFO] Resolving dependencies of MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit4.runtime:1.2.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit4.runtime/pom.xml [INFO] Resolving class path of MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit4.runtime:1.2.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit4.runtime/pom.xml [INFO] Computing target platform for MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit5.runtime:1.0.1300-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit5.runtime/pom.xml [INFO] Resolving dependencies of MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit5.runtime:1.0.1300-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit5.runtime/pom.xml [INFO] Resolving class path of MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit5.runtime:1.0.1300-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit5.runtime/pom.xml [INFO] Computing target platform for MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.unittest.junit:1.0.200-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit/pom.xml [INFO] Resolving dependencies of MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.unittest.junit:1.0.200-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit/pom.xml [INFO] Resolving class path of MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.unittest.junit:1.0.200-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit/pom.xml [INFO] Fetching org.eclipse.unittest.ui_1.0.100.v20210429-0605.jar from https://download.eclipse.org/eclipse/updates/4.21-I-builds/I20210726-1800/plugins/ (346.84kB) [INFO] Computing target platform for MavenProject: org.eclipse.jdt.feature:org.eclipse.jdt.ui.unittest.junit.feature:1.0.100-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit.feature/pom.xml [INFO] Resolving dependencies of MavenProject: org.eclipse.jdt.feature:org.eclipse.jdt.ui.unittest.junit.feature:1.0.100-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit.feature/pom.xml [INFO] Resolving class path of MavenProject: org.eclipse.jdt.feature:org.eclipse.jdt.ui.unittest.junit.feature:1.0.100-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit.feature/pom.xml [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] eclipse.jdt.ui [pom] [INFO] org.eclipse.ltk.core.refactoring [eclipse-plugin] [INFO] org.eclipse.ltk.ui.refactoring [eclipse-plugin] [INFO] org.eclipse.jdt.core.manipulation [eclipse-plugin] [INFO] org.eclipse.jdt.ui [eclipse-plugin] [INFO] org.eclipse.jdt.junit.runtime [eclipse-plugin] [INFO] org.eclipse.jdt.junit.core [eclipse-plugin] [INFO] org.eclipse.jdt.junit [eclipse-plugin] [INFO] org.eclipse.jdt.junit4.runtime [eclipse-plugin] [INFO] org.eclipse.jdt.junit5.runtime [eclipse-plugin] [INFO] org.eclipse.jdt.ui.tests [eclipse-test-plugin] [INFO] org.eclipse.jdt.text.tests [eclipse-test-plugin] [INFO] org.eclipse.ltk.core.refactoring.tests [eclipse-test-plugin] [INFO] org.eclipse.ltk.ui.refactoring.tests [eclipse-test-plugin] [INFO] org.eclipse.jdt.ui.tests.refactoring [eclipse-test-plugin] [INFO] org.eclipse.jdt.ui.junit.sampleproject [jar] [INFO] org.eclipse.jdt.ui.examples.projects [eclipse-plugin] [INFO] org.eclipse.jdt.ui.unittest.junit [eclipse-plugin] [INFO] org.eclipse.jdt.ui.unittest.junit.feature [eclipse-feature] [INFO] [INFO] -------------------< eclipse.jdt.ui:eclipse.jdt.ui >-------------------- [INFO] Building eclipse.jdt.ui 4.21.0-SNAPSHOT [1/19] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ eclipse.jdt.ui --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ eclipse.jdt.ui --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ eclipse.jdt.ui --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ eclipse.jdt.ui --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/src/main/resources [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ eclipse.jdt.ui >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ eclipse.jdt.ui --- [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ eclipse.jdt.ui <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ eclipse.jdt.ui --- [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ eclipse.jdt.ui --- [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ eclipse.jdt.ui --- [INFO] Skipped [INFO] [INFO] ----------< org.eclipse.ltk:org.eclipse.ltk.core.refactoring >---------- [INFO] Building org.eclipse.ltk.core.refactoring 3.12.0-SNAPSHOT [2/19] [INFO] ---------------------------[ eclipse-plugin ]--------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.ltk.core.refactoring --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) @ org.eclipse.ltk.core.refactoring --- [INFO] The project's OSGi version is 3.12.0.v20210618-1953 [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-id (default-validate-id) @ org.eclipse.ltk.core.refactoring --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-version (default-validate-version) @ org.eclipse.ltk.core.refactoring --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.ltk.core.refactoring --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.ltk.core.refactoring --- [INFO] [INFO] --- target-platform-configuration:2.4.0:target-platform (default-target-platform) @ org.eclipse.ltk.core.refactoring --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ org.eclipse.ltk.core.refactoring --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring/src/main/resources [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.ltk.core.refactoring --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring/src/main/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:compile (default-compile) @ org.eclipse.ltk.core.refactoring --- [INFO] Compiling 144 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring/target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.ltk.core.refactoring >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.ltk.core.refactoring --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.ltk.core.refactoring <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.ltk.core.refactoring --- [INFO] BugInstance size is 13 [INFO] Error size is 0 [INFO] Total bugs: 13 [ERROR] Medium: org.eclipse.ltk.core.refactoring.MultiStateTextFileChange$ComposableEditPosition doesn't override org.eclipse.jface.text.Position.equals(Object) [org.eclipse.ltk.core.refactoring.MultiStateTextFileChange$ComposableEditPosition] At MultiStateTextFileChange.java:[line 1] EQ_DOESNT_OVERRIDE_EQUALS [ERROR] Medium: org.eclipse.ltk.core.refactoring.RefactoringStatusContext.toString() may return null [org.eclipse.ltk.core.refactoring.RefactoringStatusContext, org.eclipse.ltk.core.refactoring.RefactoringStatusContext] Returned at RefactoringStatusContext.java:[line 50]Known null at RefactoringStatusContext.java:[line 50] NP_TOSTRING_COULD_RETURN_NULL [ERROR] Medium: Switch statement found in org.eclipse.ltk.core.refactoring.RefactoringStatusEntry.toStatus() where default case is missing [org.eclipse.ltk.core.refactoring.RefactoringStatusEntry] At RefactoringStatusEntry.java:[lines 249-258] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Possible null pointer dereference of monitor in org.eclipse.ltk.core.refactoring.resource.MoveRenameResourceChange.perform(IProgressMonitor) on exception path [org.eclipse.ltk.core.refactoring.resource.MoveRenameResourceChange, org.eclipse.ltk.core.refactoring.resource.MoveRenameResourceChange, org.eclipse.ltk.core.refactoring.resource.MoveRenameResourceChange] Dereferenced at MoveRenameResourceChange.java:[line 139]Null value at MoveRenameResourceChange.java:[line 105]Known null at MoveRenameResourceChange.java:[line 106] NP_NULL_ON_SOME_PATH_EXCEPTION [ERROR] Medium: Possible null pointer dereference of monitor in org.eclipse.ltk.core.refactoring.resource.MoveResourceChange.perform(IProgressMonitor) on exception path [org.eclipse.ltk.core.refactoring.resource.MoveResourceChange, org.eclipse.ltk.core.refactoring.resource.MoveResourceChange, org.eclipse.ltk.core.refactoring.resource.MoveResourceChange] Dereferenced at MoveResourceChange.java:[line 134]Null value at MoveResourceChange.java:[line 100]Known null at MoveResourceChange.java:[line 101] NP_NULL_ON_SOME_PATH_EXCEPTION [ERROR] Medium: org.eclipse.ltk.core.refactoring.resource.ResourceChange$ValidationState.checkModificationStamp(RefactoringStatus, long) uses the same code for two branches [org.eclipse.ltk.core.refactoring.resource.ResourceChange$ValidationState, org.eclipse.ltk.core.refactoring.resource.ResourceChange$ValidationState] At ResourceChange.java:[lines 280-283]At ResourceChange.java:[lines 284-285] DB_DUPLICATE_BRANCHES [ERROR] Medium: Incorrect lazy initialization and update of static field org.eclipse.ltk.internal.core.refactoring.RefactoringCorePlugin.fRefactoringUndoContext in org.eclipse.ltk.internal.core.refactoring.RefactoringCorePlugin.getUndoContext() [org.eclipse.ltk.internal.core.refactoring.RefactoringCorePlugin] At RefactoringCorePlugin.java:[lines 61-62] LI_LAZY_INIT_UPDATE_STATIC [ERROR] Medium: org.eclipse.ltk.internal.core.refactoring.RefactoringSessionTransformer$AttributeComparator implements Comparator but not Serializable [org.eclipse.ltk.internal.core.refactoring.RefactoringSessionTransformer$AttributeComparator] At RefactoringSessionTransformer.java:[lines 1-52] SE_COMPARATOR_SHOULD_BE_SERIALIZABLE [ERROR] Medium: Switch statement found in org.eclipse.ltk.internal.core.refactoring.UndoManager2$OperationHistoryListener.historyNotification(OperationHistoryEvent) where default case is missing [org.eclipse.ltk.internal.core.refactoring.UndoManager2$OperationHistoryListener] At UndoManager2.java:[lines 55-79] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Call to method of static java.util.Calendar in org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistoryManager.stampToPath(long) [org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistoryManager] At RefactoringHistoryManager.java:[line 409] STCAL_INVOKE_ON_STATIC_CALENDAR_INSTANCE [ERROR] Medium: Switch statement found in org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistorySerializer.historyNotification(RefactoringHistoryEvent) where default case is missing [org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistorySerializer] At RefactoringHistorySerializer.java:[lines 47-86] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistoryService.performHistoryNotification(OperationHistoryEvent) where default case is missing [org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistoryService] At RefactoringHistoryService.java:[lines 909-941] SF_SWITCH_NO_DEFAULT [ERROR] High: Found reliance on default encoding in org.eclipse.ltk.internal.core.refactoring.resource.undostates.FileUndoState.createExistentResourceFromHandle(IResource, IProgressMonitor): String.getBytes() [org.eclipse.ltk.internal.core.refactoring.resource.undostates.FileUndoState] At FileUndoState.java:[line 161] DM_DEFAULT_ENCODING [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ org.eclipse.ltk.core.refactoring --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring/src/test/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:testCompile (default-testCompile) @ org.eclipse.ltk.core.refactoring --- [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ org.eclipse.ltk.core.refactoring --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.ltk.core.refactoring --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring/target/org.eclipse.ltk.core.refactoring-3.12.0-SNAPSHOT-sources.jar [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:package-plugin (default-package-plugin) @ org.eclipse.ltk.core.refactoring --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring/target/org.eclipse.ltk.core.refactoring-3.12.0-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.ltk.core.refactoring --- [WARNING] MavenProject: org.eclipse.ltk:org.eclipse.ltk.core.refactoring:3.12.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring/pom.xml: baseline and build artifacts have same version but different contents no-classifier: different .api_description: present in baseline only [INFO] MavenProject: org.eclipse.ltk:org.eclipse.ltk.core.refactoring:3.12.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring/pom.xml The main artifact has been replaced with the baseline version. The following attached artifacts have been replaced with the baseline version: [sources] [INFO] [INFO] --- tycho-surefire-plugin:2.4.0:integration-test (default-integration-test) @ org.eclipse.ltk.core.refactoring --- [INFO] Skipping tests [INFO] [INFO] --- maven-failsafe-plugin:2.22.2:verify (default-verify) @ org.eclipse.ltk.core.refactoring --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.ltk.core.refactoring --- [INFO] Skipped [INFO] [INFO] -----------< org.eclipse.ltk:org.eclipse.ltk.ui.refactoring >----------- [INFO] Building org.eclipse.ltk.ui.refactoring 3.12.0-SNAPSHOT [3/19] [INFO] ---------------------------[ eclipse-plugin ]--------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.ltk.ui.refactoring --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) @ org.eclipse.ltk.ui.refactoring --- [INFO] The project's OSGi version is 3.12.0.v20210618-1953 [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-id (default-validate-id) @ org.eclipse.ltk.ui.refactoring --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-version (default-validate-version) @ org.eclipse.ltk.ui.refactoring --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.ltk.ui.refactoring --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.ltk.ui.refactoring --- [INFO] [INFO] --- target-platform-configuration:2.4.0:target-platform (default-target-platform) @ org.eclipse.ltk.ui.refactoring --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ org.eclipse.ltk.ui.refactoring --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring/src/main/resources [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.ltk.ui.refactoring --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring/src/main/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:compile (default-compile) @ org.eclipse.ltk.ui.refactoring --- [INFO] Compiling 126 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring/target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.ltk.ui.refactoring >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.ltk.ui.refactoring --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.ltk.ui.refactoring <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.ltk.ui.refactoring --- [INFO] BugInstance size is 11 [INFO] Error size is 0 [INFO] Total bugs: 11 [ERROR] Medium: Incorrect lazy initialization and update of static field org.eclipse.ltk.internal.ui.refactoring.RefactoringPluginImages.fgImageRegistry in org.eclipse.ltk.internal.ui.refactoring.RefactoringPluginImages.getImageRegistry() [org.eclipse.ltk.internal.ui.refactoring.RefactoringPluginImages] At RefactoringPluginImages.java:[lines 135-136] LI_LAZY_INIT_UPDATE_STATIC [ERROR] Medium: Switch statement found in org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.showErrorDialog(ErrorWizardPage) where default case is missing [org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2] At RefactoringWizardDialog2.java:[lines 533-540] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2$MessageBox.setMessage(IWizardPage) where default case is missing [org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2$MessageBox] At RefactoringWizardDialog2.java:[lines 116-125] SF_SWITCH_NO_DEFAULT [ERROR] High: Found reliance on default encoding in org.eclipse.ltk.internal.ui.refactoring.TextEditChangePreviewViewer$CompareElement.getContents(): String.getBytes() [org.eclipse.ltk.internal.ui.refactoring.TextEditChangePreviewViewer$CompareElement] At TextEditChangePreviewViewer.java:[line 151] DM_DEFAULT_ENCODING [ERROR] High: Potentially ambiguous invocation of either an outer or inherited method org.eclipse.jface.viewers.CheckboxTreeViewer.addCheckStateListener(ICheckStateListener) in new org.eclipse.ltk.internal.ui.refactoring.history.RefactoringHistoryControl$RefactoringHistoryTreeViewer(RefactoringHistoryControl, Composite, int) [org.eclipse.ltk.internal.ui.refactoring.history.RefactoringHistoryControl$RefactoringHistoryTreeViewer] At RefactoringHistoryControl.java:[line 93] IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD [ERROR] Medium: Switch statement found in org.eclipse.ltk.internal.ui.refactoring.model.RefactoringHistoryMergeWizard$WorkspaceChangeListener.lambda$0(IResourceDelta, IResourceDelta) where default case is missing [org.eclipse.ltk.internal.ui.refactoring.model.RefactoringHistoryMergeWizard$WorkspaceChangeListener] At RefactoringHistoryMergeWizard.java:[lines 69-77] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Exceptional return value of java.io.File.mkdirs() ignored in org.eclipse.ltk.internal.ui.refactoring.scripting.CreateRefactoringScriptWizard.performExport() [org.eclipse.ltk.internal.ui.refactoring.scripting.CreateRefactoringScriptWizard] At CreateRefactoringScriptWizard.java:[line 170] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Load of known null value in org.eclipse.ltk.ui.refactoring.RefactoringWizard.computeUserInputSuccessorPage(IWizardPage, IRunnableContext) [org.eclipse.ltk.ui.refactoring.RefactoringWizard] At RefactoringWizard.java:[line 512] NP_LOAD_OF_KNOWN_NULL_VALUE [ERROR] Medium: org.eclipse.ltk.ui.refactoring.TextEditChangeNode$OffsetComparator implements Comparator but not Serializable [org.eclipse.ltk.ui.refactoring.TextEditChangeNode$OffsetComparator] At TextEditChangeNode.java:[lines 1-166] SE_COMPARATOR_SHOULD_BE_SERIALIZABLE [ERROR] Medium: Switch statement found in org.eclipse.ltk.ui.refactoring.history.RefactoringHistoryLabelProvider.getText(Object) where default case is missing [org.eclipse.ltk.ui.refactoring.history.RefactoringHistoryLabelProvider] At RefactoringHistoryLabelProvider.java:[lines 212-256] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Load of known null value in org.eclipse.ltk.ui.refactoring.history.RefactoringHistoryWizard.lambda$2(IWizardPage[], RefactoringStatus, IProgressMonitor) [org.eclipse.ltk.ui.refactoring.history.RefactoringHistoryWizard] At RefactoringHistoryWizard.java:[line 882] NP_LOAD_OF_KNOWN_NULL_VALUE [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ org.eclipse.ltk.ui.refactoring --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring/src/test/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:testCompile (default-testCompile) @ org.eclipse.ltk.ui.refactoring --- [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ org.eclipse.ltk.ui.refactoring --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.ltk.ui.refactoring --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring/target/org.eclipse.ltk.ui.refactoring-3.12.0-SNAPSHOT-sources.jar [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:package-plugin (default-package-plugin) @ org.eclipse.ltk.ui.refactoring --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring/target/org.eclipse.ltk.ui.refactoring-3.12.0-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.ltk.ui.refactoring --- [WARNING] MavenProject: org.eclipse.ltk:org.eclipse.ltk.ui.refactoring:3.12.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring/pom.xml: baseline and build artifacts have same version but different contents no-classifier: different .api_description: present in baseline only [INFO] MavenProject: org.eclipse.ltk:org.eclipse.ltk.ui.refactoring:3.12.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring/pom.xml The main artifact has been replaced with the baseline version. The following attached artifacts have been replaced with the baseline version: [sources] [INFO] [INFO] --- tycho-surefire-plugin:2.4.0:integration-test (default-integration-test) @ org.eclipse.ltk.ui.refactoring --- [INFO] Skipping tests [INFO] [INFO] --- maven-failsafe-plugin:2.22.2:verify (default-verify) @ org.eclipse.ltk.ui.refactoring --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.ltk.ui.refactoring --- [INFO] Skipped [INFO] [INFO] ---------< org.eclipse.jdt:org.eclipse.jdt.core.manipulation >---------- [INFO] Building org.eclipse.jdt.core.manipulation 1.15.0-SNAPSHOT [4/19] [INFO] ---------------------------[ eclipse-plugin ]--------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.jdt.core.manipulation --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) @ org.eclipse.jdt.core.manipulation --- [INFO] The project's OSGi version is 1.15.0.v20210730-0257 [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-id (default-validate-id) @ org.eclipse.jdt.core.manipulation --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-version (default-validate-version) @ org.eclipse.jdt.core.manipulation --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.jdt.core.manipulation --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.core.manipulation/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.jdt.core.manipulation --- [INFO] [INFO] --- target-platform-configuration:2.4.0:target-platform (default-target-platform) @ org.eclipse.jdt.core.manipulation --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ org.eclipse.jdt.core.manipulation --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.core.manipulation/src/main/resources [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.jdt.core.manipulation --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.core.manipulation/src/main/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:compile (default-compile) @ org.eclipse.jdt.core.manipulation --- [INFO] Compiling 455 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.core.manipulation/target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.jdt.core.manipulation >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.jdt.core.manipulation --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.jdt.core.manipulation <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.jdt.core.manipulation --- [INFO] BugInstance size is 37 [INFO] Error size is 0 [INFO] Total bugs: 37 [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.core.manipulation.ChangeCorrectionProposalCore.fChange; locked 66% of time [org.eclipse.jdt.core.manipulation.ChangeCorrectionProposalCore, org.eclipse.jdt.core.manipulation.ChangeCorrectionProposalCore, org.eclipse.jdt.core.manipulation.ChangeCorrectionProposalCore] Unsynchronized access at ChangeCorrectionProposalCore.java:[line 153]Synchronized access at ChangeCorrectionProposalCore.java:[line 149]Synchronized access at ChangeCorrectionProposalCore.java:[line 150] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.core.manipulation.CoreASTProvider.fAST; locked 50% of time [org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider] Unsynchronized access at CoreASTProvider.java:[line 154]Unsynchronized access at CoreASTProvider.java:[line 205]Unsynchronized access at CoreASTProvider.java:[line 205]Unsynchronized access at CoreASTProvider.java:[line 209]Unsynchronized access at CoreASTProvider.java:[line 209]Unsynchronized access at CoreASTProvider.java:[line 210]Unsynchronized access at CoreASTProvider.java:[line 210]Unsynchronized access at CoreASTProvider.java:[line 482]Synchronized access at CoreASTProvider.java:[line 348]Synchronized access at CoreASTProvider.java:[line 351]Synchronized access at CoreASTProvider.java:[line 383]Synchronized access at CoreASTProvider.java:[line 389]Synchronized access at CoreASTProvider.java:[line 387]Synchronized access at CoreASTProvider.java:[line 138]Synchronized access at CoreASTProvider.java:[line 142]Synchronized access at CoreASTProvider.java:[line 140]Synchronized access at CoreASTProvider.java:[line 180]Synchronized access at CoreASTProvider.java:[line 184]Synchronized access at CoreASTProvider.java:[line 182] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.core.manipulation.CoreASTProvider.fActiveJavaElement; locked 71% of time [org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider, org.eclipse.jdt.core.manipulation.CoreASTProvider] Unsynchronized access at CoreASTProvider.java:[line 467]Unsynchronized access at CoreASTProvider.java:[line 475]Synchronized access at CoreASTProvider.java:[line 339]Synchronized access at CoreASTProvider.java:[line 339]Synchronized access at CoreASTProvider.java:[line 387]Synchronized access at CoreASTProvider.java:[line 136]Synchronized access at CoreASTProvider.java:[line 180] IS2_INCONSISTENT_SYNC [ERROR] Medium: Redundant nullcheck of name, which is known to be non-null in org.eclipse.jdt.core.manipulation.CoreASTProvider.getThreadName() [org.eclipse.jdt.core.manipulation.CoreASTProvider] Redundant null check at CoreASTProvider.java:[line 432] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] High: Possible null pointer dereference of RenameResourceDescriptor.fResourcePath in org.eclipse.jdt.core.refactoring.descriptors.RenameResourceDescriptor.validateDescriptor() [org.eclipse.jdt.core.refactoring.descriptors.RenameResourceDescriptor, org.eclipse.jdt.core.refactoring.descriptors.RenameResourceDescriptor, org.eclipse.jdt.core.refactoring.descriptors.RenameResourceDescriptor] Dereferenced at RenameResourceDescriptor.java:[line 184]Null value at RenameResourceDescriptor.java:[line 180]Known null at RenameResourceDescriptor.java:[line 181] NP_NULL_ON_SOME_PATH [ERROR] Medium: Class org.eclipse.jdt.core.refactoring.participants.ChangeMethodSignatureArguments$ThrownException is not derived from an Exception, even though it is named as such [org.eclipse.jdt.core.refactoring.participants.ChangeMethodSignatureArguments$ThrownException] At ChangeMethodSignatureArguments.java:[lines 126-153] NM_CLASS_NOT_EXCEPTION [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.core.manipulation.JavaElementLabelComposerCore.appendTypeSignatureLabel(IJavaElement, String, long) where default case is missing [org.eclipse.jdt.internal.core.manipulation.JavaElementLabelComposerCore] At JavaElementLabelComposerCore.java:[lines 733-776] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Unwritten public or protected field: org.eclipse.jdt.internal.core.manipulation.JavaElementLabelComposerCore.fgPkgNamePostfix [org.eclipse.jdt.internal.core.manipulation.JavaElementLabelComposerCore] At JavaElementLabelComposerCore.java:[line 1176] UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unwritten public or protected field: org.eclipse.jdt.internal.core.manipulation.JavaElementLabelComposerCore.fgPkgNamePrefix [org.eclipse.jdt.internal.core.manipulation.JavaElementLabelComposerCore] At JavaElementLabelComposerCore.java:[line 1173] UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.core.manipulation.dom.ASTResolving.internalGetPossibleTypeKinds(ASTNode) where default case is missing [org.eclipse.jdt.internal.core.manipulation.dom.ASTResolving] At ASTResolving.java:[lines 1103-1168] SF_SWITCH_NO_DEFAULT [ERROR] Medium: org.eclipse.jdt.internal.corext.callhierarchy.CalleeMethodWrapper$MethodWrapperComparator implements Comparator but not Serializable [org.eclipse.jdt.internal.corext.callhierarchy.CalleeMethodWrapper$MethodWrapperComparator] At CalleeMethodWrapper.java:[lines 1-45] SE_COMPARATOR_SHOULD_BE_SERIALIZABLE [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.callhierarchy.MethodReferencesSearchRequestor.acceptSearchMatch(SearchMatch) where default case is missing [org.eclipse.jdt.internal.corext.callhierarchy.MethodReferencesSearchRequestor] At MethodReferencesSearchRequestor.java:[lines 48-53] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Unused public or protected field: org.eclipse.jdt.internal.corext.codemanipulation.tostringgeneration.ToStringGenerationSettingsCore.stringFormatTemplateNumber [org.eclipse.jdt.internal.corext.codemanipulation.tostringgeneration.ToStringGenerationSettingsCore] In ToStringGenerationSettingsCore.java UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD [ERROR] High: org.eclipse.jdt.internal.corext.dom.ASTNodes.isStatic(MethodInvocation) has Boolean return type and returns explicit null [org.eclipse.jdt.internal.corext.dom.ASTNodes] At ASTNodes.java:[line 990] NP_BOOLEAN_RETURN_NULL [ERROR] Medium: org.eclipse.jdt.internal.corext.dom.ASTNodes.getBooleanLiteral(ASTNode) has Boolean return type and returns explicit null [org.eclipse.jdt.internal.corext.dom.ASTNodes, org.eclipse.jdt.internal.corext.dom.ASTNodes] At ASTNodes.java:[line 1182]Another occurrence at ASTNodes.java:[line 1198] NP_BOOLEAN_RETURN_NULL [ERROR] Medium: org.eclipse.jdt.internal.corext.dom.ASTNodes.getBooleanObject(QualifiedName) has Boolean return type and returns explicit null [org.eclipse.jdt.internal.corext.dom.ASTNodes] At ASTNodes.java:[line 1515] NP_BOOLEAN_RETURN_NULL [ERROR] Medium: Null passed for non-null parameter of replaceWithLeadingComments(CompilationUnitRewrite, ListRewrite, ASTNode, TextEditGroup, ASTNode) in org.eclipse.jdt.internal.corext.fix.SwitchExpressionsFixCore$SwitchExpressionsFixOperation.rewriteAST(CompilationUnitRewrite, LinkedProposalModelCore) [org.eclipse.jdt.internal.corext.fix.SwitchExpressionsFixCore$SwitchExpressionsFixOperation, org.eclipse.jdt.internal.corext.fix.SwitchExpressionsFixCore$SwitchExpressionsFixOperation] Method invoked at SwitchExpressionsFixCore.java:[line 390]Known null at SwitchExpressionsFixCore.java:[line 387] NP_NULL_PARAM_DEREF [ERROR] Medium: Should org.eclipse.jdt.internal.corext.fix.SwitchFixCore$SwitchStatementsFinder$HasUnlabeledBreakVisitor be a _static_ inner class? [org.eclipse.jdt.internal.corext.fix.SwitchFixCore$SwitchStatementsFinder$HasUnlabeledBreakVisitor] At SwitchFixCore.java:[lines 80-116] SIC_INNER_SHOULD_BE_STATIC [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.refactoring.RefactoringAvailabilityTesterCore.getInlineableMethodNode(ASTNode, IJavaElement) where default case is missing [org.eclipse.jdt.internal.corext.refactoring.RefactoringAvailabilityTesterCore] At RefactoringAvailabilityTesterCore.java:[lines 159-170] SF_SWITCH_NO_DEFAULT [ERROR] Medium: org.eclipse.jdt.internal.corext.refactoring.RefactoringSearchEngine2.getGroupedMatches() makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.internal.corext.refactoring.RefactoringSearchEngine2] At RefactoringSearchEngine2.java:[line 386] WMI_WRONG_MAP_ITERATOR [ERROR] High: The class name org.eclipse.jdt.internal.corext.refactoring.changes.CompilationUnitChange shadows the simple name of the superclass org.eclipse.jdt.core.refactoring.CompilationUnitChange [org.eclipse.jdt.internal.corext.refactoring.changes.CompilationUnitChange] At CompilationUnitChange.java:[lines 41-62] NM_SAME_SIMPLE_NAME_AS_SUPERCLASS [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.refactoring.code.CallInliner.initialize(BodyDeclaration) where default case is missing [org.eclipse.jdt.internal.corext.refactoring.code.CallInliner] At CallInliner.java:[lines 232-235] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.refactoring.code.CallInliner.initializeInsertionPoint(int) where default case is missing [org.eclipse.jdt.internal.corext.refactoring.code.CallInliner] At CallInliner.java:[lines 778-800] SF_SWITCH_NO_DEFAULT [ERROR] High: Potentially dangerous use of non-short-circuit logic in org.eclipse.jdt.internal.corext.refactoring.code.ConstantChecks$LoadTimeConstantChecker.visit(FieldAccess) [org.eclipse.jdt.internal.corext.refactoring.code.ConstantChecks$LoadTimeConstantChecker] At ConstantChecks.java:[line 75] NS_DANGEROUS_NON_SHORT_CIRCUIT [ERROR] High: Potentially dangerous use of non-short-circuit logic in org.eclipse.jdt.internal.corext.refactoring.code.ConstantChecks$LoadTimeConstantChecker.visit(MethodInvocation) [org.eclipse.jdt.internal.corext.refactoring.code.ConstantChecks$LoadTimeConstantChecker] At ConstantChecks.java:[line 83] NS_DANGEROUS_NON_SHORT_CIRCUIT [ERROR] Medium: Possible null pointer dereference of InlineMethodRefactoring.fSourceProvider in org.eclipse.jdt.internal.corext.refactoring.code.InlineMethodRefactoring.checkInitialConditions(IProgressMonitor) [org.eclipse.jdt.internal.corext.refactoring.code.InlineMethodRefactoring, org.eclipse.jdt.internal.corext.refactoring.code.InlineMethodRefactoring] Dereferenced at InlineMethodRefactoring.java:[line 258]Known null at InlineMethodRefactoring.java:[line 253] NP_NULL_ON_SOME_PATH [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.refactoring.code.PromoteTempToFieldRefactoring.getRefactoringDescriptor() where default case is missing [org.eclipse.jdt.internal.corext.refactoring.code.PromoteTempToFieldRefactoring] At PromoteTempToFieldRefactoring.java:[lines 696-704] SF_SWITCH_NO_DEFAULT [ERROR] Medium: org.eclipse.jdt.internal.corext.refactoring.structure.MemberVisibilityAdjustor.rewriteVisibility(IProgressMonitor) makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.internal.corext.refactoring.structure.MemberVisibilityAdjustor] At MemberVisibilityAdjustor.java:[line 1082] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: org.eclipse.jdt.internal.corext.refactoring.structure.MemberVisibilityAdjustor.rewriteVisibility(ICompilationUnit, IProgressMonitor) makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.internal.corext.refactoring.structure.MemberVisibilityAdjustor] At MemberVisibilityAdjustor.java:[line 1057] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: org.eclipse.jdt.internal.corext.refactoring.structure.MoveInstanceMethodProcessor.createChangeManager(RefactoringStatus, IProgressMonitor) makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.internal.corext.refactoring.structure.MoveInstanceMethodProcessor] At MoveInstanceMethodProcessor.java:[line 1864] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: Unchecked/unconfirmed cast from org.eclipse.jdt.internal.ui.text.template.contentassist.MultiVariable to org.eclipse.jdt.internal.corext.template.java.JavaVariable in org.eclipse.jdt.internal.corext.template.java.AbstractJavaContextTypeCore$AbstractIterable.resolve(TemplateVariable, TemplateContext) [org.eclipse.jdt.internal.corext.template.java.AbstractJavaContextTypeCore$AbstractIterable] At AbstractJavaContextTypeCore.java:[line 71] BC_UNCONFIRMED_CAST [ERROR] Medium: Unchecked/unconfirmed cast from org.eclipse.jface.text.templates.TemplateVariable to org.eclipse.jdt.internal.ui.text.template.contentassist.MultiVariable in org.eclipse.jdt.internal.corext.template.java.NameResolver.resolve(TemplateVariable, TemplateContext) [org.eclipse.jdt.internal.corext.template.java.NameResolver] At NameResolver.java:[line 62] BC_UNCONFIRMED_CAST [ERROR] Medium: org.eclipse.jdt.internal.corext.util.DelegateEntryComparator implements Comparator but not Serializable [org.eclipse.jdt.internal.corext.util.DelegateEntryComparator] At DelegateEntryComparator.java:[lines 1-74] SE_COMPARATOR_SHOULD_BE_SERIALIZABLE [ERROR] High: org.eclipse.jdt.internal.corext.util.NodeMatcher$1.isMatching(ASTNode) has Boolean return type and returns explicit null [org.eclipse.jdt.internal.corext.util.NodeMatcher$1] At NodeMatcher.java:[line 45] NP_BOOLEAN_RETURN_NULL [ERROR] Medium: org.eclipse.jdt.internal.ui.javaeditor.HighlightedPositionCore doesn't override org.eclipse.jface.text.Position.equals(Object) [org.eclipse.jdt.internal.ui.javaeditor.HighlightedPositionCore] At HighlightedPositionCore.java:[line 1] EQ_DOESNT_OVERRIDE_EQUALS [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.preferences.formatter.ProfileVersionerCore.updateAndComplete(Map, int) where default case is missing [org.eclipse.jdt.internal.ui.preferences.formatter.ProfileVersionerCore] At ProfileVersionerCore.java:[lines 39-95] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.ChainElement.initializeReturnType() where default case is missing [org.eclipse.jdt.internal.ui.text.ChainElement] At ChainElement.java:[lines 57-86] SF_SWITCH_NO_DEFAULT [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ org.eclipse.jdt.core.manipulation --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.core.manipulation/src/test/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:testCompile (default-testCompile) @ org.eclipse.jdt.core.manipulation --- [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ org.eclipse.jdt.core.manipulation --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.jdt.core.manipulation --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.core.manipulation/target/org.eclipse.jdt.core.manipulation-1.15.0-SNAPSHOT-sources.jar [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:package-plugin (default-package-plugin) @ org.eclipse.jdt.core.manipulation --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.core.manipulation/target/org.eclipse.jdt.core.manipulation-1.15.0-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.jdt.core.manipulation --- [INFO] No baseline version MavenProject: org.eclipse.jdt:org.eclipse.jdt.core.manipulation:1.15.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.core.manipulation/pom.xml [INFO] [INFO] --- tycho-surefire-plugin:2.4.0:integration-test (default-integration-test) @ org.eclipse.jdt.core.manipulation --- [INFO] Skipping tests [INFO] [INFO] --- maven-failsafe-plugin:2.22.2:verify (default-verify) @ org.eclipse.jdt.core.manipulation --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.jdt.core.manipulation --- [INFO] Skipped [INFO] [INFO] -----------------< org.eclipse.jdt:org.eclipse.jdt.ui >----------------- [INFO] Building org.eclipse.jdt.ui 3.24.0-SNAPSHOT [5/19] [INFO] ---------------------------[ eclipse-plugin ]--------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.jdt.ui --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) @ org.eclipse.jdt.ui --- [INFO] The project's OSGi version is 3.24.0.v20210730-0257 [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-id (default-validate-id) @ org.eclipse.jdt.ui --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-version (default-validate-version) @ org.eclipse.jdt.ui --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.jdt.ui --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.jdt.ui --- [INFO] [INFO] --- target-platform-configuration:2.4.0:target-platform (default-target-platform) @ org.eclipse.jdt.ui --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ org.eclipse.jdt.ui --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui/src/main/resources [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.jdt.ui --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui/src/main/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:compile (default-compile) @ org.eclipse.jdt.ui --- [INFO] Compiling 2024 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui/target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.jdt.ui >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.jdt.ui --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.jdt.ui <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.jdt.ui --- [INFO] BugInstance size is 373 [INFO] Error size is 0 [INFO] Total bugs: 373 [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.codemanipulation.AddGetterSetterOperation.querySkipExistingMethods(IMethod) where default case is missing [org.eclipse.jdt.internal.corext.codemanipulation.AddGetterSetterOperation] At AddGetterSetterOperation.java:[lines 270-276] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.codemanipulation.AddJavaDocStubOperation.addJavadocComments(IProgressMonitor) where default case is missing [org.eclipse.jdt.internal.corext.codemanipulation.AddJavaDocStubOperation] At AddJavaDocStubOperation.java:[lines 137-145] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Return value of org.eclipse.ltk.core.refactoring.PerformChangeOperation.getUndoChange() ignored, but method has no side effect [org.eclipse.jdt.internal.corext.fix.CleanUpPostSaveListener] At CleanUpPostSaveListener.java:[line 410] RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.corext.fix.CleanUpRegistry.fCleanUpInitializerDescriptors; locked 66% of time [org.eclipse.jdt.internal.corext.fix.CleanUpRegistry, org.eclipse.jdt.internal.corext.fix.CleanUpRegistry, org.eclipse.jdt.internal.corext.fix.CleanUpRegistry] Unsynchronized access at CleanUpRegistry.java:[line 316]Synchronized access at CleanUpRegistry.java:[line 442]Synchronized access at CleanUpRegistry.java:[line 454] IS2_INCONSISTENT_SYNC [ERROR] Medium: Unchecked/unconfirmed cast from org.eclipse.jdt.internal.corext.fix.LinkedProposalModelCore to org.eclipse.jdt.internal.corext.fix.LinkedProposalModel in org.eclipse.jdt.internal.corext.fix.CompilationUnitRewriteOperationsFix$CompilationUnitRewriteOperation.rewriteAST(CompilationUnitRewrite, LinkedProposalModelCore) [org.eclipse.jdt.internal.corext.fix.CompilationUnitRewriteOperationsFix$CompilationUnitRewriteOperation] At CompilationUnitRewriteOperationsFix.java:[line 45] BC_UNCONFIRMED_CAST [ERROR] Medium: Redundant nullcheck of coveringNode, which is known to be non-null in org.eclipse.jdt.internal.corext.fix.ExternalNullAnnotationChangeProposals.collectExternalAnnotationProposals(ICompilationUnit, ASTNode, int, List) [org.eclipse.jdt.internal.corext.fix.ExternalNullAnnotationChangeProposals] Redundant null check at ExternalNullAnnotationChangeProposals.java:[line 437] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.internal.corext.fix.ExternalNullAnnotationChangeProposals$SignatureAnnotationChangeProposal.fCU [org.eclipse.jdt.internal.corext.fix.ExternalNullAnnotationChangeProposals$SignatureAnnotationChangeProposal] At ExternalNullAnnotationChangeProposals.java:[line 142] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.fix.NullAnnotationsFix.createAddNullAnnotationOperations(CompilationUnit, IProblemLocation[], List) where default case is missing [org.eclipse.jdt.internal.corext.fix.NullAnnotationsFix] At NullAnnotationsFix.java:[lines 231-246] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.fix.NullAnnotationsFix.createNullAnnotationInSignatureFix(CompilationUnit, IProblemLocation, NullAnnotationsRewriteOperations$ChangeKind, boolean) where default case is missing [org.eclipse.jdt.internal.corext.fix.NullAnnotationsFix] At NullAnnotationsFix.java:[lines 101-134] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.fix.NullAnnotationsRewriteOperations$Builder.findReferencedParameter(ASTNode) where default case is missing [org.eclipse.jdt.internal.corext.fix.NullAnnotationsRewriteOperations$Builder] At NullAnnotationsRewriteOperations.java:[lines 743-748] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Unwritten field: org.eclipse.jdt.internal.corext.fix.PotentialProgrammingProblemsFix.fCurrentContext [org.eclipse.jdt.internal.corext.fix.PotentialProgrammingProblemsFix] At PotentialProgrammingProblemsFix.java:[line 116] UWF_UNWRITTEN_FIELD [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.javadoc.JavaDocLocations.getJavadocLocation(IJavaElement, boolean) where one case falls through to the next case [org.eclipse.jdt.internal.corext.javadoc.JavaDocLocations] At JavaDocLocations.java:[lines 242-245] SF_SWITCH_FALLTHROUGH [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.refactoring.ExceptionInfo.toString() where default case is missing [org.eclipse.jdt.internal.corext.refactoring.ExceptionInfo] At ExceptionInfo.java:[lines 92-95] SF_SWITCH_NO_DEFAULT [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.corext.refactoring.binary.AbstractCodeCreationOperation.createCompilationUnit(IFileStore, String, String, IProgressMonitor): String.getBytes() [org.eclipse.jdt.internal.corext.refactoring.binary.AbstractCodeCreationOperation] At AbstractCodeCreationOperation.java:[line 89] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.corext.refactoring.changes.DeletePackageFragmentRootChange.getFileLength(IFile): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.internal.corext.refactoring.changes.DeletePackageFragmentRootChange] At DeletePackageFragmentRootChange.java:[line 164] DM_DEFAULT_ENCODING [ERROR] High: Comparison of String parameter using == or != in org.eclipse.jdt.internal.corext.refactoring.code.ExtractConstantRefactoring.setVisibility(String) [org.eclipse.jdt.internal.corext.refactoring.code.ExtractConstantRefactoring] At ExtractConstantRefactoring.java:[line 211] ES_COMPARING_PARAMETER_STRING_WITH_EQ [ERROR] High: Comparison of String parameter using == or != in org.eclipse.jdt.internal.corext.refactoring.code.ExtractConstantRefactoring.setVisibility(String) [org.eclipse.jdt.internal.corext.refactoring.code.ExtractConstantRefactoring] At ExtractConstantRefactoring.java:[line 211] ES_COMPARING_PARAMETER_STRING_WITH_EQ [ERROR] High: Comparison of String parameter using == or != in org.eclipse.jdt.internal.corext.refactoring.code.ExtractConstantRefactoring.setVisibility(String) [org.eclipse.jdt.internal.corext.refactoring.code.ExtractConstantRefactoring] At ExtractConstantRefactoring.java:[line 211] ES_COMPARING_PARAMETER_STRING_WITH_EQ [ERROR] High: Comparison of String parameter using == or != in org.eclipse.jdt.internal.corext.refactoring.code.ExtractConstantRefactoring.setVisibility(String) [org.eclipse.jdt.internal.corext.refactoring.code.ExtractConstantRefactoring] At ExtractConstantRefactoring.java:[line 211] ES_COMPARING_PARAMETER_STRING_WITH_EQ [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.refactoring.code.LocalTypeAnalyzer.processLocalTypeBinding(ITypeBinding, int) where default case is missing [org.eclipse.jdt.internal.corext.refactoring.code.LocalTypeAnalyzer] At LocalTypeAnalyzer.java:[lines 96-107] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.refactoring.code.LocalTypeAnalyzer.visitType(AbstractTypeDeclaration) where default case is missing [org.eclipse.jdt.internal.corext.refactoring.code.LocalTypeAnalyzer] At LocalTypeAnalyzer.java:[lines 84-89] SF_SWITCH_NO_DEFAULT [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.corext.refactoring.nls.NLSHintHelper.getProperties(IStorage): String.getBytes() [org.eclipse.jdt.internal.corext.refactoring.nls.NLSHintHelper] At NLSHintHelper.java:[line 449] DM_DEFAULT_ENCODING [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.refactoring.rename.RefactoringHandleTransplanter.convertElements(IMember[]) where default case is missing [org.eclipse.jdt.internal.corext.refactoring.rename.RefactoringHandleTransplanter, org.eclipse.jdt.internal.corext.refactoring.rename.RefactoringHandleTransplanter, org.eclipse.jdt.internal.corext.refactoring.rename.RefactoringHandleTransplanter] At RefactoringHandleTransplanter.java:[lines 143-145]Another occurrence at RefactoringHandleTransplanter.java:[lines 152-154]Another occurrence at RefactoringHandleTransplanter.java:[lines 161-164] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.refactoring.rename.RefactoringScanner.doScan() where default case is missing [org.eclipse.jdt.internal.corext.refactoring.rename.RefactoringScanner] At RefactoringScanner.java:[lines 108-113] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Useless object stored in variable arguments of method org.eclipse.jdt.internal.corext.refactoring.sef.AccessAnalyzer.visit(Assignment) [org.eclipse.jdt.internal.corext.refactoring.sef.AccessAnalyzer] At AccessAnalyzer.java:[line 137] UC_USELESS_OBJECT [ERROR] Medium: Load of known null value in org.eclipse.jdt.internal.corext.refactoring.sef.SelfEncapsulateFieldRefactoring.checkInitialConditions(IProgressMonitor) [org.eclipse.jdt.internal.corext.refactoring.sef.SelfEncapsulateFieldRefactoring] At SelfEncapsulateFieldRefactoring.java:[line 253] NP_LOAD_OF_KNOWN_NULL_VALUE [ERROR] Medium: Load of known null value in org.eclipse.jdt.internal.corext.refactoring.sef.SelfEncapsulateFieldRefactoring.checkMethodInHierarchy(ITypeBinding, String, ITypeBinding, ITypeBinding[], RefactoringStatus, boolean) [org.eclipse.jdt.internal.corext.refactoring.sef.SelfEncapsulateFieldRefactoring] At SelfEncapsulateFieldRefactoring.java:[line 559] NP_LOAD_OF_KNOWN_NULL_VALUE [ERROR] Medium: Load of known null value in org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureProcessor.initialize(JavaRefactoringArguments) [org.eclipse.jdt.internal.corext.refactoring.structure.ChangeSignatureProcessor] At ChangeSignatureProcessor.java:[line 2842] NP_LOAD_OF_KNOWN_NULL_VALUE [ERROR] Medium: Unread field: org.eclipse.jdt.internal.corext.refactoring.structure.ChangeTypeRefactoring.fEffectiveSelectionLength [org.eclipse.jdt.internal.corext.refactoring.structure.ChangeTypeRefactoring] At ChangeTypeRefactoring.java:[line 269] URF_UNREAD_FIELD [ERROR] Medium: Unread field: org.eclipse.jdt.internal.corext.refactoring.structure.ChangeTypeRefactoring.fEffectiveSelectionStart [org.eclipse.jdt.internal.corext.refactoring.structure.ChangeTypeRefactoring] At ChangeTypeRefactoring.java:[line 268] URF_UNREAD_FIELD [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.refactoring.structure.ExtractClassRefactoring.getAssignedValue(ParameterObjectFactory, String, IJavaProject, RefactoringStatus, ASTRewrite, ParameterInfo, boolean, ITypeBinding, Expression, ASTNode, ITypeRoot) where default case is missing [org.eclipse.jdt.internal.corext.refactoring.structure.ExtractClassRefactoring] At ExtractClassRefactoring.java:[lines 629-634] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Nullcheck of rewrite at line 1341 of value previously dereferenced in org.eclipse.jdt.internal.corext.refactoring.structure.ExtractSupertypeProcessor.registerChanges(TextEditBasedChangeManager) [org.eclipse.jdt.internal.corext.refactoring.structure.ExtractSupertypeProcessor, org.eclipse.jdt.internal.corext.refactoring.structure.ExtractSupertypeProcessor] At ExtractSupertypeProcessor.java:[line 1341]Redundant null check at ExtractSupertypeProcessor.java:[line 1342] RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE [ERROR] Medium: org.eclipse.jdt.internal.corext.refactoring.structure.ExtractSupertypeProcessor.createWorkingCopyLayer(IProgressMonitor) makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.internal.corext.refactoring.structure.ExtractSupertypeProcessor] At ExtractSupertypeProcessor.java:[line 1046] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: org.eclipse.jdt.internal.corext.refactoring.structure.ExtractSupertypeProcessor.registerChanges(TextEditBasedChangeManager) makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.internal.corext.refactoring.structure.ExtractSupertypeProcessor] At ExtractSupertypeProcessor.java:[line 1321] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: Should org.eclipse.jdt.internal.corext.refactoring.structure.ExtractSupertypeProcessor$FieldInfo be a _static_ inner class? [org.eclipse.jdt.internal.corext.refactoring.structure.ExtractSupertypeProcessor$FieldInfo] At ExtractSupertypeProcessor.java:[lines 179-189] SIC_INNER_SHOULD_BE_STATIC [ERROR] Medium: Load of known null value in org.eclipse.jdt.internal.corext.refactoring.structure.IntroduceParameterObjectProcessor.checkInitialConditions(IProgressMonitor) [org.eclipse.jdt.internal.corext.refactoring.structure.IntroduceParameterObjectProcessor] At IntroduceParameterObjectProcessor.java:[line 416] NP_LOAD_OF_KNOWN_NULL_VALUE [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.corext.refactoring.structure.PushDownRefactoringProcessor.createChange(IProgressMonitor) where default case is missing [org.eclipse.jdt.internal.corext.refactoring.structure.PushDownRefactoringProcessor] At PushDownRefactoringProcessor.java:[lines 781-786] SF_SWITCH_NO_DEFAULT [ERROR] High: org.eclipse.jdt.internal.corext.refactoring.structure.constraints.ConditionalTypeConstraint.equals(Object) does not check for null argument [org.eclipse.jdt.internal.corext.refactoring.structure.constraints.ConditionalTypeConstraint] At ConditionalTypeConstraint.java:[lines 56-59] NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT [ERROR] High: org.eclipse.jdt.internal.corext.refactoring.structure.constraints.CovariantTypeConstraint.equals(Object) does not check for null argument [org.eclipse.jdt.internal.corext.refactoring.structure.constraints.CovariantTypeConstraint] At CovariantTypeConstraint.java:[lines 50-53] NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.internal.corext.refactoring.structure.constraints.SuperTypeRefactoringProcessor.fObsoleteCasts [org.eclipse.jdt.internal.corext.refactoring.structure.constraints.SuperTypeRefactoringProcessor] At SuperTypeRefactoringProcessor.java:[line 162] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: org.eclipse.jdt.internal.corext.refactoring.structure.constraints.SuperTypeRefactoringProcessor.rewriteTypeOccurrences(TextEditBasedChangeManager, ASTRequestor, CompilationUnitRewrite, ICompilationUnit, CompilationUnit, Set, RefactoringStatus, IProgressMonitor) makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.internal.corext.refactoring.structure.constraints.SuperTypeRefactoringProcessor] At SuperTypeRefactoringProcessor.java:[line 1015] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: org.eclipse.jdt.internal.corext.refactoring.structure.constraints.SuperTypeRefactoringProcessor.solveSuperTypeConstraints(ICompilationUnit, CompilationUnit, IType, ITypeBinding, ITypeBinding, IProgressMonitor, RefactoringStatus) makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.internal.corext.refactoring.structure.constraints.SuperTypeRefactoringProcessor, org.eclipse.jdt.internal.corext.refactoring.structure.constraints.SuperTypeRefactoringProcessor] At SuperTypeRefactoringProcessor.java:[line 1156]Another occurrence at SuperTypeRefactoringProcessor.java:[line 1227] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: org.eclipse.jdt.internal.corext.refactoring.surround.ExceptionAnalyzer$ExceptionComparator implements Comparator but not Serializable [org.eclipse.jdt.internal.corext.refactoring.surround.ExceptionAnalyzer$ExceptionComparator] At ExceptionAnalyzer.java:[lines 1-70] SE_COMPARATOR_SHOULD_BE_SERIALIZABLE [ERROR] Medium: Unread field: org.eclipse.jdt.internal.corext.refactoring.surround.SurroundWithTryWithResourcesRefactoring.GROUP_EXC_NAME; should this field be static? [org.eclipse.jdt.internal.corext.refactoring.surround.SurroundWithTryWithResourcesRefactoring] At SurroundWithTryWithResourcesRefactoring.java:[line 108] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.corext.refactoring.surround.SurroundWithTryWithResourcesRefactoring.GROUP_EXC_TYPE; should this field be static? [org.eclipse.jdt.internal.corext.refactoring.surround.SurroundWithTryWithResourcesRefactoring] At SurroundWithTryWithResourcesRefactoring.java:[line 107] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.corext.refactoring.surround.SurroundWithTryWithResourcesRefactoring.GROUP_TRY_STATEMENT; should this field be static? [org.eclipse.jdt.internal.corext.refactoring.surround.SurroundWithTryWithResourcesRefactoring] At SurroundWithTryWithResourcesRefactoring.java:[line 109] SS_SHOULD_BE_STATIC [ERROR] Medium: org.eclipse.jdt.internal.corext.refactoring.typeconstraints.TypeConstraintFactory.createCompositeOrTypeConstraint(ITypeConstraint[]) concatenates strings using + in a loop [org.eclipse.jdt.internal.corext.refactoring.typeconstraints.TypeConstraintFactory] At TypeConstraintFactory.java:[line 120] SBSC_USE_STRINGBUFFER_CONCATENATION [ERROR] Medium: org.eclipse.jdt.internal.corext.refactoring.typeconstraints.typesets.ArraySuperTypeSet overrides equals in ArrayTypeSet and may not be symmetric [org.eclipse.jdt.internal.corext.refactoring.typeconstraints.typesets.ArraySuperTypeSet] At ArraySuperTypeSet.java:[lines 153-159] EQ_OVERRIDING_EQUALS_NOT_SYMMETRIC [ERROR] Medium: org.eclipse.jdt.internal.corext.refactoring.typeconstraints.typesets.ArraySuperTypeSet defines equals but not hashCode [org.eclipse.jdt.internal.corext.refactoring.typeconstraints.typesets.ArraySuperTypeSet] At ArraySuperTypeSet.java:[lines 153-159] HE_EQUALS_NO_HASHCODE [ERROR] Medium: org.eclipse.jdt.internal.corext.refactoring.typeconstraints.typesets.EmptyTypeSet$1.next() can't throw NoSuchElementException [org.eclipse.jdt.internal.corext.refactoring.typeconstraints.typesets.EmptyTypeSet$1] At EmptyTypeSet.java:[line 99] IT_NO_SUCH_ELEMENT [ERROR] High: org.eclipse.jdt.internal.corext.refactoring.typeconstraints.typesets.EnumeratedTypeSet.equals(Object) checks for operand being a SingletonTypeSet [org.eclipse.jdt.internal.corext.refactoring.typeconstraints.typesets.EnumeratedTypeSet, org.eclipse.jdt.internal.corext.refactoring.typeconstraints.typesets.EnumeratedTypeSet] At EnumeratedTypeSet.java:[line 99]Another occurrence at EnumeratedTypeSet.java:[line 100] EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS [ERROR] Medium: org.eclipse.jdt.internal.corext.refactoring.typeconstraints.typesets.SingletonTypeSet$1.next() can't throw NoSuchElementException [org.eclipse.jdt.internal.corext.refactoring.typeconstraints.typesets.SingletonTypeSet$1] At SingletonTypeSet.java:[lines 114-115] IT_NO_SUCH_ELEMENT [ERROR] High: org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ArrayElementVariable2.equals(Object) does not check for null argument [org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ArrayElementVariable2] At ArrayElementVariable2.java:[lines 41-47] NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT [ERROR] High: org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.CollectionElementVariable2.equals(Object) does not check for null argument [org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.CollectionElementVariable2] At CollectionElementVariable2.java:[lines 66-72] NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT [ERROR] High: org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ImmutableTypeVariable2.equals(Object) does not check for null argument [org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ImmutableTypeVariable2] At ImmutableTypeVariable2.java:[lines 43-48] NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT [ERROR] High: org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ParameterTypeVariable2.equals(Object) does not check for null argument [org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ParameterTypeVariable2] At ParameterTypeVariable2.java:[lines 72-78] NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT [ERROR] High: org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ReturnTypeVariable2.equals(Object) does not check for null argument [org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.ReturnTypeVariable2] At ReturnTypeVariable2.java:[lines 53-59] NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT [ERROR] High: org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.SubTypeConstraint2.equals(Object) does not check for null argument [org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.SubTypeConstraint2] At SubTypeConstraint2.java:[lines 37-41] NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT [ERROR] High: org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.TypeVariable2.equals(Object) does not check for null argument [org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.TypeVariable2] At TypeVariable2.java:[lines 57-63] NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT [ERROR] High: org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.VariableVariable2.equals(Object) does not check for null argument [org.eclipse.jdt.internal.corext.refactoring.typeconstraints2.VariableVariable2] At VariableVariable2.java:[lines 64-69] NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT [ERROR] Medium: Unchecked/unconfirmed cast from org.eclipse.jface.text.templates.TemplateVariable to org.eclipse.jdt.internal.ui.text.template.contentassist.MultiVariable in org.eclipse.jdt.internal.corext.template.java.ActualTypeResolver.resolve(TemplateVariable, TemplateContext) [org.eclipse.jdt.internal.corext.template.java.ActualTypeResolver] At ActualTypeResolver.java:[line 48] BC_UNCONFIRMED_CAST [ERROR] Medium: org.eclipse.jdt.internal.corext.template.java.JavaPostfixContext.isNodeResolvingTo(ASTNode, String) invokes inefficient new String(String) constructor [org.eclipse.jdt.internal.corext.template.java.JavaPostfixContext] At JavaPostfixContext.java:[line 583] DM_STRING_CTOR [ERROR] Medium: org.eclipse.jdt.internal.corext.template.java.JavaPostfixContext.resolvesReferenceBindingTo(ITypeBinding, String) invokes inefficient new String(String) constructor [org.eclipse.jdt.internal.corext.template.java.JavaPostfixContext] At JavaPostfixContext.java:[line 724] DM_STRING_CTOR [ERROR] Medium: Unchecked/unconfirmed cast from org.eclipse.jface.text.templates.TemplateVariable to org.eclipse.jdt.internal.ui.text.template.contentassist.MultiVariable in org.eclipse.jdt.internal.corext.template.java.NewFieldResolver.resolve(TemplateVariable, TemplateContext) [org.eclipse.jdt.internal.corext.template.java.NewFieldResolver] At NewFieldResolver.java:[line 97] BC_UNCONFIRMED_CAST [ERROR] High: Useless condition: it's known that semicolonFound == false at this point [org.eclipse.jdt.internal.corext.template.java.NewFieldResolver, org.eclipse.jdt.internal.corext.template.java.NewFieldResolver] Unreachable code at NewFieldResolver.java:[line 73]At NewFieldResolver.java:[line 72] UC_USELESS_CONDITION [ERROR] Medium: Unchecked/unconfirmed cast from org.eclipse.jface.text.templates.TemplateVariable to org.eclipse.jdt.internal.ui.text.template.contentassist.MultiVariable in org.eclipse.jdt.internal.corext.template.java.TypeResolver.resolve(TemplateVariable, TemplateContext) [org.eclipse.jdt.internal.corext.template.java.TypeResolver] At TypeResolver.java:[line 50] BC_UNCONFIRMED_CAST [ERROR] Medium: Redundant nullcheck of handle, which is known to be non-null in org.eclipse.jdt.internal.corext.util.OpenTypeHistory.createFromElement(Element) [org.eclipse.jdt.internal.corext.util.OpenTypeHistory] Redundant null check at OpenTypeHistory.java:[line 387] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] High: The class name org.eclipse.jdt.internal.corext.util.Strings shadows the simple name of the superclass org.eclipse.jdt.internal.core.manipulation.util.Strings [org.eclipse.jdt.internal.corext.util.Strings] At Strings.java:[lines 31-151] NM_SAME_SIMPLE_NAME_AS_SUPERCLASS [ERROR] High: The class name org.eclipse.jdt.internal.corext.util.TypeNameMatchCollector shadows the simple name of the superclass org.eclipse.jdt.core.manipulation.TypeNameMatchCollector [org.eclipse.jdt.internal.corext.util.TypeNameMatchCollector] At TypeNameMatchCollector.java:[lines 28-29] NM_SAME_SIMPLE_NAME_AS_SUPERCLASS [ERROR] Medium: Dead store to all_contextType in org.eclipse.jdt.internal.ui.JavaPlugin.getTemplateContextRegistry() [org.eclipse.jdt.internal.ui.JavaPlugin] At JavaPlugin.java:[line 772] DLS_DEAD_LOCAL_STORE [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.ui.JavaPlugin.fASTProvider; locked 42% of time [org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin] Unsynchronized access at JavaPlugin.java:[line 486]Unsynchronized access at JavaPlugin.java:[line 487]Unsynchronized access at JavaPlugin.java:[line 488]Synchronized access at JavaPlugin.java:[line 647]Synchronized access at JavaPlugin.java:[line 650]Synchronized access at JavaPlugin.java:[line 648] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.ui.JavaPlugin.fCompilationUnitDocumentProvider; locked 42% of time [org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin] Unsynchronized access at JavaPlugin.java:[line 496]Unsynchronized access at JavaPlugin.java:[line 497]Unsynchronized access at JavaPlugin.java:[line 498]Synchronized access at JavaPlugin.java:[line 586]Synchronized access at JavaPlugin.java:[line 588]Synchronized access at JavaPlugin.java:[line 587] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.ui.JavaPlugin.fImageDescriptorRegistry; locked 50% of time [org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin] Unsynchronized access at JavaPlugin.java:[line 483]Unsynchronized access at JavaPlugin.java:[line 484]Synchronized access at JavaPlugin.java:[line 859]Synchronized access at JavaPlugin.java:[line 861]Synchronized access at JavaPlugin.java:[line 860] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.ui.JavaPlugin.fJavaTextTools; locked 42% of time [org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin] Unsynchronized access at JavaPlugin.java:[line 501]Unsynchronized access at JavaPlugin.java:[line 502]Unsynchronized access at JavaPlugin.java:[line 503]Synchronized access at JavaPlugin.java:[line 625]Synchronized access at JavaPlugin.java:[line 627]Synchronized access at JavaPlugin.java:[line 626] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.ui.JavaPlugin.fSaveParticipantRegistry; locked 42% of time [org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin] Unsynchronized access at JavaPlugin.java:[line 531]Unsynchronized access at JavaPlugin.java:[line 532]Unsynchronized access at JavaPlugin.java:[line 533]Synchronized access at JavaPlugin.java:[line 912]Synchronized access at JavaPlugin.java:[line 914]Synchronized access at JavaPlugin.java:[line 913] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.ui.JavaPlugin.fTypeFilter; locked 42% of time [org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin] Unsynchronized access at JavaPlugin.java:[line 506]Unsynchronized access at JavaPlugin.java:[line 507]Unsynchronized access at JavaPlugin.java:[line 508]Synchronized access at JavaPlugin.java:[line 660]Synchronized access at JavaPlugin.java:[line 662]Synchronized access at JavaPlugin.java:[line 661] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.ui.JavaPlugin.fWorkingCopyManager; locked 42% of time [org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin, org.eclipse.jdt.internal.ui.JavaPlugin] Unsynchronized access at JavaPlugin.java:[line 491]Unsynchronized access at JavaPlugin.java:[line 492]Unsynchronized access at JavaPlugin.java:[line 493]Synchronized access at JavaPlugin.java:[line 611]Synchronized access at JavaPlugin.java:[line 615]Synchronized access at JavaPlugin.java:[line 613] IS2_INCONSISTENT_SYNC [ERROR] Medium: Return value of Class.toString() ignored, but method has no side effect [org.eclipse.jdt.internal.ui.JavaPlugin] At JavaPlugin.java:[line 416] RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT [ERROR] Medium: Incorrect lazy initialization and update of static field org.eclipse.jdt.internal.ui.JavaPluginImages.fgImageRegistry in org.eclipse.jdt.internal.ui.JavaPluginImages.getImageRegistry() [org.eclipse.jdt.internal.ui.JavaPluginImages] At JavaPluginImages.java:[lines 685-690] LI_LAZY_INIT_UPDATE_STATIC [ERROR] Medium: Load of known null value in org.eclipse.jdt.internal.ui.actions.EnablePreviewFeaturesAction.run(IAction) [org.eclipse.jdt.internal.ui.actions.EnablePreviewFeaturesAction] At EnablePreviewFeaturesAction.java:[line 99] NP_LOAD_OF_KNOWN_NULL_VALUE [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.actions.GenerateConstructorUsingFieldsSelectionDialog.buttonPressed(int) where default case is missing [org.eclipse.jdt.internal.ui.actions.GenerateConstructorUsingFieldsSelectionDialog] At GenerateConstructorUsingFieldsSelectionDialog.java:[lines 172-182] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.actions.GenerateConstructorUsingFieldsSelectionDialog.OMIT_SUPER; should this field be static? [org.eclipse.jdt.internal.ui.actions.GenerateConstructorUsingFieldsSelectionDialog] At GenerateConstructorUsingFieldsSelectionDialog.java:[line 105] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.actions.GenerateConstructorUsingFieldsSelectionDialog.SETTINGS_SECTION; should this field be static? [org.eclipse.jdt.internal.ui.actions.GenerateConstructorUsingFieldsSelectionDialog] At GenerateConstructorUsingFieldsSelectionDialog.java:[line 107] SS_SHOULD_BE_STATIC [ERROR] Medium: org.eclipse.jdt.internal.ui.actions.IndentAction.getIndentationAsPerTextBlockSettings(IDocument, int, IJavaProject) concatenates strings using + in a loop [org.eclipse.jdt.internal.ui.actions.IndentAction] At IndentAction.java:[line 960] SBSC_USE_STRINGBUFFER_CONCATENATION [ERROR] Medium: org.eclipse.jdt.internal.ui.actions.IndentAction.getTabSpaceString(IJavaProject) concatenates strings using + in a loop [org.eclipse.jdt.internal.ui.actions.IndentAction] At IndentAction.java:[line 1030] SBSC_USE_STRINGBUFFER_CONCATENATION [ERROR] Medium: org.eclipse.jdt.internal.ui.actions.IndentAction.getTabString(IJavaProject) concatenates strings using + in a loop [org.eclipse.jdt.internal.ui.actions.IndentAction] At IndentAction.java:[line 1020] SBSC_USE_STRINGBUFFER_CONCATENATION [ERROR] Medium: org.eclipse.jdt.internal.ui.actions.IndentAction.getTextBlockIndentationString(IDocument, int, int, IJavaProject) concatenates strings using + in a loop [org.eclipse.jdt.internal.ui.actions.IndentAction] At IndentAction.java:[line 895] SBSC_USE_STRINGBUFFER_CONCATENATION [ERROR] Medium: fIsTabAction isn't initialized in org.eclipse.jdt.internal.ui.actions.IndentAction.update() when invoked from constructor for superclass [org.eclipse.ui.texteditor.TextEditorAction, org.eclipse.jdt.internal.ui.actions.IndentAction, org.eclipse.jdt.internal.ui.actions.IndentAction] Call from superclass constructor at TextEditorAction.java:[line 52]Field set (too late) at IndentAction.java:[line 140]At IndentAction.java:[line 753] UR_UNINIT_READ_CALLED_FROM_SUPER_CONSTRUCTOR [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.internal.ui.actions.MultiActionGroup.NO_ACTIONS [org.eclipse.jdt.internal.ui.actions.MultiActionGroup] At MultiActionGroup.java:[line 43] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Comparison of String objects using == or != in org.eclipse.jdt.internal.ui.browsing.JavaBrowsingPart$1.partHidden(IWorkbenchPartReference) [org.eclipse.jdt.internal.ui.browsing.JavaBrowsingPart$1] At JavaBrowsingPart.java:[line 210] ES_COMPARING_STRINGS_WITH_EQ [ERROR] Medium: Comparison of String objects using == or != in org.eclipse.jdt.internal.ui.browsing.JavaBrowsingPart$1.partVisible(IWorkbenchPartReference) [org.eclipse.jdt.internal.ui.browsing.JavaBrowsingPart$1] At JavaBrowsingPart.java:[line 198] ES_COMPARING_STRINGS_WITH_EQ [ERROR] Medium: org.eclipse.jdt.internal.ui.browsing.JavaElementTypeComparator implements Comparator but not Serializable [org.eclipse.jdt.internal.ui.browsing.JavaElementTypeComparator] At JavaElementTypeComparator.java:[lines 1-72] SE_COMPARATOR_SHOULD_BE_SERIALIZABLE [ERROR] Medium: Comparison of String objects using == or != in org.eclipse.jdt.internal.ui.browsing.PackagesView.isValidInput(Object) [org.eclipse.jdt.internal.ui.browsing.PackagesView] At PackagesView.java:[line 288] ES_COMPARING_STRINGS_WITH_EQ [ERROR] Medium: Dead store to x in org.eclipse.jdt.internal.ui.callhierarchy.CallHierarchyImageDescriptor.drawBottomLeft() [org.eclipse.jdt.internal.ui.callhierarchy.CallHierarchyImageDescriptor] At CallHierarchyImageDescriptor.java:[line 95] DLS_DEAD_LOCAL_STORE [ERROR] Medium: org.eclipse.jdt.internal.ui.callhierarchy.CallHierarchyImageDescriptor.equals(Object) fails for subtypes [org.eclipse.jdt.internal.ui.callhierarchy.CallHierarchyImageDescriptor] At CallHierarchyImageDescriptor.java:[line 63] EQ_GETCLASS_AND_CLASS_CONSTANT [ERROR] Medium: org.eclipse.jdt.internal.ui.callhierarchy.DeferredMethodWrapper doesn't override MethodWrapperWorkbenchAdapter.equals(Object) [org.eclipse.jdt.internal.ui.callhierarchy.DeferredMethodWrapper] At DeferredMethodWrapper.java:[line 1] EQ_DOESNT_OVERRIDE_EQUALS [ERROR] High: org.eclipse.jdt.internal.ui.callhierarchy.MethodWrapperWorkbenchAdapter.equals(Object) checks for operand being a org.eclipse.jdt.internal.corext.callhierarchy.MethodWrapper [org.eclipse.jdt.internal.ui.callhierarchy.MethodWrapperWorkbenchAdapter] At MethodWrapperWorkbenchAdapter.java:[line 61] EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.callhierarchy.SearchInDialog.getInt(String[]) where default case is missing [org.eclipse.jdt.internal.ui.callhierarchy.SearchInDialog] At SearchInDialog.java:[lines 93-104] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Nullcheck of workingSets at line 130 of value previously dereferenced in org.eclipse.jdt.internal.ui.callhierarchy.SearchUtil.toString(IWorkingSet[]) [org.eclipse.jdt.internal.ui.callhierarchy.SearchUtil, org.eclipse.jdt.internal.ui.callhierarchy.SearchUtil] At SearchUtil.java:[line 128]Redundant null check at SearchUtil.java:[line 130] RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.ui.compare.CompareDialog.fContentPane; locked 50% of time [org.eclipse.jdt.internal.ui.compare.CompareDialog, org.eclipse.jdt.internal.ui.compare.CompareDialog, org.eclipse.jdt.internal.ui.compare.CompareDialog, org.eclipse.jdt.internal.ui.compare.CompareDialog, org.eclipse.jdt.internal.ui.compare.CompareDialog] Unsynchronized access at CompareDialog.java:[line 82]Unsynchronized access at CompareDialog.java:[line 83]Synchronized access at CompareDialog.java:[line 98]Synchronized access at CompareDialog.java:[line 99]Synchronized access at CompareDialog.java:[line 103] IS2_INCONSISTENT_SYNC [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.ui.compare.JavaCompareAction$TypedElement.getContents(): String.getBytes() [org.eclipse.jdt.internal.ui.compare.JavaCompareAction$TypedElement] At JavaCompareAction.java:[line 81] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.ui.compare.JavaCompareUtilities.getBytes(String, String): String.getBytes() [org.eclipse.jdt.internal.ui.compare.JavaCompareUtilities] At JavaCompareUtilities.java:[line 345] DM_DEFAULT_ENCODING [ERROR] Medium: Possible null pointer dereference of field in org.eclipse.jdt.internal.ui.compare.JavaMergeViewer.setSourceViewer(ITextEditor, SourceViewer) on exception path [org.eclipse.jdt.internal.ui.compare.JavaMergeViewer, org.eclipse.jdt.internal.ui.compare.JavaMergeViewer, org.eclipse.jdt.internal.ui.compare.JavaMergeViewer, org.eclipse.jdt.internal.ui.compare.JavaMergeViewer] Dereferenced at JavaMergeViewer.java:[line 648]Null value at JavaMergeViewer.java:[line 642]Known null at JavaMergeViewer.java:[line 645]Known null at JavaMergeViewer.java:[line 646] NP_NULL_ON_SOME_PATH_EXCEPTION [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.compare.JavaMergeViewer.findInsertionPosition(char, ICompareInput) where default case is missing [org.eclipse.jdt.internal.ui.compare.JavaMergeViewer, org.eclipse.jdt.internal.ui.compare.JavaMergeViewer] At JavaMergeViewer.java:[lines 300-305]Another occurrence at JavaMergeViewer.java:[lines 320-325] SF_SWITCH_NO_DEFAULT [ERROR] High: Potentially ambiguous invocation of either an outer or inherited method org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.setPreferenceStore(IPreferenceStore) in new org.eclipse.jdt.internal.ui.compare.JavaMergeViewer$CompilationUnitEditorAdapter(JavaMergeViewer, int) [org.eclipse.jdt.internal.ui.compare.JavaMergeViewer$CompilationUnitEditorAdapter] At JavaMergeViewer.java:[line 549] IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD [ERROR] Medium: org.eclipse.jdt.internal.ui.compare.JavaNode doesn't override org.eclipse.compare.structuremergeviewer.DocumentRangeNode.equals(Object) [org.eclipse.jdt.internal.ui.compare.JavaNode] At JavaNode.java:[line 1] EQ_DOESNT_OVERRIDE_EQUALS [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.compare.JavaNode.getImage() where default case is missing [org.eclipse.jdt.internal.ui.compare.JavaNode] At JavaNode.java:[lines 138-171] SF_SWITCH_NO_DEFAULT [ERROR] Medium: org.eclipse.jdt.internal.ui.compare.JavaStructureCreator.rewriteTree(Differencer, IDiffContainer) makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.internal.ui.compare.JavaStructureCreator] At JavaStructureCreator.java:[line 436] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: org.eclipse.jdt.internal.ui.compare.JavaStructureCreator$RootJavaNode doesn't override org.eclipse.compare.structuremergeviewer.DocumentRangeNode.equals(Object) [org.eclipse.jdt.internal.ui.compare.JavaStructureCreator$RootJavaNode] At JavaStructureCreator.java:[line 1] EQ_DOESNT_OVERRIDE_EQUALS [ERROR] Medium: Check for oddness that won't work for negative numbers in org.eclipse.jdt.internal.ui.compare.PropertiesStructureCreator.needNextLine(String) [org.eclipse.jdt.internal.ui.compare.PropertiesStructureCreator] At PropertiesStructureCreator.java:[line 270] IM_BAD_CHECK_FOR_ODD [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.compare.PropertiesStructureCreator.convert(String) where default case is missing [org.eclipse.jdt.internal.ui.compare.PropertiesStructureCreator] At PropertiesStructureCreator.java:[lines 308-319] SF_SWITCH_NO_DEFAULT [ERROR] Medium: org.eclipse.jdt.internal.ui.dialogs.FilteredTypesSelectionDialog$TypeItemsComparator implements Comparator but not Serializable [org.eclipse.jdt.internal.ui.dialogs.FilteredTypesSelectionDialog$TypeItemsComparator] At FilteredTypesSelectionDialog.java:[lines 1-1236] SE_COMPARATOR_SHOULD_BE_SERIALIZABLE [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog.buttonPressed(int) where default case is missing [org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog] At GenerateToStringDialog.java:[lines 1296-1317] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$CustomBuilderConfigurationDialog.buttonPressed(int) where one case falls through to the next case [org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$CustomBuilderConfigurationDialog] At GenerateToStringDialog.java:[lines 1051-1054] SF_SWITCH_FALLTHROUGH [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$CustomBuilderConfigurationDialog.buttonPressed(int) where default case is missing [org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$CustomBuilderConfigurationDialog] At GenerateToStringDialog.java:[lines 1048-1054] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$CustomBuilderConfigurationDialog.APPLY_BUTTON; should this field be static? [org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$CustomBuilderConfigurationDialog] At GenerateToStringDialog.java:[line 894] SS_SHOULD_BE_STATIC [ERROR] High: Potentially ambiguous invocation of either an outer or inherited method org.eclipse.jface.dialogs.Dialog.close() in org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$ToStringTemplatesDialog.buttonPressed(int) [org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$ToStringTemplatesDialog, org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$ToStringTemplatesDialog] At GenerateToStringDialog.java:[line 665]Another occurrence at GenerateToStringDialog.java:[line 668] IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$ToStringTemplatesDialog.buttonPressed(int) where default case is missing [org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$ToStringTemplatesDialog] At GenerateToStringDialog.java:[lines 659-692] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$ToStringTemplatesDialog.ADD_BUTTON; should this field be static? [org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$ToStringTemplatesDialog] At GenerateToStringDialog.java:[line 546] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$ToStringTemplatesDialog.APPLY_BUTTON; should this field be static? [org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$ToStringTemplatesDialog] At GenerateToStringDialog.java:[line 550] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$ToStringTemplatesDialog.EDIT_BUTTON; should this field be static? [org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$ToStringTemplatesDialog] At GenerateToStringDialog.java:[line 552] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$ToStringTemplatesDialog.REMOVE_BUTTON; should this field be static? [org.eclipse.jdt.internal.ui.dialogs.GenerateToStringDialog$ToStringTemplatesDialog] At GenerateToStringDialog.java:[line 548] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.dialogs.OverrideMethodDialog$OverrideMethodContentProvider.SETTINGS_SECTION; should this field be static? [org.eclipse.jdt.internal.ui.dialogs.OverrideMethodDialog$OverrideMethodContentProvider] At OverrideMethodDialog.java:[line 120] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.dialogs.OverrideMethodDialog$OverrideMethodContentProvider.SETTINGS_SHOWTYPES; should this field be static? [org.eclipse.jdt.internal.ui.dialogs.OverrideMethodDialog$OverrideMethodContentProvider] At OverrideMethodDialog.java:[line 122] SS_SHOULD_BE_STATIC [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.dialogs.SourceActionDialog.buttonPressed(int) where default case is missing [org.eclipse.jdt.internal.ui.dialogs.SourceActionDialog] At SourceActionDialog.java:[lines 325-331] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.dialogs.TableTextCellEditor$2.keyPressed(KeyEvent) where default case is missing [org.eclipse.jdt.internal.ui.dialogs.TableTextCellEditor$2] At TableTextCellEditor.java:[lines 177-196] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Possible null pointer dereference of gc in new org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer(Composite, int, Label, IJavaSearchScope, int, String, ITypeInfoFilterExtension, ITypeInfoImageProvider) on exception path [org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer, org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer, org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer] Dereferenced at TypeInfoViewer.java:[line 971]Null value at TypeInfoViewer.java:[line 965]Known null at TypeInfoViewer.java:[line 967] NP_NULL_ON_SOME_PATH_EXCEPTION [ERROR] Medium: Dead store to start in org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$SearchEngineJob.getSearchResult(Set, TypeInfoViewer$ProgressMonitor) [org.eclipse.jdt.internal.ui.dialogs.TypeInfoViewer$SearchEngineJob] At TypeInfoViewer.java:[line 664] DLS_DEAD_LOCAL_STORE [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.dialogs.TypeSelectionComponent.populate(int) where default case is missing [org.eclipse.jdt.internal.ui.dialogs.TypeSelectionComponent] At TypeSelectionComponent.java:[lines 306-311] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Redundant nullcheck of item, which is known to be non-null in org.eclipse.jdt.internal.ui.dnd.JdtViewerDropAdapter.determineLocation(DropTargetEvent) [org.eclipse.jdt.internal.ui.dnd.JdtViewerDropAdapter] Redundant null check at JdtViewerDropAdapter.java:[line 158] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: org.eclipse.jdt.internal.ui.filters.FilterDescriptor defines compareTo(FilterDescriptor) and uses Object.equals() [org.eclipse.jdt.internal.ui.filters.FilterDescriptor] At FilterDescriptor.java:[line 256] EQ_COMPARETO_USE_OBJECT_EQUALS [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.ui.fix.CleanUpRefactoringWizard$CleanUpConfigurationPage.decodeSettings(String): String.getBytes() [org.eclipse.jdt.internal.ui.fix.CleanUpRefactoringWizard$CleanUpConfigurationPage] At CleanUpRefactoringWizard.java:[line 493] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.ui.fix.CleanUpRefactoringWizard$CleanUpConfigurationPage.encodeSettings(Map): java.io.ByteArrayOutputStream.toString() [org.eclipse.jdt.internal.ui.fix.CleanUpRefactoringWizard$CleanUpConfigurationPage] At CleanUpRefactoringWizard.java:[line 481] DM_DEFAULT_ENCODING [ERROR] High: org.eclipse.jdt.internal.ui.fix.ComparingOnCriteriaCleanUp$1$1.isMatching(Expression) has Boolean return type and returns explicit null [org.eclipse.jdt.internal.ui.fix.ComparingOnCriteriaCleanUp$1$1] At ComparingOnCriteriaCleanUp.java:[line 264] NP_BOOLEAN_RETURN_NULL [ERROR] High: org.eclipse.jdt.internal.ui.fix.ComparingOnCriteriaCleanUp$1$2.isMatching(Expression) has Boolean return type and returns explicit null [org.eclipse.jdt.internal.ui.fix.ComparingOnCriteriaCleanUp$1$2] At ComparingOnCriteriaCleanUp.java:[line 275] NP_BOOLEAN_RETURN_NULL [ERROR] High: org.eclipse.jdt.internal.ui.fix.ComparingOnCriteriaCleanUp$1$3.isMatching(Expression) has Boolean return type and returns explicit null [org.eclipse.jdt.internal.ui.fix.ComparingOnCriteriaCleanUp$1$3] At ComparingOnCriteriaCleanUp.java:[line 288] NP_BOOLEAN_RETURN_NULL [ERROR] High: org.eclipse.jdt.internal.ui.fix.ComparingOnCriteriaCleanUp$1$4.isMatching(Expression) has Boolean return type and returns explicit null [org.eclipse.jdt.internal.ui.fix.ComparingOnCriteriaCleanUp$1$4] At ComparingOnCriteriaCleanUp.java:[line 301] NP_BOOLEAN_RETURN_NULL [ERROR] High: org.eclipse.jdt.internal.ui.fix.ComparingOnCriteriaCleanUp$ObjectNotNullMatcher.isMatching(Expression) has Boolean return type and returns explicit null [org.eclipse.jdt.internal.ui.fix.ComparingOnCriteriaCleanUp$ObjectNotNullMatcher] At ComparingOnCriteriaCleanUp.java:[line 106] NP_BOOLEAN_RETURN_NULL [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.fix.NullAnnotationsCleanUp.getStepDescriptions() where default case is missing [org.eclipse.jdt.internal.ui.fix.NullAnnotationsCleanUp] At NullAnnotationsCleanUp.java:[lines 94-118] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.fix.StaticInnerClassCleanUp.JUPITER_NESTED; should this field be static? [org.eclipse.jdt.internal.ui.fix.StaticInnerClassCleanUp] At StaticInnerClassCleanUp.java:[line 72] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView.LOCAL_VARIABLE_TITLE_FLAGS; should this field be static? [org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView] At AbstractInfoView.java:[line 96] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView.TITLE_FLAGS; should this field be static? [org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView] At AbstractInfoView.java:[line 92] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView.TYPE_PARAMETER_TITLE_FLAGS; should this field be static? [org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView] At AbstractInfoView.java:[line 97] SS_SHOULD_BE_STATIC [ERROR] Medium: Increment of volatile field org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView.fComputeCount in org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView.dispose() [org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView] At AbstractInfoView.java:[line 652] VO_VOLATILE_INCREMENT [ERROR] Medium: Redundant nullcheck of oldElement, which is known to be non-null in org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView$2.run() [org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView$2] Redundant null check at AbstractInfoView.java:[line 749] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Dead store to doNotWarn in org.eclipse.jdt.internal.ui.infoviews.JavadocView.internalCreatePartControl(Composite) [org.eclipse.jdt.internal.ui.infoviews.JavadocView] At JavadocView.java:[line 584] DLS_DEAD_LOCAL_STORE [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.jarimport.RefactoringLocationControl.MAX_HISTORY_SIZE; should this field be static? [org.eclipse.jdt.internal.ui.jarimport.RefactoringLocationControl] At RefactoringLocationControl.java:[line 49] SS_SHOULD_BE_STATIC [ERROR] Medium: org.eclipse.jdt.internal.ui.jarpackager.CheckboxTreeAndListGroup.handleUpdateSelection(Map) makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.internal.ui.jarpackager.CheckboxTreeAndListGroup, org.eclipse.jdt.internal.ui.jarpackager.CheckboxTreeAndListGroup] At CheckboxTreeAndListGroup.java:[line 789]Another occurrence at CheckboxTreeAndListGroup.java:[line 811] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: Redundant nullcheck of value, which is known to be non-null in org.eclipse.jdt.internal.ui.jarpackager.JarPackageReader.getBooleanAttribute(Element, String) [org.eclipse.jdt.internal.ui.jarpackager.JarPackageReader] Redundant null check at JarPackageReader.java:[line 314] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Redundant nullcheck of reader, which is known to be non-null in org.eclipse.jdt.internal.ui.jarpackager.OpenJarExportWizardEditorLauncher.open(IPath) [org.eclipse.jdt.internal.ui.jarpackager.OpenJarExportWizardEditorLauncher] Redundant null check at OpenJarExportWizardEditorLauncher.java:[line 77] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarAntExporter.getWorkspaceRelativeDir() concatenates strings using + in a loop [org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarAntExporter] At FatJarAntExporter.java:[line 320] SBSC_USE_STRINGBUFFER_CONCATENATION [ERROR] Medium: Possible null pointer dereference in org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarRsrcUrlAntExporter.copyJarInJarLoader(File) due to return value of called method [org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarRsrcUrlAntExporter, org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarRsrcUrlAntExporter] Dereferenced at FatJarRsrcUrlAntExporter.java:[line 68]Known null at FatJarRsrcUrlAntExporter.java:[line 68] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarRsrcUrlAntExporter.buildANTScript(IPath, String, IPath, String, FatJarAntExporter$SourceInfo[]) may fail to clean up java.io.OutputStream [org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarRsrcUrlAntExporter, org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarRsrcUrlAntExporter, org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarRsrcUrlAntExporter] Obligation to clean up resource created at FatJarRsrcUrlAntExporter.java:[line 63] is not dischargedPath continues at FatJarRsrcUrlAntExporter.java:[line 64]Path continues at FatJarRsrcUrlAntExporter.java:[line 65] OBL_UNSATISFIED_OBLIGATION [ERROR] Medium: Possible null pointer dereference in org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarRsrcUrlBuilder.writeRsrcUrlClasses() due to return value of called method [org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarRsrcUrlBuilder, org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarRsrcUrlBuilder] Dereferenced at FatJarRsrcUrlBuilder.java:[line 126]Known null at FatJarRsrcUrlBuilder.java:[line 126] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarRsrcUrlBuilder.writeArchive(ZipFile, IProgressMonitor) may fail to clean up java.io.InputStream [org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarRsrcUrlBuilder, org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarRsrcUrlBuilder, org.eclipse.jdt.internal.ui.jarpackagerfat.FatJarRsrcUrlBuilder] Obligation to clean up resource created at FatJarRsrcUrlBuilder.java:[line 119] is not dischargedPath continues at FatJarRsrcUrlBuilder.java:[line 120]Path continues at FatJarRsrcUrlBuilder.java:[line 123] OBL_UNSATISFIED_OBLIGATION [ERROR] Medium: org.eclipse.jdt.internal.ui.jarpackagerfat.JarWriter4.addFile(File, IPath) may fail to clean up java.io.InputStream [org.eclipse.jdt.internal.ui.jarpackagerfat.JarWriter4, org.eclipse.jdt.internal.ui.jarpackagerfat.JarWriter4] Obligation to clean up resource created at JarWriter4.java:[line 123] is not dischargedPath continues at JarWriter4.java:[line 124] OBL_UNSATISFIED_OBLIGATION [ERROR] Medium: Possible null pointer dereference of in in org.eclipse.jdt.internal.ui.jarpackagerfat.UnpackJarBuilder.copyFile(File, File) on exception path [org.eclipse.jdt.internal.ui.jarpackagerfat.UnpackJarBuilder, org.eclipse.jdt.internal.ui.jarpackagerfat.UnpackJarBuilder, org.eclipse.jdt.internal.ui.jarpackagerfat.UnpackJarBuilder] Dereferenced at UnpackJarBuilder.java:[line 186]Null value at UnpackJarBuilder.java:[line 167]Known null at UnpackJarBuilder.java:[line 170] NP_NULL_ON_SOME_PATH_EXCEPTION [ERROR] Medium: Possible null pointer dereference of out in org.eclipse.jdt.internal.ui.jarpackagerfat.UnpackJarBuilder.copyFile(File, File) on exception path [org.eclipse.jdt.internal.ui.jarpackagerfat.UnpackJarBuilder, org.eclipse.jdt.internal.ui.jarpackagerfat.UnpackJarBuilder, org.eclipse.jdt.internal.ui.jarpackagerfat.UnpackJarBuilder] Dereferenced at UnpackJarBuilder.java:[line 182]Null value at UnpackJarBuilder.java:[line 168]Known null at UnpackJarBuilder.java:[line 170] NP_NULL_ON_SOME_PATH_EXCEPTION [ERROR] Medium: Possible null pointer dereference in org.eclipse.jdt.internal.ui.jarpackagerfat.UnpackJarBuilder.createBlankSubfolder(Shell, boolean) due to return value of called method [org.eclipse.jdt.internal.ui.jarpackagerfat.UnpackJarBuilder, org.eclipse.jdt.internal.ui.jarpackagerfat.UnpackJarBuilder] Dereferenced at UnpackJarBuilder.java:[line 143]Known null at UnpackJarBuilder.java:[line 143] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: Exceptional return value of java.io.File.mkdirs() ignored in org.eclipse.jdt.internal.ui.javadocexport.JavadocOptionsManager.writeXML(Element) [org.eclipse.jdt.internal.ui.javadocexport.JavadocOptionsManager] At JavadocOptionsManager.java:[line 851] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Redundant nullcheck of process, which is known to be non-null in org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard.executeJavadocGeneration() [org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard] Redundant null check at JavadocWizard.java:[line 315] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Exceptional return value of java.io.File.mkdirs() ignored in org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard.performFinish() [org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard] At JavadocWizard.java:[line 174] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard.JAVADOC_ANT_INFORMATION_DIALOG; should this field be static? [org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard] At JavadocWizard.java:[line 115] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard.NO; should this field be static? [org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard] At JavadocWizard.java:[line 113] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard.NO_TO_ALL; should this field be static? [org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard] At JavadocWizard.java:[line 114] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard.SPECIFICS_PAGE_DESC; should this field be static? [org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard] At JavadocWizard.java:[line 108] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard.STANDARD_PAGE_DESC; should this field be static? [org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard] At JavadocWizard.java:[line 109] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard.TREE_PAGE_DESC; should this field be static? [org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard] At JavadocWizard.java:[line 107] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard.YES; should this field be static? [org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard] At JavadocWizard.java:[line 111] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard.YES_TO_ALL; should this field be static? [org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard] At JavadocWizard.java:[line 112] SS_SHOULD_BE_STATIC [ERROR] Medium: Exceptional return value of java.io.File.delete() ignored in org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard$JavadocLaunchListener.launchesRemoved(ILaunch[]) [org.eclipse.jdt.internal.ui.javadocexport.JavadocWizard$JavadocLaunchListener] At JavadocWizard.java:[line 512] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.javadocexport.RecentSettingsStore.ANTPATH; should this field be static? [org.eclipse.jdt.internal.ui.javadocexport.RecentSettingsStore] At RecentSettingsStore.java:[line 41] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.javadocexport.RecentSettingsStore.DESTINATION; should this field be static? [org.eclipse.jdt.internal.ui.javadocexport.RecentSettingsStore] At RecentSettingsStore.java:[line 40] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.javadocexport.RecentSettingsStore.HREF; should this field be static? [org.eclipse.jdt.internal.ui.javadocexport.RecentSettingsStore] At RecentSettingsStore.java:[line 39] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.javadocexport.RecentSettingsStore.SECTION_PROJECTS; should this field be static? [org.eclipse.jdt.internal.ui.javadocexport.RecentSettingsStore] At RecentSettingsStore.java:[line 43] SS_SHOULD_BE_STATIC [ERROR] Medium: org.eclipse.jdt.internal.ui.javadocexport.RecentSettingsStore.store(IDialogSettings) makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.internal.ui.javadocexport.RecentSettingsStore] At RecentSettingsStore.java:[line 131] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: org.eclipse.jdt.internal.ui.javaeditor.AddImportOnSelectionAction$AddImportComparator implements Comparator but not Serializable [org.eclipse.jdt.internal.ui.javaeditor.AddImportOnSelectionAction$AddImportComparator] At AddImportOnSelectionAction.java:[lines 1-91] SE_COMPARATOR_SHOULD_BE_SERIALIZABLE [ERROR] Medium: org.eclipse.jdt.internal.ui.javaeditor.ClassFileDocumentProvider$ClassFileInfo doesn't override org.eclipse.ui.texteditor.AbstractDocumentProvider$ElementInfo.equals(Object) [org.eclipse.jdt.internal.ui.javaeditor.ClassFileDocumentProvider$ClassFileInfo] At ClassFileDocumentProvider.java:[line 1] EQ_DOESNT_OVERRIDE_EQUALS [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.javaeditor.ClassFileMarkerAnnotationModel.checkDeltas(IMarkerDelta[]) where default case is missing [org.eclipse.jdt.internal.ui.javaeditor.ClassFileMarkerAnnotationModel] At ClassFileMarkerAnnotationModel.java:[lines 133-144] SF_SWITCH_NO_DEFAULT [ERROR] High: fOperationCode isn't initialized in org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.update() when invoked from constructor for superclass [org.eclipse.ui.texteditor.TextEditorAction, org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction, org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction, org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction] Call from superclass constructor at TextEditorAction.java:[line 52]Field set (too late) at ClipboardOperationAction.java:[line 208]At ClipboardOperationAction.java:[line 343]Another occurrence at ClipboardOperationAction.java:[line 346] UR_UNINIT_READ_CALLED_FROM_SUPER_CONSTRUCTOR [ERROR] Medium: org.eclipse.jdt.internal.ui.javaeditor.ExternalClassFileEditorInput doesn't override org.eclipse.ui.part.FileEditorInput.equals(Object) [org.eclipse.jdt.internal.ui.javaeditor.ExternalClassFileEditorInput] At ExternalClassFileEditorInput.java:[line 1] EQ_DOESNT_OVERRIDE_EQUALS [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.javaeditor.JavaAnnotationImageProvider.getImage(IJavaAnnotation, int) where default case is missing [org.eclipse.jdt.internal.ui.javaeditor.JavaAnnotationImageProvider] At JavaAnnotationImageProvider.java:[lines 148-184] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.fOutlineSelectionChangedListener [org.eclipse.jdt.internal.ui.javaeditor.JavaEditor] At JavaEditor.java:[line 1540] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: org.eclipse.jdt.internal.ui.javaeditor.JavaMarkerAnnotation doesn't override org.eclipse.ui.texteditor.SimpleMarkerAnnotation.equals(Object) [org.eclipse.jdt.internal.ui.javaeditor.JavaMarkerAnnotation] At JavaMarkerAnnotation.java:[line 1] EQ_DOESNT_OVERRIDE_EQUALS [ERROR] Medium: fSharedState isn't initialized in org.eclipse.jdt.internal.ui.javaeditor.JavaMoveLinesAction.setEditor(ITextEditor) when invoked from constructor for superclass [org.eclipse.ui.texteditor.TextEditorAction, org.eclipse.jdt.internal.ui.javaeditor.JavaMoveLinesAction, org.eclipse.jdt.internal.ui.javaeditor.JavaMoveLinesAction, org.eclipse.jdt.internal.ui.javaeditor.JavaMoveLinesAction] Call from superclass constructor at TextEditorAction.java:[line 51]Field set (too late) at JavaMoveLinesAction.java:[line 179]At JavaMoveLinesAction.java:[line 157]Another occurrence at JavaMoveLinesAction.java:[line 158] UR_UNINIT_READ_CALLED_FROM_SUPER_CONSTRUCTOR [ERROR] Medium: org.eclipse.jdt.internal.ui.javaeditor.JavaTextSelection doesn't override org.eclipse.jface.text.TextSelection.equals(Object) [org.eclipse.jdt.internal.ui.javaeditor.JavaTextSelection] At JavaTextSelection.java:[line 1] EQ_DOESNT_OVERRIDE_EQUALS [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.model.JavaSynchronizationCompareAdapter.restore(IMemento) where default case is missing [org.eclipse.jdt.internal.ui.model.JavaSynchronizationCompareAdapter] At JavaSynchronizationCompareAdapter.java:[lines 96-107] SF_SWITCH_NO_DEFAULT [ERROR] High: org.eclipse.jdt.internal.ui.navigator.JavaNavigatorLabelProvider.equals(Object) checks for operand being a org.eclipse.jdt.internal.ui.packageview.PackageExplorerLabelProvider [org.eclipse.jdt.internal.ui.navigator.JavaNavigatorLabelProvider] At JavaNavigatorLabelProvider.java:[line 148] EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.navigator.JavaNavigatorLabelProvider.LABEL_FLAGS; should this field be static? [org.eclipse.jdt.internal.ui.navigator.JavaNavigatorLabelProvider] At JavaNavigatorLabelProvider.java:[line 54] SS_SHOULD_BE_STATIC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.ui.navigator.NonEssentialElementsFilter.isStateModelInitialized; locked 66% of time [org.eclipse.jdt.internal.ui.navigator.NonEssentialElementsFilter, org.eclipse.jdt.internal.ui.navigator.NonEssentialElementsFilter, org.eclipse.jdt.internal.ui.navigator.NonEssentialElementsFilter] Unsynchronized access at NonEssentialElementsFilter.java:[line 57]Synchronized access at NonEssentialElementsFilter.java:[line 114]Synchronized access at NonEssentialElementsFilter.java:[line 121] IS2_INCONSISTENT_SYNC [ERROR] High: org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.equals(Object) checks for operand being a org.eclipse.jdt.ui.actions.OpenAction [org.eclipse.jdt.internal.ui.navigator.OpenAndExpand] At OpenAndExpand.java:[line 99] EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.getVisibleParent(Object) where default case is missing [org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart] At PackageExplorerPart.java:[lines 1384-1396] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Dead store to context in org.eclipse.jdt.internal.ui.preferences.ClasspathContainerPreferencePage.applyChanges() [org.eclipse.jdt.internal.ui.preferences.ClasspathContainerPreferencePage] At ClasspathContainerPreferencePage.java:[line 107] DLS_DEAD_LOCAL_STORE [ERROR] Medium: Comparison of String objects using == or != in org.eclipse.jdt.internal.ui.preferences.ComplianceConfigurationBlock.equals(String, Preferences, Map) [org.eclipse.jdt.internal.ui.preferences.ComplianceConfigurationBlock] At ComplianceConfigurationBlock.java:[line 1449] ES_COMPARING_STRINGS_WITH_EQ [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.ui.preferences.JavaEditorColoringConfigurationBlock.loadPreviewContentFromFile(String): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.internal.ui.preferences.JavaEditorColoringConfigurationBlock] At JavaEditorColoringConfigurationBlock.java:[line 858] DM_DEFAULT_ENCODING [ERROR] Medium: org.eclipse.jdt.internal.ui.preferences.JavaEditorHoverConfigurationBlock.initializeFields() makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.internal.ui.preferences.JavaEditorHoverConfigurationBlock] At JavaEditorHoverConfigurationBlock.java:[line 404] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: org.eclipse.jdt.internal.ui.preferences.MarkOccurrencesConfigurationBlock.initializeFields() makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.internal.ui.preferences.MarkOccurrencesConfigurationBlock] At MarkOccurrencesConfigurationBlock.java:[line 252] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: Null passed for non-null parameter of decode(String) in org.eclipse.jdt.internal.ui.preferences.NewJavaProjectPreferencePage.decodePath(String) [org.eclipse.jdt.internal.ui.preferences.NewJavaProjectPreferencePage, org.eclipse.jdt.internal.ui.preferences.NewJavaProjectPreferencePage] Method invoked at NewJavaProjectPreferencePage.java:[line 218]Known null at NewJavaProjectPreferencePage.java:[line 209] NP_NULL_PARAM_DEREF [ERROR] Medium: Redundant nullcheck of fieldStatus, which is known to be non-null in org.eclipse.jdt.internal.ui.preferences.ProblemSeveritiesConfigurationBlock$NullAnnotationsConfigurationDialog.doValidation(ProblemSeveritiesConfigurationBlock$IAnnotationDialogField, ProblemSeveritiesConfigurationBlock$NullAnnotationsConfigurationDialog$AnnotationWrapper, String, boolean) [org.eclipse.jdt.internal.ui.preferences.ProblemSeveritiesConfigurationBlock$NullAnnotationsConfigurationDialog] Redundant null check at ProblemSeveritiesConfigurationBlock.java:[line 494] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.ui.preferences.PropertiesFileEditorPreferencePage.loadPreviewContentFromFile(String): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.internal.ui.preferences.PropertiesFileEditorPreferencePage] At PropertiesFileEditorPreferencePage.java:[line 693] DM_DEFAULT_ENCODING [ERROR] Medium: Useless object stored in variable gd of method org.eclipse.jdt.internal.ui.preferences.PropertiesFileEditorPreferencePage.createSyntaxPage(Composite) [org.eclipse.jdt.internal.ui.preferences.PropertiesFileEditorPreferencePage] At PropertiesFileEditorPreferencePage.java:[line 444] UC_USELESS_OBJECT [ERROR] Medium: Dead store to gd in org.eclipse.jdt.internal.ui.preferences.SpellingConfigurationBlock.createContents(Composite) [org.eclipse.jdt.internal.ui.preferences.SpellingConfigurationBlock] At SpellingConfigurationBlock.java:[line 479] DLS_DEAD_LOCAL_STORE [ERROR] Medium: org.eclipse.jdt.internal.ui.preferences.UserLibraryPreferencePage.createPlaceholderProject() concatenates strings using + in a loop [org.eclipse.jdt.internal.ui.preferences.UserLibraryPreferencePage] At UserLibraryPreferencePage.java:[line 823] SBSC_USE_STRINGBUFFER_CONCATENATION [ERROR] Medium: Return value of org.eclipse.jdt.internal.ui.preferences.formatter.ProfileManager$Profile.getID() ignored, but method has no side effect [org.eclipse.jdt.internal.ui.preferences.cleanup.CleanUpConfigurationBlock] At CleanUpConfigurationBlock.java:[line 217] RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.preferences.cleanup.CleanUpConfigurationBlock.lambda$0(ProfileManager, Map, BulletListBlock, ICleanUp[], Observable, Object) where default case is missing [org.eclipse.jdt.internal.ui.preferences.cleanup.CleanUpConfigurationBlock] At CleanUpConfigurationBlock.java:[lines 118-124] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.preferences.cleanup.CleanUpProfileVersioner.updateAndComplete(Map, int) where default case is missing [org.eclipse.jdt.internal.ui.preferences.cleanup.CleanUpProfileVersioner] At CleanUpProfileVersioner.java:[lines 57-59] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.preferences.formatter.AlreadyExistsDialog.NUM_COLUMNS; should this field be static? [org.eclipse.jdt.internal.ui.preferences.formatter.AlreadyExistsDialog] At AlreadyExistsDialog.java:[line 47] SS_SHOULD_BE_STATIC [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.preferences.formatter.CodeFormatterConfigurationBlock$PreviewController.update(Observable, Object) where default case is missing [org.eclipse.jdt.internal.ui.preferences.formatter.CodeFormatterConfigurationBlock$PreviewController] At CodeFormatterConfigurationBlock.java:[lines 73-79] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Useless object stored in variable gd of method org.eclipse.jdt.internal.ui.preferences.formatter.CreateProfileDialog.createDialogArea(Composite) [org.eclipse.jdt.internal.ui.preferences.formatter.CreateProfileDialog] At CreateProfileDialog.java:[line 126] UC_USELESS_OBJECT [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.ui.preferences.formatter.FormatterProfileStore.readOldForCompatibility(IScopeContext): new java.io.FileReader(File) [org.eclipse.jdt.internal.ui.preferences.formatter.FormatterProfileStore] At FormatterProfileStore.java:[line 80] DM_DEFAULT_ENCODING [ERROR] Medium: Exceptional return value of java.io.File.delete() ignored in org.eclipse.jdt.internal.ui.preferences.formatter.FormatterProfileStore.readOldForCompatibility(IScopeContext) [org.eclipse.jdt.internal.ui.preferences.formatter.FormatterProfileStore] At FormatterProfileStore.java:[line 88] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] High: Usage of GetResource in org.eclipse.jdt.internal.ui.preferences.formatter.ModifyDialog.loadPreviews(String) may be unsafe if class is extended [org.eclipse.jdt.internal.ui.preferences.formatter.ModifyDialog] At ModifyDialog.java:[line 1620] UI_INHERITANCE_UNSAFE_GETRESOURCE [ERROR] Medium: Unchecked/unconfirmed cast from java.util.Observable to org.eclipse.jdt.internal.ui.preferences.formatter.ProfileManager in org.eclipse.jdt.internal.ui.preferences.formatter.ProfileConfigurationBlock$ButtonController.update(Observable, Object) [org.eclipse.jdt.internal.ui.preferences.formatter.ProfileConfigurationBlock$ButtonController] At ProfileConfigurationBlock.java:[line 166] BC_UNCONFIRMED_CAST [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.preferences.formatter.ProfileConfigurationBlock$ProfileComboController.update(Observable, Object) where default case is missing [org.eclipse.jdt.internal.ui.preferences.formatter.ProfileConfigurationBlock$ProfileComboController] At ProfileConfigurationBlock.java:[lines 130-138] SF_SWITCH_NO_DEFAULT [ERROR] Medium: org.eclipse.jdt.internal.ui.preferences.formatter.ProfileManager$BuiltInProfile defines compareTo(Object) and uses Object.equals() [org.eclipse.jdt.internal.ui.preferences.formatter.ProfileManager$BuiltInProfile] At ProfileManager.java:[line 1] EQ_COMPARETO_USE_OBJECT_EQUALS [ERROR] Medium: org.eclipse.jdt.internal.ui.preferences.formatter.ProfileManager$CustomProfile defines compareTo(Object) and uses Object.equals() [org.eclipse.jdt.internal.ui.preferences.formatter.ProfileManager$CustomProfile] At ProfileManager.java:[line 1] EQ_COMPARETO_USE_OBJECT_EQUALS [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.ui.preferences.formatter.ProfileStore.readProfilesFromString(String): String.getBytes() [org.eclipse.jdt.internal.ui.preferences.formatter.ProfileStore] At ProfileStore.java:[line 192] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.ui.preferences.formatter.ProfileStore.writeProfiles(Collection, IScopeContext): java.io.ByteArrayOutputStream.toString() [org.eclipse.jdt.internal.ui.preferences.formatter.ProfileStore] At ProfileStore.java:[line 176] DM_DEFAULT_ENCODING [ERROR] Medium: org.eclipse.jdt.internal.ui.propertiesfileeditor.PropertyKeyHyperlink$KeyReference defines compareTo(PropertyKeyHyperlink$KeyReference) and uses Object.equals() [org.eclipse.jdt.internal.ui.propertiesfileeditor.PropertyKeyHyperlink$KeyReference] At PropertyKeyHyperlink.java:[lines 187-193] EQ_COMPARETO_USE_OBJECT_EQUALS [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.ui.propertiesfileeditor.PropertyKeyHyperlinkDetector.detectHyperlinks(ITextViewer, IRegion, boolean): String.getBytes() [org.eclipse.jdt.internal.ui.propertiesfileeditor.PropertyKeyHyperlinkDetector] At PropertyKeyHyperlinkDetector.java:[line 102] DM_DEFAULT_ENCODING [ERROR] Medium: org.eclipse.jdt.internal.ui.refactoring.CompilationUnitChangeNode$OffsetComparator implements Comparator but not Serializable [org.eclipse.jdt.internal.ui.refactoring.CompilationUnitChangeNode$OffsetComparator] At CompilationUnitChangeNode.java:[lines 1-136] SE_COMPARATOR_SHOULD_BE_SERIALIZABLE [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.refactoring.ExtractClassWizard$ExtractClassUserInputWizardPage.updateDecoration(ControlDecoration, RefactoringStatus) where default case is missing [org.eclipse.jdt.internal.ui.refactoring.ExtractClassWizard$ExtractClassUserInputWizardPage] At ExtractClassWizard.java:[lines 190-199] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.refactoring.ExtractClassWizard$ExtractClassUserInputWizardPage.validateRefactoring() where default case is missing [org.eclipse.jdt.internal.ui.refactoring.ExtractClassWizard$ExtractClassUserInputWizardPage] At ExtractClassWizard.java:[lines 469-479] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Nullcheck of IntroduceParameterObjectWizard$IntroduceParameterObjectInputPage.fLeaveDelegateCheckBox at line 330 of value previously dereferenced in org.eclipse.jdt.internal.ui.refactoring.IntroduceParameterObjectWizard$IntroduceParameterObjectInputPage.createDelegateInput(Group) [org.eclipse.jdt.internal.ui.refactoring.IntroduceParameterObjectWizard$IntroduceParameterObjectInputPage, org.eclipse.jdt.internal.ui.refactoring.IntroduceParameterObjectWizard$IntroduceParameterObjectInputPage] At IntroduceParameterObjectWizard.java:[line 329]Redundant null check at IntroduceParameterObjectWizard.java:[line 330] RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.ui.refactoring.nls.search.NLSSearchResultRequestor.createInputStream(IFile): String.getBytes() [org.eclipse.jdt.internal.ui.refactoring.nls.search.NLSSearchResultRequestor] At NLSSearchResultRequestor.java:[line 430] DM_DEFAULT_ENCODING [ERROR] Medium: org.eclipse.jdt.internal.ui.refactoring.nls.search.Properties doesn't override java.util.Properties.equals(Object) [org.eclipse.jdt.internal.ui.refactoring.nls.search.Properties] At Properties.java:[line 1] EQ_DOESNT_OVERRIDE_EQUALS [ERROR] High: The class name org.eclipse.jdt.internal.ui.refactoring.nls.search.Properties shadows the simple name of the superclass java.util.Properties [org.eclipse.jdt.internal.ui.refactoring.nls.search.Properties] At Properties.java:[lines 28-49] NM_SAME_SIMPLE_NAME_AS_SUPERCLASS [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.refactoring.reorg.RenameInformationPopup.getExtent() where default case is missing [org.eclipse.jdt.internal.ui.refactoring.reorg.RenameInformationPopup] At RenameInformationPopup.java:[lines 637-642] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.refactoring.reorg.RenameLinkedMode.createRenameDescriptor(IJavaElement, String) where default case is missing [org.eclipse.jdt.internal.ui.refactoring.reorg.RenameLinkedMode, org.eclipse.jdt.internal.ui.refactoring.reorg.RenameLinkedMode, org.eclipse.jdt.internal.ui.refactoring.reorg.RenameLinkedMode, org.eclipse.jdt.internal.ui.refactoring.reorg.RenameLinkedMode, org.eclipse.jdt.internal.ui.refactoring.reorg.RenameLinkedMode, org.eclipse.jdt.internal.ui.refactoring.reorg.RenameLinkedMode] At RenameLinkedMode.java:[lines 530-534]Another occurrence at RenameLinkedMode.java:[lines 536-546]Another occurrence at RenameLinkedMode.java:[lines 548-550]Another occurrence at RenameLinkedMode.java:[lines 552-560]Another occurrence at RenameLinkedMode.java:[lines 563-569]Another occurrence at RenameLinkedMode.java:[lines 571-574] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Dead store to target in org.eclipse.jdt.internal.ui.refactoring.reorg.RenameSelectionState.consider(IWorkbenchPart) [org.eclipse.jdt.internal.ui.refactoring.reorg.RenameSelectionState] At RenameSelectionState.java:[line 75] DLS_DEAD_LOCAL_STORE [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.refactoring.reorg.RenameTypeWizardSimilarElementsPage.LABEL_FLAGS; should this field be static? [org.eclipse.jdt.internal.ui.refactoring.reorg.RenameTypeWizardSimilarElementsPage] At RenameTypeWizardSimilarElementsPage.java:[line 400] SS_SHOULD_BE_STATIC [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.search.JavaSearchPage.performNewSearch() where default case is missing [org.eclipse.jdt.internal.ui.search.JavaSearchPage] At JavaSearchPage.java:[lines 321-353] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Incorrect lazy initialization of static field org.eclipse.jdt.internal.ui.search.SearchParticipantsExtensionPoint.fgInstance in org.eclipse.jdt.internal.ui.search.SearchParticipantsExtensionPoint.getInstance() [org.eclipse.jdt.internal.ui.search.SearchParticipantsExtensionPoint] At SearchParticipantsExtensionPoint.java:[lines 94-95] LI_LAZY_INIT_STATIC [ERROR] Medium: Nullcheck of workingSets at line 115 of value previously dereferenced in org.eclipse.jdt.internal.ui.search.SearchUtil.toString(IWorkingSet[]) [org.eclipse.jdt.internal.ui.search.SearchUtil, org.eclipse.jdt.internal.ui.search.SearchUtil] At SearchUtil.java:[line 113]Redundant null check at SearchUtil.java:[line 115] RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.ui.text.JavaCommentScanner$TaskTagMatcher.fCaseSensitive; locked 50% of time [org.eclipse.jdt.internal.ui.text.JavaCommentScanner$TaskTagMatcher, org.eclipse.jdt.internal.ui.text.JavaCommentScanner$TaskTagMatcher] Unsynchronized access at JavaCommentScanner.java:[line 152]Synchronized access at JavaCommentScanner.java:[line 132] IS2_INCONSISTENT_SYNC [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.JavaIndenter.hasMatchingDo() where one case falls through to the next case [org.eclipse.jdt.internal.ui.text.JavaIndenter] At JavaIndenter.java:[lines 1943-1946] SF_SWITCH_FALLTHROUGH [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.JavaIndenter.skipToStatementStart(boolean, boolean) where one case falls through to the next case [org.eclipse.jdt.internal.ui.text.JavaIndenter] At JavaIndenter.java:[lines 1365-1369] SF_SWITCH_FALLTHROUGH [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.JavaIndenter.computeVisualLength(CharSequence) where default case is missing [org.eclipse.jdt.internal.ui.text.JavaIndenter] At JavaIndenter.java:[lines 523-531] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.JavaIndenter.skipToStatementStart(boolean, boolean) where default case is missing [org.eclipse.jdt.internal.ui.text.JavaIndenter] At JavaIndenter.java:[lines 1328-1417] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.JavaIndenter.stripExceedingChars(StringBuffer, int) where default case is missing [org.eclipse.jdt.internal.ui.text.JavaIndenter] At JavaIndenter.java:[lines 553-561] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.TypingRunDetector$SelectionListener.keyPressed(KeyEvent) where default case is missing [org.eclipse.jdt.internal.ui.text.TypingRunDetector$SelectionListener] At TypingRunDetector.java:[lines 210-219] SF_SWITCH_NO_DEFAULT [ERROR] High: The class name org.eclipse.jdt.internal.ui.text.correction.ASTResolving shadows the simple name of the superclass org.eclipse.jdt.internal.core.manipulation.dom.ASTResolving [org.eclipse.jdt.internal.ui.text.correction.ASTResolving] At ASTResolving.java:[lines 41-111] NM_SAME_SIMPLE_NAME_AS_SUPERCLASS [ERROR] Medium: Possible null pointer dereference of replaceNode in org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor.getReplaceConditionalWithIfElseProposals(IInvocationContext, ASTNode, Collection) [org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor, org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor] Dereferenced at AdvancedQuickAssistProcessor.java:[line 2028]Known null at AdvancedQuickAssistProcessor.java:[line 2024] NP_NULL_ON_SOME_PATH [ERROR] Medium: Possible null pointer dereference of replaceNode in org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor.getReplaceConditionalWithIfElseProposals(IInvocationContext, ASTNode, Collection) [org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor, org.eclipse.jdt.internal.ui.text.correction.AdvancedQuickAssistProcessor] Dereferenced at AdvancedQuickAssistProcessor.java:[line 2051]Known null at AdvancedQuickAssistProcessor.java:[line 2046] NP_NULL_ON_SOME_PATH [ERROR] Medium: Incorrect lazy initialization and update of static field org.eclipse.jdt.internal.ui.text.correction.ClasspathFixProcessorDescriptor.fgContributedClasspathFixProcessors in org.eclipse.jdt.internal.ui.text.correction.ClasspathFixProcessorDescriptor.getCorrectionProcessors() [org.eclipse.jdt.internal.ui.text.correction.ClasspathFixProcessorDescriptor] At ClasspathFixProcessorDescriptor.java:[lines 147-160] LI_LAZY_INIT_UPDATE_STATIC [ERROR] Medium: Useless object stored in variable classPathEntryToModuleMap of method org.eclipse.jdt.internal.ui.text.correction.DefaultModulepathFixProcessor.collectModuleProposals(IJavaProject, String, Collection) [org.eclipse.jdt.internal.ui.text.correction.DefaultModulepathFixProcessor] At DefaultModulepathFixProcessor.java:[line 102] UC_USELESS_OBJECT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.correction.GetterSetterCorrectionSubProcessor.getProposal(ICompilationUnit, SimpleName, IVariableBinding, int) where default case is missing [org.eclipse.jdt.internal.ui.text.correction.GetterSetterCorrectionSubProcessor] At GetterSetterCorrectionSubProcessor.java:[lines 247-255] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Incorrect lazy initialization and update of static field org.eclipse.jdt.internal.ui.text.correction.LocalCorrectionsSubProcessor.resolveMap in org.eclipse.jdt.internal.ui.text.correction.LocalCorrectionsSubProcessor.getMethod(String) [org.eclipse.jdt.internal.ui.text.correction.LocalCorrectionsSubProcessor] At LocalCorrectionsSubProcessor.java:[lines 2042-2043] LI_LAZY_INIT_UPDATE_STATIC [ERROR] Medium: Redundant nullcheck of refactoring, which is known to be non-null in org.eclipse.jdt.internal.ui.text.correction.LocalCorrectionsSubProcessor.addUncaughtExceptionProposals(IInvocationContext, IProblemLocation, Collection) [org.eclipse.jdt.internal.ui.text.correction.LocalCorrectionsSubProcessor] Redundant null check at LocalCorrectionsSubProcessor.java:[line 254] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Redundant nullcheck of refactoring, which is known to be non-null in org.eclipse.jdt.internal.ui.text.correction.LocalCorrectionsSubProcessor.addUncaughtExceptionProposals(IInvocationContext, IProblemLocation, Collection) [org.eclipse.jdt.internal.ui.text.correction.LocalCorrectionsSubProcessor] Redundant null check at LocalCorrectionsSubProcessor.java:[line 289] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.correction.LocalCorrectionsSubProcessor.getInvalidOperatorProposals(IInvocationContext, IProblemLocation, Collection) where default case is missing [org.eclipse.jdt.internal.ui.text.correction.LocalCorrectionsSubProcessor] At LocalCorrectionsSubProcessor.java:[lines 1124-1130] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.correction.ModuleCorrectionsSubProcessor.getModuleDescription(IJavaElement) where default case is missing [org.eclipse.jdt.internal.ui.text.correction.ModuleCorrectionsSubProcessor] At ModuleCorrectionsSubProcessor.java:[lines 369-378] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Redundant nullcheck of fix, which is known to be non-null in org.eclipse.jdt.internal.ui.text.correction.NullAnnotationsCorrectionProcessor.addRemoveRedundantAnnotationProposal(IInvocationContext, IProblemLocation, Collection) [org.eclipse.jdt.internal.ui.text.correction.NullAnnotationsCorrectionProcessor] Redundant null check at NullAnnotationsCorrectionProcessor.java:[line 126] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater.fIsAnnotationShown; locked 50% of time [org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater, org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater, org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater, org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater] Unsynchronized access at QuickAssistLightBulbUpdater.java:[line 217]Unsynchronized access at QuickAssistLightBulbUpdater.java:[line 223]Synchronized access at QuickAssistLightBulbUpdater.java:[line 228]Synchronized access at QuickAssistLightBulbUpdater.java:[line 230] IS2_INCONSISTENT_SYNC [ERROR] Medium: org.eclipse.jdt.internal.ui.text.correction.QuickAssistProcessor.getConvertLambdaToMethodReferenceProposal(IInvocationContext, ASTNode, Collection) uses the same code for two branches [org.eclipse.jdt.internal.ui.text.correction.QuickAssistProcessor, org.eclipse.jdt.internal.ui.text.correction.QuickAssistProcessor] At QuickAssistProcessor.java:[lines 1379-1384]At QuickAssistProcessor.java:[lines 1384-1387] DB_DUPLICATE_BRANCHES [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.correction.QuickAssistProcessor.getAddBlockProposals(IInvocationContext, ASTNode, Collection) where default case is missing [org.eclipse.jdt.internal.ui.text.correction.QuickAssistProcessor] At QuickAssistProcessor.java:[lines 3732-3791] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.correction.QuickFixProcessor.process(IInvocationContext, IProblemLocation, Collection) where default case is missing [org.eclipse.jdt.internal.ui.text.correction.QuickFixProcessor] At QuickFixProcessor.java:[lines 367-900] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Redundant nullcheck of fix, which is known to be non-null in org.eclipse.jdt.internal.ui.text.correction.TypeAnnotationSubProcessor.addMoveTypeAnnotationToTypeProposal(IInvocationContext, IProblemLocation, Collection) [org.eclipse.jdt.internal.ui.text.correction.TypeAnnotationSubProcessor] Redundant null check at TypeAnnotationSubProcessor.java:[line 38] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.correction.UnresolvedElementsSubProcessor.addSimilarVariableProposals(ICompilationUnit, CompilationUnit, ITypeBinding, IVariableBinding, SimpleName, boolean, Collection) where default case is missing [org.eclipse.jdt.internal.ui.text.correction.UnresolvedElementsSubProcessor] At UnresolvedElementsSubProcessor.java:[lines 457-479] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.correction.UnresolvedElementsSubProcessor.getVariableProposals(IInvocationContext, IProblemLocation, IVariableBinding, Collection) where default case is missing [org.eclipse.jdt.internal.ui.text.correction.UnresolvedElementsSubProcessor] At UnresolvedElementsSubProcessor.java:[lines 200-282] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.text.correction.proposals.AssignToVariableAssistProposal.GROUP_EXC_NAME; should this field be static? [org.eclipse.jdt.internal.ui.text.correction.proposals.AssignToVariableAssistProposal] At AssignToVariableAssistProposal.java:[line 117] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.text.correction.proposals.AssignToVariableAssistProposal.GROUP_EXC_TYPE; should this field be static? [org.eclipse.jdt.internal.ui.text.correction.proposals.AssignToVariableAssistProposal] At AssignToVariableAssistProposal.java:[line 116] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.text.correction.proposals.AssignToVariableAssistProposal.KEY_NAME; should this field be static? [org.eclipse.jdt.internal.ui.text.correction.proposals.AssignToVariableAssistProposal] At AssignToVariableAssistProposal.java:[line 114] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.text.correction.proposals.AssignToVariableAssistProposal.KEY_TYPE; should this field be static? [org.eclipse.jdt.internal.ui.text.correction.proposals.AssignToVariableAssistProposal] At AssignToVariableAssistProposal.java:[line 115] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.text.correction.proposals.AssignToVariableAssistProposal.VAR_TYPE; should this field be static? [org.eclipse.jdt.internal.ui.text.correction.proposals.AssignToVariableAssistProposal] At AssignToVariableAssistProposal.java:[line 118] SS_SHOULD_BE_STATIC [ERROR] Medium: Possible null pointer dereference of surroundingBlock in org.eclipse.jdt.internal.ui.text.correction.proposals.GenerateForLoopAssistProposal.getVariableNameProposals(String, String) [org.eclipse.jdt.internal.ui.text.correction.proposals.GenerateForLoopAssistProposal, org.eclipse.jdt.internal.ui.text.correction.proposals.GenerateForLoopAssistProposal] Dereferenced at GenerateForLoopAssistProposal.java:[line 535]Known null at GenerateForLoopAssistProposal.java:[line 530] NP_NULL_ON_SOME_PATH [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.correction.proposals.NewCUUsingWizardProposal.getAdditionalProposalInfo(IProgressMonitor) where default case is missing [org.eclipse.jdt.internal.ui.text.correction.proposals.NewCUUsingWizardProposal, org.eclipse.jdt.internal.ui.text.correction.proposals.NewCUUsingWizardProposal] At NewCUUsingWizardProposal.java:[lines 445-456]Another occurrence at NewCUUsingWizardProposal.java:[lines 472-483] SF_SWITCH_NO_DEFAULT [ERROR] Medium: org.eclipse.jdt.internal.ui.text.folding.DefaultJavaFoldingPreferenceBlock.initializeFields() makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.internal.ui.text.folding.DefaultJavaFoldingPreferenceBlock] At DefaultJavaFoldingPreferenceBlock.java:[line 128] WMI_WRONG_MAP_ITERATOR [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getCSSStyles(): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal] At AbstractJavaCompletionProposal.java:[line 679] DM_DEFAULT_ENCODING [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.java.JavaAutoIndentStrategy.getBracketCount(IDocument, int, int, boolean) where default case is missing [org.eclipse.jdt.internal.ui.text.java.JavaAutoIndentStrategy] At JavaAutoIndentStrategy.java:[lines 128-162] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.java.JavaAutoIndentStrategy.smartIndentOnKeypress(IDocument, DocumentCommand) where default case is missing [org.eclipse.jdt.internal.ui.text.java.JavaAutoIndentStrategy] At JavaAutoIndentStrategy.java:[lines 1127-1135] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Unwritten field: org.eclipse.jdt.internal.ui.text.java.JavaStringAutoIndentStrategy.jmlsStrategy [org.eclipse.jdt.internal.ui.text.java.JavaStringAutoIndentStrategy] At JavaStringAutoIndentStrategy.java:[line 318] UWF_UNWRITTEN_FIELD [ERROR] Medium: Comparison of String parameter using == or != in org.eclipse.jdt.internal.ui.text.java.ParameterGuesser.getLongestCommonSubstring(String, String) [org.eclipse.jdt.internal.ui.text.java.ParameterGuesser] At ParameterGuesser.java:[line 408] ES_COMPARING_PARAMETER_STRING_WITH_EQ [ERROR] Medium: Load of known null value in org.eclipse.jdt.internal.ui.text.java.ParameterGuesser.getPrimitiveTypeCode(String) [org.eclipse.jdt.internal.ui.text.java.ParameterGuesser, org.eclipse.jdt.internal.ui.text.java.ParameterGuesser, org.eclipse.jdt.internal.ui.text.java.ParameterGuesser, org.eclipse.jdt.internal.ui.text.java.ParameterGuesser, org.eclipse.jdt.internal.ui.text.java.ParameterGuesser, org.eclipse.jdt.internal.ui.text.java.ParameterGuesser, org.eclipse.jdt.internal.ui.text.java.ParameterGuesser] At ParameterGuesser.java:[line 244]Another occurrence at ParameterGuesser.java:[line 248]Another occurrence at ParameterGuesser.java:[line 252]Another occurrence at ParameterGuesser.java:[line 256]Another occurrence at ParameterGuesser.java:[line 260]Another occurrence at ParameterGuesser.java:[line 264]Another occurrence at ParameterGuesser.java:[line 268] NP_LOAD_OF_KNOWN_NULL_VALUE [ERROR] Medium: org.eclipse.jdt.internal.ui.text.java.ParameterGuesser$MatchComparator implements Comparator but not Serializable [org.eclipse.jdt.internal.ui.text.java.ParameterGuesser$MatchComparator] At ParameterGuesser.java:[lines 1-370] SE_COMPARATOR_SHOULD_BE_SERIALIZABLE [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.ui.text.java.ProposalSorterRegistry.fDefaultSorter; locked 50% of time [org.eclipse.jdt.internal.ui.text.java.ProposalSorterRegistry, org.eclipse.jdt.internal.ui.text.java.ProposalSorterRegistry] Unsynchronized access at ProposalSorterRegistry.java:[line 73]Synchronized access at ProposalSorterRegistry.java:[line 91] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.ui.text.java.ProposalSorterRegistry.fSorters; locked 50% of time [org.eclipse.jdt.internal.ui.text.java.ProposalSorterRegistry, org.eclipse.jdt.internal.ui.text.java.ProposalSorterRegistry, org.eclipse.jdt.internal.ui.text.java.ProposalSorterRegistry, org.eclipse.jdt.internal.ui.text.java.ProposalSorterRegistry] Unsynchronized access at ProposalSorterRegistry.java:[line 72]Unsynchronized access at ProposalSorterRegistry.java:[line 120]Synchronized access at ProposalSorterRegistry.java:[line 77]Synchronized access at ProposalSorterRegistry.java:[line 108] IS2_INCONSISTENT_SYNC [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.loadStyleSheet(String): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover] At JavadocHover.java:[line 1056] DM_DEFAULT_ENCODING [ERROR] Medium: Dead store to c in org.eclipse.jdt.internal.ui.text.javadoc.JavaDoc2HTMLTextReader.processBlockTag() [org.eclipse.jdt.internal.ui.text.javadoc.JavaDoc2HTMLTextReader] At JavaDoc2HTMLTextReader.java:[line 387] DLS_DEAD_LOCAL_STORE [ERROR] High: Useless condition: it's known that c != -1 at this point [org.eclipse.jdt.internal.ui.text.javadoc.JavaDoc2HTMLTextReader, org.eclipse.jdt.internal.ui.text.javadoc.JavaDoc2HTMLTextReader] Unreachable code at JavaDoc2HTMLTextReader.java:[line 393]At JavaDoc2HTMLTextReader.java:[line 376] UC_USELESS_CONDITION [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.appendEscaped(StringBuffer, String) where default case is missing [org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2] At JavadocContentAccess2.java:[lines 1450-1461] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.ui.text.spelling.SpellCheckEngine.fLocaleDictionaries; locked 71% of time [org.eclipse.jdt.internal.ui.text.spelling.SpellCheckEngine, org.eclipse.jdt.internal.ui.text.spelling.SpellCheckEngine, org.eclipse.jdt.internal.ui.text.spelling.SpellCheckEngine, org.eclipse.jdt.internal.ui.text.spelling.SpellCheckEngine, org.eclipse.jdt.internal.ui.text.spelling.SpellCheckEngine, org.eclipse.jdt.internal.ui.text.spelling.SpellCheckEngine, org.eclipse.jdt.internal.ui.text.spelling.SpellCheckEngine] Unsynchronized access at SpellCheckEngine.java:[line 166]Unsynchronized access at SpellCheckEngine.java:[line 172]Synchronized access at SpellCheckEngine.java:[line 479]Synchronized access at SpellCheckEngine.java:[line 483]Synchronized access at SpellCheckEngine.java:[line 459]Synchronized access at SpellCheckEngine.java:[line 491]Synchronized access at SpellCheckEngine.java:[line 504] IS2_INCONSISTENT_SYNC [ERROR] Medium: Incorrect lazy initialization of static field org.eclipse.jdt.internal.ui.text.spelling.SpellCheckEngine.fgLocalesWithInstalledDictionaries in org.eclipse.jdt.internal.ui.text.spelling.SpellCheckEngine.getLocalesWithInstalledDictionaries() [org.eclipse.jdt.internal.ui.text.spelling.SpellCheckEngine] At SpellCheckEngine.java:[lines 125-132] LI_LAZY_INIT_STATIC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.ui.text.spelling.engine.AbstractSpellDictionary.fLoaded; locked 77% of time [org.eclipse.jdt.internal.ui.text.spelling.engine.AbstractSpellDictionary, org.eclipse.jdt.internal.ui.text.spelling.engine.AbstractSpellDictionary, org.eclipse.jdt.internal.ui.text.spelling.engine.AbstractSpellDictionary, org.eclipse.jdt.internal.ui.text.spelling.engine.AbstractSpellDictionary, org.eclipse.jdt.internal.ui.text.spelling.engine.AbstractSpellDictionary, org.eclipse.jdt.internal.ui.text.spelling.engine.AbstractSpellDictionary, org.eclipse.jdt.internal.ui.text.spelling.engine.AbstractSpellDictionary, org.eclipse.jdt.internal.ui.text.spelling.engine.AbstractSpellDictionary, org.eclipse.jdt.internal.ui.text.spelling.engine.AbstractSpellDictionary] Unsynchronized access at AbstractSpellDictionary.java:[line 343]Unsynchronized access at AbstractSpellDictionary.java:[line 497]Synchronized access at AbstractSpellDictionary.java:[line 345]Synchronized access at AbstractSpellDictionary.java:[line 346]Synchronized access at AbstractSpellDictionary.java:[line 698]Synchronized access at AbstractSpellDictionary.java:[line 499]Synchronized access at AbstractSpellDictionary.java:[line 500]Synchronized access at AbstractSpellDictionary.java:[line 577]Synchronized access at AbstractSpellDictionary.java:[line 590] IS2_INCONSISTENT_SYNC [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.typehierarchy.HierarchyInformationControl.setInput(Object) where default case is missing [org.eclipse.jdt.internal.ui.typehierarchy.HierarchyInformationControl] At HierarchyInformationControl.java:[lines 219-223] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Using .equals to compare two org.eclipse.jdt.core.IJavaElement[]'s, (equivalent to ==) in org.eclipse.jdt.internal.ui.typehierarchy.HistoryDropDownAction.addEntries(Menu, List) [org.eclipse.jdt.internal.ui.typehierarchy.HistoryDropDownAction] At HistoryDropDownAction.java:[line 104] EC_BAD_ARRAY_COMPARE [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyContentProvider.fViewer [org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyContentProvider] At TypeHierarchyContentProvider.java:[line 350] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyLifeCycle.processDelta(IJavaElementDelta, ArrayList) where default case is missing [org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyLifeCycle] At TypeHierarchyLifeCycle.java:[lines 374-411] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Return value of java.util.List.isEmpty() ignored, but method has no side effect [org.eclipse.jdt.internal.ui.typehierarchy.TypeHierarchyViewPart] At TypeHierarchyViewPart.java:[line 1293] RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT [ERROR] High: The class name org.eclipse.jdt.internal.ui.viewsupport.BasicElementLabels shadows the simple name of the superclass org.eclipse.jdt.internal.core.manipulation.util.BasicElementLabels [org.eclipse.jdt.internal.ui.viewsupport.BasicElementLabels] At BasicElementLabels.java:[lines 28-37] NM_SAME_SIMPLE_NAME_AS_SUPERCLASS [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.viewsupport.BindingLinkedLabelComposer.appendBindingLabel(IBinding, long) where default case is missing [org.eclipse.jdt.internal.ui.viewsupport.BindingLinkedLabelComposer] At BindingLinkedLabelComposer.java:[lines 93-107] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.viewsupport.BindingLinkedLabelComposer.isEnclosingElement(IJavaElement) where default case is missing [org.eclipse.jdt.internal.ui.viewsupport.BindingLinkedLabelComposer] At BindingLinkedLabelComposer.java:[lines 783-802] SF_SWITCH_NO_DEFAULT [ERROR] Medium: org.eclipse.jdt.internal.ui.viewsupport.FocusDescriptor.equals(Object) fails for subtypes [org.eclipse.jdt.internal.ui.viewsupport.FocusDescriptor] At FocusDescriptor.java:[line 49] EQ_GETCLASS_AND_CLASS_CONSTANT [ERROR] Medium: Possible null pointer dereference in org.eclipse.jdt.internal.ui.viewsupport.ImagesOnFileSystemRegistry.delete(File) due to return value of called method [org.eclipse.jdt.internal.ui.viewsupport.ImagesOnFileSystemRegistry, org.eclipse.jdt.internal.ui.viewsupport.ImagesOnFileSystemRegistry] Dereferenced at ImagesOnFileSystemRegistry.java:[line 76]Known null at ImagesOnFileSystemRegistry.java:[line 76] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: Redundant nullcheck of descriptor, which is known to be non-null in org.eclipse.jdt.internal.ui.viewsupport.ImagesOnFileSystemRegistry.getImageURL(IJavaElement) [org.eclipse.jdt.internal.ui.viewsupport.ImagesOnFileSystemRegistry] Redundant null check at ImagesOnFileSystemRegistry.java:[line 85] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Exceptional return value of java.io.File.delete() ignored in org.eclipse.jdt.internal.ui.viewsupport.ImagesOnFileSystemRegistry.delete(File) [org.eclipse.jdt.internal.ui.viewsupport.ImagesOnFileSystemRegistry] At ImagesOnFileSystemRegistry.java:[line 80] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Exceptional return value of java.io.File.mkdir() ignored in org.eclipse.jdt.internal.ui.viewsupport.ImagesOnFileSystemRegistry.getTempDir() [org.eclipse.jdt.internal.ui.viewsupport.ImagesOnFileSystemRegistry] At ImagesOnFileSystemRegistry.java:[line 61] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Incorrect lazy initialization of static field org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager.fgDefault in org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager.getDefault() [org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager] At SelectionListenerWithASTManager.java:[lines 56-57] LI_LAZY_INIT_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.viewsupport.StatusBarUpdater.LABEL_FLAGS; should this field be static? [org.eclipse.jdt.internal.ui.viewsupport.StatusBarUpdater] At StatusBarUpdater.java:[line 49] SS_SHOULD_BE_STATIC [ERROR] Medium: org.eclipse.jdt.internal.ui.wizards.ClassPathDetector.findInSourceFolders(IPath) makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.internal.ui.wizards.ClassPathDetector] At ClassPathDetector.java:[line 175] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.wizards.NewModuleInfoWizard.convertClasspathToModulePath(IProgressMonitor) where default case is missing [org.eclipse.jdt.internal.ui.wizards.NewModuleInfoWizard] At NewModuleInfoWizard.java:[lines 205-212] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.wizards.buildpaths.AddSourceFolderWizardPage$LinkFields.DIALOGSTORE_LAST_EXTERNAL_LOC; should this field be static? [org.eclipse.jdt.internal.ui.wizards.buildpaths.AddSourceFolderWizardPage$LinkFields] At AddSourceFolderWizardPage.java:[line 97] SS_SHOULD_BE_STATIC [ERROR] Medium: Useless object stored in variable entries of method org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathsBlock.updateClassPathStatus() [org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathsBlock] At BuildPathsBlock.java:[line 608] UC_USELESS_OBJECT [ERROR] Medium: Switch statement found in new org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListElement(Object, IJavaProject, IClasspathEntry, int, IPath, IModuleDescription, boolean, IResource, IPath) where default case is missing [org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListElement] At CPListElement.java:[lines 134-197] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListElement.create(Object, IClasspathEntry, IModuleDescription, boolean, IJavaProject) where default case is missing [org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListElement] At CPListElement.java:[lines 718-765] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Unchecked/unconfirmed cast from org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListElement to org.eclipse.jdt.internal.ui.wizards.buildpaths.RootCPListElement in org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListLabelProvider.getText(Object) [org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListLabelProvider] At CPListLabelProvider.java:[line 103] BC_UNCONFIRMED_CAST [ERROR] Medium: Useless object stored in variable gd of method org.eclipse.jdt.internal.ui.wizards.buildpaths.EditVariableEntryDialog.createDialogArea(Composite) [org.eclipse.jdt.internal.ui.wizards.buildpaths.EditVariableEntryDialog] At EditVariableEntryDialog.java:[line 115] UC_USELESS_OBJECT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.editElementEntry(CPListElement) where default case is missing [org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage] At LibrariesWorkbookPage.java:[lines 855-879] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.wizards.buildpaths.ModuleDependenciesAdapter.customButtonPressed(TreeListDialogField, int) where one case falls through to the next case [org.eclipse.jdt.internal.ui.wizards.buildpaths.ModuleDependenciesAdapter] At ModuleDependenciesAdapter.java:[lines 919-925] SF_SWITCH_FALLTHROUGH [ERROR] Medium: org.eclipse.jdt.internal.ui.wizards.buildpaths.ModuleDependenciesList$FocusAwareStringComparator implements Comparator but not Serializable [org.eclipse.jdt.internal.ui.wizards.buildpaths.ModuleDependenciesList$FocusAwareStringComparator] At ModuleDependenciesList.java:[lines 1-65] SE_COMPARATOR_SHOULD_BE_SERIALIZABLE [ERROR] Medium: Unchecked/unconfirmed cast from org.eclipse.swt.widgets.Composite to org.eclipse.swt.widgets.TabFolder in org.eclipse.jdt.internal.ui.wizards.buildpaths.ModuleDependenciesPage.getControl(Composite) [org.eclipse.jdt.internal.ui.wizards.buildpaths.ModuleDependenciesPage] At ModuleDependenciesPage.java:[line 241] BC_UNCONFIRMED_CAST [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.wizards.buildpaths.ModuleDependenciesPage.removeModules() where one case falls through to the next case [org.eclipse.jdt.internal.ui.wizards.buildpaths.ModuleDependenciesPage] At ModuleDependenciesPage.java:[lines 565-582] SF_SWITCH_FALLTHROUGH [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.wizards.buildpaths.ModuleDialog.getSourceModuleName() where default case is missing [org.eclipse.jdt.internal.ui.wizards.buildpaths.ModuleDialog] At ModuleDialog.java:[lines 862-871] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.wizards.buildpaths.NewVariableEntryDialog.IDX_EXTEND; should this field be static? [org.eclipse.jdt.internal.ui.wizards.buildpaths.NewVariableEntryDialog] At NewVariableEntryDialog.java:[line 101] SS_SHOULD_BE_STATIC [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.wizards.buildpaths.NewVariableEntryDialog$VariablesAdapter.customButtonPressed(ListDialogField, int) where default case is missing [org.eclipse.jdt.internal.ui.wizards.buildpaths.NewVariableEntryDialog$VariablesAdapter] At NewVariableEntryDialog.java:[lines 72-74] SF_SWITCH_NO_DEFAULT [ERROR] Medium: org.eclipse.jdt.internal.ui.wizards.buildpaths.RootCPListElement defines equals but not hashCode [org.eclipse.jdt.internal.ui.wizards.buildpaths.RootCPListElement] At RootCPListElement.java:[lines 60-64] HE_EQUALS_NO_HASHCODE [ERROR] Medium: Unwritten field: org.eclipse.jdt.internal.ui.wizards.buildpaths.SourceAttachmentBlock.fProject [org.eclipse.jdt.internal.ui.wizards.buildpaths.SourceAttachmentBlock] At SourceAttachmentBlock.java:[line 263] UWF_UNWRITTEN_FIELD [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.wizards.buildpaths.SourceContainerWorkbookPage.IDX_ADD; should this field be static? [org.eclipse.jdt.internal.ui.wizards.buildpaths.SourceContainerWorkbookPage] At SourceContainerWorkbookPage.java:[line 143] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.wizards.buildpaths.SourceContainerWorkbookPage.IDX_ADD_LINK; should this field be static? [org.eclipse.jdt.internal.ui.wizards.buildpaths.SourceContainerWorkbookPage] At SourceContainerWorkbookPage.java:[line 144] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.wizards.buildpaths.SourceContainerWorkbookPage.IDX_EDIT; should this field be static? [org.eclipse.jdt.internal.ui.wizards.buildpaths.SourceContainerWorkbookPage] At SourceContainerWorkbookPage.java:[line 145] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.internal.ui.wizards.buildpaths.SourceContainerWorkbookPage.IDX_REMOVE; should this field be static? [org.eclipse.jdt.internal.ui.wizards.buildpaths.SourceContainerWorkbookPage] At SourceContainerWorkbookPage.java:[line 146] SS_SHOULD_BE_STATIC [ERROR] Medium: org.eclipse.jdt.internal.ui.wizards.buildpaths.UserLibraryWizardPage.createPlaceholderProject() concatenates strings using + in a loop [org.eclipse.jdt.internal.ui.wizards.buildpaths.UserLibraryWizardPage] At UserLibraryWizardPage.java:[line 104] SBSC_USE_STRINGBUFFER_CONCATENATION [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.wizards.buildpaths.VariableBlock$VariablesAdapter.customButtonPressed(ListDialogField, int) where default case is missing [org.eclipse.jdt.internal.ui.wizards.buildpaths.VariableBlock$VariablesAdapter] At VariableBlock.java:[lines 162-168] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries$OutputFolderValidator.fElements [org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries$OutputFolderValidator] At ClasspathModifierQueries.java:[line 76] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Switch statement found in org.eclipse.jdt.internal.ui.wizards.dialogfields.TextBoxDialogField.lambda$0(TraverseEvent) where default case is missing [org.eclipse.jdt.internal.ui.wizards.dialogfields.TextBoxDialogField] At TextBoxDialogField.java:[lines 34-44] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Exception is caught when Exception is not thrown in org.eclipse.jdt.internal.ui.wizards.importer.ProjectWithJavaResourcesImportConfigurator.configure(IProject, Set, IProgressMonitor) [org.eclipse.jdt.internal.ui.wizards.importer.ProjectWithJavaResourcesImportConfigurator] At ProjectWithJavaResourcesImportConfigurator.java:[line 138] REC_CATCH_EXCEPTION [ERROR] Medium: Using .equals to compare two org.eclipse.core.runtime.IAdaptable[]'s, (equivalent to ==) in org.eclipse.jdt.internal.ui.workingsets.DynamicSourcesWorkingSetUpdater.collectData(IProgressMonitor) [org.eclipse.jdt.internal.ui.workingsets.DynamicSourcesWorkingSetUpdater, org.eclipse.jdt.internal.ui.workingsets.DynamicSourcesWorkingSetUpdater] At DynamicSourcesWorkingSetUpdater.java:[line 282]Another occurrence at DynamicSourcesWorkingSetUpdater.java:[line 285] EC_BAD_ARRAY_COMPARE [ERROR] Medium: Using .equals to compare two org.eclipse.core.runtime.IAdaptable[]'s, (equivalent to ==) in org.eclipse.jdt.internal.ui.workingsets.DynamicSourcesWorkingSetUpdater.restore(IWorkingSet) [org.eclipse.jdt.internal.ui.workingsets.DynamicSourcesWorkingSetUpdater] At DynamicSourcesWorkingSetUpdater.java:[line 303] EC_BAD_ARRAY_COMPARE [ERROR] Medium: Using .equals to compare two org.eclipse.core.runtime.IAdaptable[]'s, (equivalent to ==) in org.eclipse.jdt.internal.ui.workingsets.WorkingSetConfigurationDialog.restoreChangedWorkingSets() [org.eclipse.jdt.internal.ui.workingsets.WorkingSetConfigurationDialog] At WorkingSetConfigurationDialog.java:[line 486] EC_BAD_ARRAY_COMPARE [ERROR] Medium: org.eclipse.jdt.internal.ui.workingsets.WorkingSetConfigurationDialog.restoreChangedWorkingSets() makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.internal.ui.workingsets.WorkingSetConfigurationDialog] At WorkingSetConfigurationDialog.java:[line 481] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: org.eclipse.jdt.ui.JavaElementImageDescriptor.equals(Object) fails for subtypes [org.eclipse.jdt.ui.JavaElementImageDescriptor] At JavaElementImageDescriptor.java:[line 213] EQ_GETCLASS_AND_CLASS_CONSTANT [ERROR] Medium: org.eclipse.jdt.ui.JavadocContentAccess.containsOnlyInheritDoc(Reader, int) ignores result of java.io.Reader.read(char[], int, int) [org.eclipse.jdt.ui.JavadocContentAccess] At JavadocContentAccess.java:[line 112] RR_NOT_CHECKED [ERROR] Medium: Switch statement found in org.eclipse.jdt.ui.ProblemsLabelDecorator.computeAdornmentFlags(Object) where default case is missing [org.eclipse.jdt.ui.ProblemsLabelDecorator] At ProblemsLabelDecorator.java:[lines 196-206] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Possible null pointer dereference of selection in org.eclipse.jdt.ui.actions.AddGetterSetterAction$AddGetterSetterSelectionStatusValidator.validate(Object[]) [org.eclipse.jdt.ui.actions.AddGetterSetterAction$AddGetterSetterSelectionStatusValidator, org.eclipse.jdt.ui.actions.AddGetterSetterAction$AddGetterSetterSelectionStatusValidator] Dereferenced at AddGetterSetterAction.java:[line 361]Known null at AddGetterSetterAction.java:[line 355] NP_NULL_ON_SOME_PATH [ERROR] Medium: Switch statement found in org.eclipse.jdt.ui.actions.AddGetterSetterAction$GetterSetterTreeSelectionDialog.buttonPressed(int) where default case is missing [org.eclipse.jdt.ui.actions.AddGetterSetterAction$GetterSetterTreeSelectionDialog] At AddGetterSetterAction.java:[lines 1003-1011] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Unread field: org.eclipse.jdt.ui.actions.AddGetterSetterAction$GetterSetterTreeSelectionDialog.ALLOW_SETTERS_FOR_FINALS; should this field be static? [org.eclipse.jdt.ui.actions.AddGetterSetterAction$GetterSetterTreeSelectionDialog] At AddGetterSetterAction.java:[line 890] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.ui.actions.AddGetterSetterAction$GetterSetterTreeSelectionDialog.SETTINGS_SECTION; should this field be static? [org.eclipse.jdt.ui.actions.AddGetterSetterAction$GetterSetterTreeSelectionDialog] At AddGetterSetterAction.java:[line 888] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.ui.actions.AddGetterSetterAction$GetterSetterTreeSelectionDialog.SORT_ORDER; should this field be static? [org.eclipse.jdt.ui.actions.AddGetterSetterAction$GetterSetterTreeSelectionDialog] At AddGetterSetterAction.java:[line 889] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.ui.actions.AddUnimplementedConstructorsAction$AddUnimplementedConstructorsDialog.OMIT_SUPER; should this field be static? [org.eclipse.jdt.ui.actions.AddUnimplementedConstructorsAction$AddUnimplementedConstructorsDialog] At AddUnimplementedConstructorsAction.java:[line 200] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.ui.actions.AddUnimplementedConstructorsAction$AddUnimplementedConstructorsDialog.SETTINGS_SECTION; should this field be static? [org.eclipse.jdt.ui.actions.AddUnimplementedConstructorsAction$AddUnimplementedConstructorsDialog] At AddUnimplementedConstructorsAction.java:[line 202] SS_SHOULD_BE_STATIC [ERROR] Medium: Nullcheck of editor at line 131 of value previously dereferenced in new org.eclipse.jdt.ui.actions.ExternalizeStringsAction(CompilationUnitEditor) [org.eclipse.jdt.ui.actions.ExternalizeStringsAction, org.eclipse.jdt.ui.actions.ExternalizeStringsAction] At ExternalizeStringsAction.java:[line 131]Redundant null check at ExternalizeStringsAction.java:[line 133] RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE [ERROR] Medium: Nullcheck of editor at line 113 of value previously dereferenced in new org.eclipse.jdt.ui.actions.GenerateHashCodeEqualsAction(CompilationUnitEditor) [org.eclipse.jdt.ui.actions.GenerateHashCodeEqualsAction, org.eclipse.jdt.ui.actions.GenerateHashCodeEqualsAction] At GenerateHashCodeEqualsAction.java:[line 113]Redundant null check at GenerateHashCodeEqualsAction.java:[line 115] RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE [ERROR] Medium: Nullcheck of editor at line 136 of value previously dereferenced in new org.eclipse.jdt.ui.actions.GenerateToStringAction(CompilationUnitEditor) [org.eclipse.jdt.ui.actions.GenerateToStringAction, org.eclipse.jdt.ui.actions.GenerateToStringAction] At GenerateToStringAction.java:[line 136]Redundant null check at GenerateToStringAction.java:[line 138] RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE [ERROR] Medium: Unwritten field: org.eclipse.jdt.ui.actions.OpenAttachedJavadocAction.fShell [org.eclipse.jdt.ui.actions.OpenAttachedJavadocAction] At OpenAttachedJavadocAction.java:[line 237] UWF_UNWRITTEN_FIELD [ERROR] Medium: Switch statement found in org.eclipse.jdt.ui.actions.OpenTypeHierarchyAction.compileCandidates(List, List) where one case falls through to the next case [org.eclipse.jdt.ui.actions.OpenTypeHierarchyAction] At OpenTypeHierarchyAction.java:[lines 280-284] SF_SWITCH_FALLTHROUGH [ERROR] Medium: Dead store to context in org.eclipse.jdt.ui.actions.OrganizeImportsAction.run(ICompilationUnit) [org.eclipse.jdt.ui.actions.OrganizeImportsAction] At OrganizeImportsAction.java:[line 289] DLS_DEAD_LOCAL_STORE [ERROR] Medium: org.eclipse.jdt.ui.actions.OrganizeImportsAction$OrganizeImportComparator implements Comparator but not Serializable [org.eclipse.jdt.ui.actions.OrganizeImportsAction$OrganizeImportComparator] At OrganizeImportsAction.java:[lines 1-144] SE_COMPARATOR_SHOULD_BE_SERIALIZABLE [ERROR] Medium: Redundant nullcheck of refactoring, which is known to be non-null in org.eclipse.jdt.ui.actions.SurroundWithTryWithResourcesAction.run(ITextSelection) [org.eclipse.jdt.ui.actions.SurroundWithTryWithResourcesAction] Redundant null check at SurroundWithTryWithResourcesAction.java:[line 100] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Exceptional return value of java.io.File.delete() ignored in org.eclipse.jdt.ui.jarpackager.JarWriter3.addHistory(JarPackageData, IPath, IProgressMonitor) [org.eclipse.jdt.ui.jarpackager.JarWriter3] At JarWriter3.java:[line 345] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Increment of volatile field org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider.fUpdatingCount in org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider.initialize() [org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider] At DefaultJavaFoldingStructureProvider.java:[line 841] VO_VOLATILE_INCREMENT [ERROR] Medium: Increment of volatile field org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider.fUpdatingCount in org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider.initialize() [org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider] At DefaultJavaFoldingStructureProvider.java:[line 845] VO_VOLATILE_INCREMENT [ERROR] Medium: org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider.update(DefaultJavaFoldingStructureProvider$FoldingStructureComputationContext) makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider] At DefaultJavaFoldingStructureProvider.java:[line 905] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: Increment of volatile field org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider.fUpdatingCount in org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider$ElementChangedListener.elementChanged(ElementChangedEvent) [org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider$ElementChangedListener] At DefaultJavaFoldingStructureProvider.java:[line 366] VO_VOLATILE_INCREMENT [ERROR] Medium: Increment of volatile field org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider.fUpdatingCount in org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider$ElementChangedListener.elementChanged(ElementChangedEvent) [org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider$ElementChangedListener] At DefaultJavaFoldingStructureProvider.java:[line 370] VO_VOLATILE_INCREMENT [ERROR] Medium: org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider$JavaElementPosition doesn't override org.eclipse.jface.text.Position.equals(Object) [org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider$JavaElementPosition] At DefaultJavaFoldingStructureProvider.java:[line 1] EQ_DOESNT_OVERRIDE_EQUALS [ERROR] Medium: org.eclipse.jdt.ui.text.java.CompletionProposalComparator implements Comparator but not Serializable [org.eclipse.jdt.ui.text.java.CompletionProposalComparator] At CompletionProposalComparator.java:[lines 1-91] SE_COMPARATOR_SHOULD_BE_SERIALIZABLE [ERROR] Medium: org.eclipse.jdt.ui.text.java.JavaContentAssistInvocationContext doesn't override ContentAssistInvocationContext.equals(Object) [org.eclipse.jdt.ui.text.java.JavaContentAssistInvocationContext] At JavaContentAssistInvocationContext.java:[line 1] EQ_DOESNT_OVERRIDE_EQUALS [ERROR] Medium: Nullcheck of NewJavaProjectWizardPageOne$JREGroup.fGroup at line 637 of value previously dereferenced in org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne$JREGroup.updateEnableState() [org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne$JREGroup, org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne$JREGroup] At NewJavaProjectWizardPageOne.java:[line 625]Redundant null check at NewJavaProjectWizardPageOne.java:[line 637] RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE [ERROR] Medium: Return value of org.eclipse.jdt.internal.ui.wizards.dialogfields.SelectionButtonDialogField.isSelected() ignored, but method has no side effect [org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne$JREGroup] At NewJavaProjectWizardPageOne.java:[line 736] RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT [ERROR] Medium: Unread field: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne$JREGroup.LAST_SELECTED_EE_SETTINGS_KEY; should this field be static? [org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne$JREGroup] At NewJavaProjectWizardPageOne.java:[line 388] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne$JREGroup.LAST_SELECTED_JRE_KIND2; should this field be static? [org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne$JREGroup] At NewJavaProjectWizardPageOne.java:[line 391] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne$JREGroup.LAST_SELECTED_JRE_SETTINGS_KEY; should this field be static? [org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne$JREGroup] At NewJavaProjectWizardPageOne.java:[line 389] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne$LocationGroup.DIALOGSTORE_LAST_EXTERNAL_LOC; should this field be static? [org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne$LocationGroup] At NewJavaProjectWizardPageOne.java:[line 183] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne$ModuleGroup.LAST_SELECTED_CREATE_MODULEINFO_SETTINGS_KEY; should this field be static? [org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne$ModuleGroup] At NewJavaProjectWizardPageOne.java:[line 806] SS_SHOULD_BE_STATIC [ERROR] Medium: Switch statement found in org.eclipse.jdt.ui.wizards.NewTypeWizardPage.constructTypeStub(ICompilationUnit, NewTypeWizardPage$ImportsManager, String) where default case is missing [org.eclipse.jdt.ui.wizards.NewTypeWizardPage] At NewTypeWizardPage.java:[lines 2552-2571] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Unread field: org.eclipse.jdt.ui.wizards.NewTypeWizardPage.ABSTRACT_INDEX; should this field be static? [org.eclipse.jdt.ui.wizards.NewTypeWizardPage] At NewTypeWizardPage.java:[line 418] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.ui.wizards.NewTypeWizardPage.DEFAULT_INDEX; should this field be static? [org.eclipse.jdt.ui.wizards.NewTypeWizardPage] At NewTypeWizardPage.java:[line 417] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.ui.wizards.NewTypeWizardPage.ENUM_ANNOT_STATIC_INDEX; should this field be static? [org.eclipse.jdt.ui.wizards.NewTypeWizardPage] At NewTypeWizardPage.java:[line 418] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.ui.wizards.NewTypeWizardPage.FINAL_INDEX; should this field be static? [org.eclipse.jdt.ui.wizards.NewTypeWizardPage] At NewTypeWizardPage.java:[line 418] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.ui.wizards.NewTypeWizardPage.PRIVATE_INDEX; should this field be static? [org.eclipse.jdt.ui.wizards.NewTypeWizardPage] At NewTypeWizardPage.java:[line 417] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.ui.wizards.NewTypeWizardPage.PROTECTED_INDEX; should this field be static? [org.eclipse.jdt.ui.wizards.NewTypeWizardPage] At NewTypeWizardPage.java:[line 417] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.ui.wizards.NewTypeWizardPage.PUBLIC_INDEX; should this field be static? [org.eclipse.jdt.ui.wizards.NewTypeWizardPage] At NewTypeWizardPage.java:[line 417] SS_SHOULD_BE_STATIC [ERROR] Medium: Unread field: org.eclipse.jdt.ui.wizards.NewTypeWizardPage.STATIC_INDEX; should this field be static? [org.eclipse.jdt.ui.wizards.NewTypeWizardPage] At NewTypeWizardPage.java:[line 418] SS_SHOULD_BE_STATIC [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ org.eclipse.jdt.ui --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui/src/test/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:testCompile (default-testCompile) @ org.eclipse.jdt.ui --- [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ org.eclipse.jdt.ui --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.jdt.ui --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui/target/org.eclipse.jdt.ui-3.24.0-SNAPSHOT-sources.jar [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:package-plugin (default-package-plugin) @ org.eclipse.jdt.ui --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui/target/org.eclipse.jdt.ui-3.24.0-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.jdt.ui --- [INFO] No baseline version MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui:3.24.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui/pom.xml [INFO] [INFO] --- tycho-surefire-plugin:2.4.0:integration-test (default-integration-test) @ org.eclipse.jdt.ui --- [INFO] Skipping tests [INFO] [INFO] --- maven-failsafe-plugin:2.22.2:verify (default-verify) @ org.eclipse.jdt.ui --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.jdt.ui --- [INFO] Skipped [INFO] [INFO] -----------< org.eclipse.jdt:org.eclipse.jdt.junit.runtime >------------ [INFO] Building org.eclipse.jdt.junit.runtime 3.6.100-SNAPSHOT [6/19] [INFO] ---------------------------[ eclipse-plugin ]--------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.jdt.junit.runtime --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) @ org.eclipse.jdt.junit.runtime --- [INFO] The project's OSGi version is 3.6.100.v20210708-1502 [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-id (default-validate-id) @ org.eclipse.jdt.junit.runtime --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-version (default-validate-version) @ org.eclipse.jdt.junit.runtime --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.jdt.junit.runtime --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.runtime/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.jdt.junit.runtime --- [INFO] [INFO] --- target-platform-configuration:2.4.0:target-platform (default-target-platform) @ org.eclipse.jdt.junit.runtime --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ org.eclipse.jdt.junit.runtime --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.runtime/src/main/resources [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.jdt.junit.runtime --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.runtime/src/main/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:compile (default-compile) @ org.eclipse.jdt.junit.runtime --- [INFO] Compiling 29 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.runtime/target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.jdt.junit.runtime >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.jdt.junit.runtime --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.jdt.junit.runtime <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.jdt.junit.runtime --- [INFO] BugInstance size is 7 [INFO] Error size is 0 [INFO] Total bugs: 7 [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.internal.junit.runner.AbstractTestLoader.fClassLoader [org.eclipse.jdt.internal.junit.runner.AbstractTestLoader] At AbstractTestLoader.java:[line 22] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.connect(): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.internal.junit.runner.RemoteTestRunner, org.eclipse.jdt.internal.junit.runner.RemoteTestRunner] At RemoteTestRunner.java:[line 639]Another occurrence at RemoteTestRunner.java:[line 658] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.connect(): new java.io.OutputStreamWriter(OutputStream) [org.eclipse.jdt.internal.junit.runner.RemoteTestRunner] At RemoteTestRunner.java:[line 653] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.connect(): new java.io.PrintWriter(OutputStream) [org.eclipse.jdt.internal.junit.runner.RemoteTestRunner] At RemoteTestRunner.java:[line 638] DM_DEFAULT_ENCODING [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.fStopped; locked 66% of time [org.eclipse.jdt.internal.junit.runner.RemoteTestRunner$ReaderThread, org.eclipse.jdt.internal.junit.runner.RemoteTestRunner, org.eclipse.jdt.internal.junit.runner.RemoteTestRunner] Unsynchronized access at RemoteTestRunner.java:[line 155]Synchronized access at RemoteTestRunner.java:[line 468]Synchronized access at RemoteTestRunner.java:[line 471] IS2_INCONSISTENT_SYNC [ERROR] Medium: Equals method for org.eclipse.jdt.internal.junit.runner.junit3.JUnit3Identifier assumes the argument is of type JUnit3Identifier [org.eclipse.jdt.internal.junit.runner.junit3.JUnit3Identifier] At JUnit3Identifier.java:[line 38] BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS [ERROR] Medium: org.eclipse.jdt.internal.junit.runner.junit3.JUnit3Identifier.equals(Object) does not check for null argument [org.eclipse.jdt.internal.junit.runner.junit3.JUnit3Identifier] At JUnit3Identifier.java:[lines 38-39] NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ org.eclipse.jdt.junit.runtime --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.runtime/src/test/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:testCompile (default-testCompile) @ org.eclipse.jdt.junit.runtime --- [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ org.eclipse.jdt.junit.runtime --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.jdt.junit.runtime --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.runtime/target/org.eclipse.jdt.junit.runtime-3.6.100-SNAPSHOT-sources.jar [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:package-plugin (default-package-plugin) @ org.eclipse.jdt.junit.runtime --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.runtime/target/org.eclipse.jdt.junit.runtime-3.6.100-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.jdt.junit.runtime --- [WARNING] MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit.runtime:3.6.100-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.runtime/pom.xml: baseline and build artifacts have same version but different contents no-classifier: different .api_description: present in baseline only [INFO] MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit.runtime:3.6.100-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.runtime/pom.xml The main artifact has been replaced with the baseline version. The following attached artifacts have been replaced with the baseline version: [sources] [INFO] [INFO] --- tycho-surefire-plugin:2.4.0:integration-test (default-integration-test) @ org.eclipse.jdt.junit.runtime --- [INFO] Skipping tests [INFO] [INFO] --- maven-failsafe-plugin:2.22.2:verify (default-verify) @ org.eclipse.jdt.junit.runtime --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.jdt.junit.runtime --- [INFO] Skipped [INFO] [INFO] -------------< org.eclipse.jdt:org.eclipse.jdt.junit.core >------------- [INFO] Building org.eclipse.jdt.junit.core 3.11.0-SNAPSHOT [7/19] [INFO] ---------------------------[ eclipse-plugin ]--------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.jdt.junit.core --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) @ org.eclipse.jdt.junit.core --- [INFO] The project's OSGi version is 3.11.0.v20210629-0111 [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-id (default-validate-id) @ org.eclipse.jdt.junit.core --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-version (default-validate-version) @ org.eclipse.jdt.junit.core --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.jdt.junit.core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.core/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.jdt.junit.core --- [INFO] [INFO] --- target-platform-configuration:2.4.0:target-platform (default-target-platform) @ org.eclipse.jdt.junit.core --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ org.eclipse.jdt.junit.core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.core/src/main/resources [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.jdt.junit.core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.core/src/main/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:compile (default-compile) @ org.eclipse.jdt.junit.core --- [INFO] Compiling 50 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.core/target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.jdt.junit.core >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.jdt.junit.core --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.jdt.junit.core <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.jdt.junit.core --- [INFO] BugInstance size is 24 [INFO] Error size is 0 [INFO] Total bugs: 24 [ERROR] Medium: Exceptional return value of java.io.File.mkdir() ignored in org.eclipse.jdt.internal.junit.JUnitCorePlugin.getHistoryDirectory() [org.eclipse.jdt.internal.junit.JUnitCorePlugin] At JUnitCorePlugin.java:[line 292] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Possible null pointer dereference in org.eclipse.jdt.internal.junit.buildpath.BuildPathSupport$JUnitPluginDescription.getLocationIfExists(IPath, String) due to return value of called method [org.eclipse.jdt.internal.junit.buildpath.BuildPathSupport$JUnitPluginDescription, org.eclipse.jdt.internal.junit.buildpath.BuildPathSupport$JUnitPluginDescription] Dereferenced at BuildPathSupport.java:[line 278]Known null at BuildPathSupport.java:[line 270] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: org.eclipse.jdt.internal.junit.launcher.ContainerComparator implements Comparator but not Serializable [org.eclipse.jdt.internal.junit.launcher.ContainerComparator] At ContainerComparator.java:[lines 1-26] SE_COMPARATOR_SHOULD_BE_SERIALIZABLE [ERROR] Medium: Exceptional return value of java.io.File.delete() ignored in org.eclipse.jdt.internal.junit.model.JUnitModel.stop() [org.eclipse.jdt.internal.junit.model.JUnitModel] At JUnitModel.java:[line 309] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient.fPushbackReader; locked 42% of time [org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient] Unsynchronized access at RemoteTestRunnerClient.java:[line 269]Unsynchronized access at RemoteTestRunnerClient.java:[line 272]Unsynchronized access at RemoteTestRunnerClient.java:[line 272]Synchronized access at RemoteTestRunnerClient.java:[line 323]Synchronized access at RemoteTestRunnerClient.java:[line 324]Synchronized access at RemoteTestRunnerClient.java:[line 325] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient.fServerSocket; locked 71% of time [org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient] Unsynchronized access at RemoteTestRunnerClient.java:[line 267]Unsynchronized access at RemoteTestRunnerClient.java:[line 268]Synchronized access at RemoteTestRunnerClient.java:[line 337]Synchronized access at RemoteTestRunnerClient.java:[line 338]Synchronized access at RemoteTestRunnerClient.java:[line 339]Synchronized access at RemoteTestRunnerClient.java:[line 309]Synchronized access at RemoteTestRunnerClient.java:[line 309] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient.fSocket; locked 44% of time [org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient] Unsynchronized access at RemoteTestRunnerClient.java:[line 268]Unsynchronized access at RemoteTestRunnerClient.java:[line 269]Unsynchronized access at RemoteTestRunnerClient.java:[line 270]Unsynchronized access at RemoteTestRunnerClient.java:[line 346]Synchronized access at RemoteTestRunnerClient.java:[line 330]Synchronized access at RemoteTestRunnerClient.java:[line 331]Synchronized access at RemoteTestRunnerClient.java:[line 332]Synchronized access at RemoteTestRunnerClient.java:[line 309] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient.fWriter; locked 62% of time [org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient, org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient] Unsynchronized access at RemoteTestRunnerClient.java:[line 270]Unsynchronized access at RemoteTestRunnerClient.java:[line 613]Unsynchronized access at RemoteTestRunnerClient.java:[line 614]Synchronized access at RemoteTestRunnerClient.java:[line 318]Synchronized access at RemoteTestRunnerClient.java:[line 319]Synchronized access at RemoteTestRunnerClient.java:[line 320]Synchronized access at RemoteTestRunnerClient.java:[line 303]Synchronized access at RemoteTestRunnerClient.java:[line 304] IS2_INCONSISTENT_SYNC [ERROR] Medium: Suspicious comparison of Boolean references in org.eclipse.jdt.internal.junit.model.TestRunHandler.handleTestElementEnd(TestElement) [org.eclipse.jdt.internal.junit.model.TestRunHandler] At TestRunHandler.java:[line 315] RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.junit.model.TestRunSession.fTestResult; locked 50% of time [org.eclipse.jdt.internal.junit.model.TestRunSession, org.eclipse.jdt.internal.junit.model.TestRunSession, org.eclipse.jdt.internal.junit.model.TestRunSession, org.eclipse.jdt.internal.junit.model.TestRunSession] Unsynchronized access at TestRunSession.java:[line 260]Unsynchronized access at TestRunSession.java:[line 240]Synchronized access at TestRunSession.java:[line 415]Synchronized access at TestRunSession.java:[line 374] IS2_INCONSISTENT_SYNC [ERROR] Medium: Exceptional return value of java.io.File.delete() ignored in org.eclipse.jdt.internal.junit.model.TestRunSession.removeSwapFile() [org.eclipse.jdt.internal.junit.model.TestRunSession] At TestRunSession.java:[line 395] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Increment of volatile field org.eclipse.jdt.internal.junit.model.TestRunSession.fAssumptionFailureCount in org.eclipse.jdt.internal.junit.model.TestRunSession.registerTestEnded(TestElement, boolean) [org.eclipse.jdt.internal.junit.model.TestRunSession] At TestRunSession.java:[line 841] VO_VOLATILE_INCREMENT [ERROR] Medium: Increment of volatile field org.eclipse.jdt.internal.junit.model.TestRunSession.fIgnoredCount in org.eclipse.jdt.internal.junit.model.TestRunSession.registerTestEnded(TestElement, boolean) [org.eclipse.jdt.internal.junit.model.TestRunSession] At TestRunSession.java:[line 834] VO_VOLATILE_INCREMENT [ERROR] Medium: Increment of volatile field org.eclipse.jdt.internal.junit.model.TestRunSession.fStartedCount in org.eclipse.jdt.internal.junit.model.TestRunSession.registerTestEnded(TestElement, boolean) [org.eclipse.jdt.internal.junit.model.TestRunSession] At TestRunSession.java:[line 832] VO_VOLATILE_INCREMENT [ERROR] Medium: Increment of volatile field org.eclipse.jdt.internal.junit.model.TestRunSession.fTotalCount in org.eclipse.jdt.internal.junit.model.TestRunSession.registerTestEnded(TestElement, boolean) [org.eclipse.jdt.internal.junit.model.TestRunSession] At TestRunSession.java:[line 828] VO_VOLATILE_INCREMENT [ERROR] Medium: Increment of volatile field org.eclipse.jdt.internal.junit.model.TestRunSession.fErrorCount in org.eclipse.jdt.internal.junit.model.TestRunSession.registerTestFailureStatus(TestElement, TestElement$Status, String, String, String) [org.eclipse.jdt.internal.junit.model.TestRunSession] At TestRunSession.java:[line 819] VO_VOLATILE_INCREMENT [ERROR] Medium: Increment of volatile field org.eclipse.jdt.internal.junit.model.TestRunSession.fFailureCount in org.eclipse.jdt.internal.junit.model.TestRunSession.registerTestFailureStatus(TestElement, TestElement$Status, String, String, String) [org.eclipse.jdt.internal.junit.model.TestRunSession] At TestRunSession.java:[line 821] VO_VOLATILE_INCREMENT [ERROR] Medium: Increment of volatile field org.eclipse.jdt.internal.junit.model.TestRunSession.fErrorCount in org.eclipse.jdt.internal.junit.model.TestRunSession.rerunTest(String, String, String) [org.eclipse.jdt.internal.junit.model.TestRunSession] At TestRunSession.java:[line 466] VO_VOLATILE_INCREMENT [ERROR] Medium: Increment of volatile field org.eclipse.jdt.internal.junit.model.TestRunSession.fFailureCount in org.eclipse.jdt.internal.junit.model.TestRunSession.rerunTest(String, String, String) [org.eclipse.jdt.internal.junit.model.TestRunSession] At TestRunSession.java:[line 468] VO_VOLATILE_INCREMENT [ERROR] Medium: Increment of volatile field org.eclipse.jdt.internal.junit.model.TestRunSession.fAssumptionFailureCount in org.eclipse.jdt.internal.junit.model.TestRunSession$TestSessionNotifier.testEnded(String, String) [org.eclipse.jdt.internal.junit.model.TestRunSession$TestSessionNotifier] At TestRunSession.java:[line 735] VO_VOLATILE_INCREMENT [ERROR] Medium: Increment of volatile field org.eclipse.jdt.internal.junit.model.TestRunSession.fIgnoredCount in org.eclipse.jdt.internal.junit.model.TestRunSession$TestSessionNotifier.testEnded(String, String) [org.eclipse.jdt.internal.junit.model.TestRunSession$TestSessionNotifier] At TestRunSession.java:[line 745] VO_VOLATILE_INCREMENT [ERROR] Medium: Increment of volatile field org.eclipse.jdt.internal.junit.model.TestRunSession.fAssumptionFailureCount in org.eclipse.jdt.internal.junit.model.TestRunSession$TestSessionNotifier.testFailed(int, String, String, String, String, String) [org.eclipse.jdt.internal.junit.model.TestRunSession$TestSessionNotifier] At TestRunSession.java:[line 767] VO_VOLATILE_INCREMENT [ERROR] Medium: Increment of volatile field org.eclipse.jdt.internal.junit.model.TestRunSession.fStartedCount in org.eclipse.jdt.internal.junit.model.TestRunSession$TestSessionNotifier.testStarted(String, String) [org.eclipse.jdt.internal.junit.model.TestRunSession$TestSessionNotifier] At TestRunSession.java:[line 718] VO_VOLATILE_INCREMENT [ERROR] Medium: Increment of volatile field org.eclipse.jdt.internal.junit.model.TestRunSession.fTotalCount in org.eclipse.jdt.internal.junit.model.TestRunSession$TestSessionNotifier.testStarted(String, String) [org.eclipse.jdt.internal.junit.model.TestRunSession$TestSessionNotifier] At TestRunSession.java:[line 715] VO_VOLATILE_INCREMENT [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ org.eclipse.jdt.junit.core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.core/src/test/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:testCompile (default-testCompile) @ org.eclipse.jdt.junit.core --- [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ org.eclipse.jdt.junit.core --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.jdt.junit.core --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.core/target/org.eclipse.jdt.junit.core-3.11.0-SNAPSHOT-sources.jar [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:package-plugin (default-package-plugin) @ org.eclipse.jdt.junit.core --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.core/target/org.eclipse.jdt.junit.core-3.11.0-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.jdt.junit.core --- [WARNING] MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit.core:3.11.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.core/pom.xml: baseline and build artifacts have same version but different contents no-classifier: different .api_description: present in baseline only [INFO] MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit.core:3.11.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.core/pom.xml The main artifact has been replaced with the baseline version. The following attached artifacts have been replaced with the baseline version: [sources] [INFO] [INFO] --- tycho-surefire-plugin:2.4.0:integration-test (default-integration-test) @ org.eclipse.jdt.junit.core --- [INFO] Skipping tests [INFO] [INFO] --- maven-failsafe-plugin:2.22.2:verify (default-verify) @ org.eclipse.jdt.junit.core --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.jdt.junit.core --- [INFO] Skipped [INFO] [INFO] ---------------< org.eclipse.jdt:org.eclipse.jdt.junit >---------------- [INFO] Building org.eclipse.jdt.junit 3.13.0-SNAPSHOT [8/19] [INFO] ---------------------------[ eclipse-plugin ]--------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.jdt.junit --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) @ org.eclipse.jdt.junit --- [INFO] The project's OSGi version is 3.13.0.v20210629-0611 [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-id (default-validate-id) @ org.eclipse.jdt.junit --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-version (default-validate-version) @ org.eclipse.jdt.junit --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.jdt.junit --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.jdt.junit --- [INFO] [INFO] --- target-platform-configuration:2.4.0:target-platform (default-target-platform) @ org.eclipse.jdt.junit --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ org.eclipse.jdt.junit --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit/src/main/resources [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.jdt.junit --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit/src/main/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:compile (default-compile) @ org.eclipse.jdt.junit --- [INFO] Compiling 72 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit/target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.jdt.junit >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.jdt.junit --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.jdt.junit <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.jdt.junit --- [INFO] BugInstance size is 11 [INFO] Error size is 0 [INFO] Total bugs: 11 [ERROR] Medium: org.eclipse.jdt.internal.junit.buildpath.JUnitContainerWizardPage.getPlaceholderProject() concatenates strings using + in a loop [org.eclipse.jdt.internal.junit.buildpath.JUnitContainerWizardPage] At JUnitContainerWizardPage.java:[line 81] SBSC_USE_STRINGBUFFER_CONCATENATION [ERROR] Medium: Comparison of String objects using == or != in org.eclipse.jdt.internal.junit.ui.FailureTrace.showFailure(TestElement) [org.eclipse.jdt.internal.junit.ui.FailureTrace] At FailureTrace.java:[line 201] ES_COMPARING_STRINGS_WITH_EQ [ERROR] Medium: Dead store to testRunner in org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.showTestResultsView() [org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart] At TestRunnerViewPart.java:[line 1814] DLS_DEAD_LOCAL_STORE [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.junit.ui.TestViewer.fAutoExpand; locked 75% of time [org.eclipse.jdt.internal.junit.ui.TestViewer, org.eclipse.jdt.internal.junit.ui.TestViewer, org.eclipse.jdt.internal.junit.ui.TestViewer, org.eclipse.jdt.internal.junit.ui.TestViewer] Unsynchronized access at TestViewer.java:[line 923]Synchronized access at TestViewer.java:[line 792]Synchronized access at TestViewer.java:[line 950]Synchronized access at TestViewer.java:[line 940] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.internal.junit.ui.TestViewer.fNeedUpdate; locked 75% of time [org.eclipse.jdt.internal.junit.ui.TestViewer, org.eclipse.jdt.internal.junit.ui.TestViewer, org.eclipse.jdt.internal.junit.ui.TestViewer, org.eclipse.jdt.internal.junit.ui.TestViewer] Unsynchronized access at TestViewer.java:[line 921]Synchronized access at TestViewer.java:[line 936]Synchronized access at TestViewer.java:[line 693]Synchronized access at TestViewer.java:[line 694] IS2_INCONSISTENT_SYNC [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.internal.junit.util.JUnitStubUtility$GenStubSettings.useKeywordThis [org.eclipse.jdt.internal.junit.util.JUnitStubUtility$GenStubSettings] At JUnitStubUtility.java:[line 76] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: org.eclipse.jdt.internal.junit.util.Resources.makeCommittable(IResource[], Object) makes inefficient use of keySet iterator instead of entrySet iterator [org.eclipse.jdt.internal.junit.util.Resources] At Resources.java:[line 122] WMI_WRONG_MAP_ITERATOR [ERROR] Medium: Dead store to types in org.eclipse.jdt.junit.launcher.JUnitLaunchConfigurationTab.handleSearchButtonSelected() [org.eclipse.jdt.junit.launcher.JUnitLaunchConfigurationTab] At JUnitLaunchConfigurationTab.java:[line 595] DLS_DEAD_LOCAL_STORE [ERROR] Medium: Switch statement found in org.eclipse.jdt.junit.launcher.JUnitLaunchShortcut.findExistingLaunchConfigurations(Object) where default case is missing [org.eclipse.jdt.junit.launcher.JUnitLaunchShortcut] At JUnitLaunchShortcut.java:[lines 571-584] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.junit.launcher.JUnitLaunchShortcut.launch(Object[], String) where default case is missing [org.eclipse.jdt.junit.launcher.JUnitLaunchShortcut] At JUnitLaunchShortcut.java:[lines 178-191] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Useless object stored in variable input of method org.eclipse.jdt.junit.wizards.NewTestCaseWizardPageOne.performBuildpathConfiguration(Object) [org.eclipse.jdt.junit.wizards.NewTestCaseWizardPageOne] At NewTestCaseWizardPageOne.java:[line 699] UC_USELESS_OBJECT [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ org.eclipse.jdt.junit --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit/src/test/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:testCompile (default-testCompile) @ org.eclipse.jdt.junit --- [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ org.eclipse.jdt.junit --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.jdt.junit --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit/target/org.eclipse.jdt.junit-3.13.0-SNAPSHOT-sources.jar [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:package-plugin (default-package-plugin) @ org.eclipse.jdt.junit --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit/target/org.eclipse.jdt.junit-3.13.0-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.jdt.junit --- [WARNING] MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit:3.13.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit/pom.xml: baseline and build artifacts have same version but different contents no-classifier: different .api_description: present in baseline only [INFO] MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit:3.13.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit/pom.xml The main artifact has been replaced with the baseline version. The following attached artifacts have been replaced with the baseline version: [sources] [INFO] [INFO] --- tycho-surefire-plugin:2.4.0:integration-test (default-integration-test) @ org.eclipse.jdt.junit --- [INFO] Skipping tests [INFO] [INFO] --- maven-failsafe-plugin:2.22.2:verify (default-verify) @ org.eclipse.jdt.junit --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.jdt.junit --- [INFO] Skipped [INFO] [INFO] -----------< org.eclipse.jdt:org.eclipse.jdt.junit4.runtime >----------- [INFO] Building org.eclipse.jdt.junit4.runtime 1.2.0-SNAPSHOT [9/19] [INFO] ---------------------------[ eclipse-plugin ]--------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.jdt.junit4.runtime --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) @ org.eclipse.jdt.junit4.runtime --- [INFO] The project's OSGi version is 1.2.0.v20210326-1251 [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-id (default-validate-id) @ org.eclipse.jdt.junit4.runtime --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-version (default-validate-version) @ org.eclipse.jdt.junit4.runtime --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.jdt.junit4.runtime --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit4.runtime/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.jdt.junit4.runtime --- [INFO] [INFO] --- target-platform-configuration:2.4.0:target-platform (default-target-platform) @ org.eclipse.jdt.junit4.runtime --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ org.eclipse.jdt.junit4.runtime --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit4.runtime/src/main/resources [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.jdt.junit4.runtime --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit4.runtime/src/main/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:compile (default-compile) @ org.eclipse.jdt.junit4.runtime --- [INFO] Compiling 7 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit4.runtime/target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.jdt.junit4.runtime >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.jdt.junit4.runtime --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.jdt.junit4.runtime <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.jdt.junit4.runtime --- [INFO] BugInstance size is 1 [INFO] Error size is 0 [INFO] Total bugs: 1 [ERROR] Medium: org.eclipse.jdt.internal.junit4.runner.FailuresFirstSorter implements Comparator but not Serializable [org.eclipse.jdt.internal.junit4.runner.FailuresFirstSorter] At FailuresFirstSorter.java:[lines 1-76] SE_COMPARATOR_SHOULD_BE_SERIALIZABLE [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ org.eclipse.jdt.junit4.runtime --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit4.runtime/src/test/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:testCompile (default-testCompile) @ org.eclipse.jdt.junit4.runtime --- [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ org.eclipse.jdt.junit4.runtime --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.jdt.junit4.runtime --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit4.runtime/target/org.eclipse.jdt.junit4.runtime-1.2.0-SNAPSHOT-sources.jar [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:package-plugin (default-package-plugin) @ org.eclipse.jdt.junit4.runtime --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit4.runtime/target/org.eclipse.jdt.junit4.runtime-1.2.0-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.jdt.junit4.runtime --- [WARNING] MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit4.runtime:1.2.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit4.runtime/pom.xml: baseline and build artifacts have same version but different contents no-classifier: different .api_description: present in baseline only [INFO] MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit4.runtime:1.2.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit4.runtime/pom.xml The main artifact has been replaced with the baseline version. The following attached artifacts have been replaced with the baseline version: [sources] [INFO] [INFO] --- tycho-surefire-plugin:2.4.0:integration-test (default-integration-test) @ org.eclipse.jdt.junit4.runtime --- [INFO] Skipping tests [INFO] [INFO] --- maven-failsafe-plugin:2.22.2:verify (default-verify) @ org.eclipse.jdt.junit4.runtime --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.jdt.junit4.runtime --- [INFO] Skipped [INFO] [INFO] -----------< org.eclipse.jdt:org.eclipse.jdt.junit5.runtime >----------- [INFO] Building org.eclipse.jdt.junit5.runtime 1.0.1300-SNAPSHOT [10/19] [INFO] ---------------------------[ eclipse-plugin ]--------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.jdt.junit5.runtime --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) @ org.eclipse.jdt.junit5.runtime --- [INFO] The project's OSGi version is 1.0.1300.v20210320-1132 [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-id (default-validate-id) @ org.eclipse.jdt.junit5.runtime --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-version (default-validate-version) @ org.eclipse.jdt.junit5.runtime --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.jdt.junit5.runtime --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit5.runtime/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.jdt.junit5.runtime --- [INFO] [INFO] --- target-platform-configuration:2.4.0:target-platform (default-target-platform) @ org.eclipse.jdt.junit5.runtime --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ org.eclipse.jdt.junit5.runtime --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit5.runtime/src/main/resources [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.jdt.junit5.runtime --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit5.runtime/src/main/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:compile (default-compile) @ org.eclipse.jdt.junit5.runtime --- [INFO] Compiling 4 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit5.runtime/target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.jdt.junit5.runtime >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.jdt.junit5.runtime --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.jdt.junit5.runtime <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.jdt.junit5.runtime --- [INFO] BugInstance size is 0 [INFO] Error size is 0 [INFO] No errors/warnings found [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ org.eclipse.jdt.junit5.runtime --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit5.runtime/src/test/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:testCompile (default-testCompile) @ org.eclipse.jdt.junit5.runtime --- [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ org.eclipse.jdt.junit5.runtime --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.jdt.junit5.runtime --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit5.runtime/target/org.eclipse.jdt.junit5.runtime-1.0.1300-SNAPSHOT-sources.jar [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:package-plugin (default-package-plugin) @ org.eclipse.jdt.junit5.runtime --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit5.runtime/target/org.eclipse.jdt.junit5.runtime-1.0.1300-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.jdt.junit5.runtime --- [WARNING] MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit5.runtime:1.0.1300-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit5.runtime/pom.xml: baseline and build artifacts have same version but different contents no-classifier: different .api_description: present in baseline only [INFO] MavenProject: org.eclipse.jdt:org.eclipse.jdt.junit5.runtime:1.0.1300-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit5.runtime/pom.xml The main artifact has been replaced with the baseline version. The following attached artifacts have been replaced with the baseline version: [sources] [INFO] [INFO] --- tycho-surefire-plugin:2.4.0:integration-test (default-integration-test) @ org.eclipse.jdt.junit5.runtime --- [INFO] Skipping tests [INFO] [INFO] --- maven-failsafe-plugin:2.22.2:verify (default-verify) @ org.eclipse.jdt.junit5.runtime --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.jdt.junit5.runtime --- [INFO] Skipped [INFO] [INFO] --------------< org.eclipse.jdt:org.eclipse.jdt.ui.tests >-------------- [INFO] Building org.eclipse.jdt.ui.tests 3.14.0-SNAPSHOT [11/19] [INFO] ------------------------[ eclipse-test-plugin ]------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.jdt.ui.tests --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) @ org.eclipse.jdt.ui.tests --- [INFO] The project's OSGi version is 3.14.0.v20210730-0257 [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-id (default-validate-id) @ org.eclipse.jdt.ui.tests --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-version (default-validate-version) @ org.eclipse.jdt.ui.tests --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.jdt.ui.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.jdt.ui.tests --- [INFO] [INFO] --- target-platform-configuration:2.4.0:target-platform (default-target-platform) @ org.eclipse.jdt.ui.tests --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ org.eclipse.jdt.ui.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests/src/main/resources [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.jdt.ui.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests/src/main/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:compile (default-compile) @ org.eclipse.jdt.ui.tests --- [INFO] Compiling 310 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests/target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.jdt.ui.tests >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.jdt.ui.tests --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.jdt.ui.tests <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.jdt.ui.tests --- [INFO] BugInstance size is 106 [INFO] Error size is 0 [INFO] Total bugs: 106 [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.junit.tests.AbstractTestRunSessionSerializationTests.getContents(InputStream): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.junit.tests.AbstractTestRunSessionSerializationTests] At AbstractTestRunSessionSerializationTests.java:[line 235] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.junit.tests.AbstractTestRunSessionSerializationTests.runExportImport(IJavaElement, String): String.getBytes() [org.eclipse.jdt.junit.tests.AbstractTestRunSessionSerializationTests] At AbstractTestRunSessionSerializationTests.java:[line 114] DM_DEFAULT_ENCODING [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.junit.tests.TestRunSessionSerializationTests3.jwts [org.eclipse.jdt.junit.tests.TestRunSessionSerializationTests3] At TestRunSessionSerializationTests3.java:[line 33] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.junit.tests.TestRunSessionSerializationTests4.jwts [org.eclipse.jdt.junit.tests.TestRunSessionSerializationTests4] At TestRunSessionSerializationTests4.java:[line 40] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.junit.tests.WrappingSystemTest.fLaunchHasTerminated; locked 50% of time [org.eclipse.jdt.junit.tests.WrappingSystemTest, org.eclipse.jdt.junit.tests.WrappingSystemTest] Unsynchronized access at WrappingSystemTest.java:[line 88]Synchronized access at WrappingSystemTest.java:[line 152] IS2_INCONSISTENT_SYNC [ERROR] Medium: Possible null pointer dereference in org.eclipse.jdt.testplugin.JavaProjectHelper.importResources(IContainer, Bundle, String) due to return value of called method [org.eclipse.jdt.testplugin.JavaProjectHelper, org.eclipse.jdt.testplugin.JavaProjectHelper] Dereferenced at JavaProjectHelper.java:[line 1154]Known null at JavaProjectHelper.java:[line 1153] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: Possible null pointer dereference in org.eclipse.jdt.testplugin.JavaProjectHelper.importResources(IContainer, Bundle, String) due to return value of called method [org.eclipse.jdt.testplugin.JavaProjectHelper, org.eclipse.jdt.testplugin.JavaProjectHelper] Dereferenced at JavaProjectHelper.java:[line 1164]Known null at JavaProjectHelper.java:[line 1162] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] High: Comparison of String parameter using == or != in org.eclipse.jdt.testplugin.StringAsserts.assertEqualString(String, String) [org.eclipse.jdt.testplugin.StringAsserts] At StringAsserts.java:[line 53] ES_COMPARING_PARAMETER_STRING_WITH_EQ [ERROR] Medium: Unread field: org.eclipse.jdt.testplugin.TestFormatterOptions.filling_space; should this field be static? [org.eclipse.jdt.testplugin.TestFormatterOptions] At TestOptions.java:[line 262] SS_SHOULD_BE_STATIC [ERROR] Medium: Unused public or protected field: org.eclipse.jdt.testplugin.TestFormatterOptions.initial_indentation_level [org.eclipse.jdt.testplugin.TestFormatterOptions] In TestOptions.java UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unused public or protected field: org.eclipse.jdt.testplugin.TestFormatterOptions.line_separator [org.eclipse.jdt.testplugin.TestFormatterOptions] In TestOptions.java UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Switch statement found in org.eclipse.jdt.testplugin.util.DisplayWaiter.restart(long) where default case is missing [org.eclipse.jdt.testplugin.util.DisplayWaiter] At DisplayHelper.java:[lines 336-341] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.testplugin.util.DisplayWaiter.start(long) where default case is missing [org.eclipse.jdt.testplugin.util.DisplayWaiter] At DisplayHelper.java:[lines 296-303] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Invocation of toString on res in org.eclipse.jdt.ui.examples.TwoPaneElementSelectorExample.main(String[]) [org.eclipse.jdt.ui.examples.TwoPaneElementSelectorExample] At TwoPaneElementSelectorExample.java:[line 56] DMI_INVOKING_TOSTRING_ON_ARRAY [ERROR] High: org.eclipse.jdt.ui.leaktest.LeakTestCase.calmDown() forces garbage collection; extremely dubious except in benchmarking code [org.eclipse.jdt.ui.leaktest.LeakTestCase] At LeakTestCase.java:[line 106] DM_GC [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.leaktest.example.LeakTestExample.projectSetup [org.eclipse.jdt.ui.leaktest.example.LeakTestExample] At LeakTestExample.java:[line 27] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Assertion of type org.eclipse.jdt.internal.ui.browsing.LogicalPackage in org.eclipse.jdt.ui.tests.browsing.PackagesViewDeltaTests.testRemoveFragmentInMultiFragmentLogicalPackage() at PackagesViewDeltaTests.java:[line 170] may hide useful information about why a cast may have failed. [org.eclipse.jdt.ui.tests.browsing.PackagesViewDeltaTests] At PackagesViewDeltaTests.java:[line 170] JUA_DONT_ASSERT_INSTANCEOF_IN_TESTS [ERROR] Medium: Hard coded reference to an absolute pathname in org.eclipse.jdt.ui.tests.chkpii.ChkpiiTests.getExec() [org.eclipse.jdt.ui.tests.chkpii.ChkpiiTests] At ChkpiiTests.java:[line 250] DMI_HARDCODED_ABSOLUTE_FILENAME [ERROR] Medium: Redundant nullcheck of err, which is known to be non-null in org.eclipse.jdt.ui.tests.chkpii.ChkpiiTests.executeChkpiiProcess(ChkpiiTests$FileCategory) [org.eclipse.jdt.ui.tests.chkpii.ChkpiiTests] Redundant null check at ChkpiiTests.java:[line 178] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Exceptional return value of java.io.File.delete() ignored in new org.eclipse.jdt.ui.tests.chkpii.ChkpiiTests() [org.eclipse.jdt.ui.tests.chkpii.ChkpiiTests, org.eclipse.jdt.ui.tests.chkpii.ChkpiiTests, org.eclipse.jdt.ui.tests.chkpii.ChkpiiTests] At ChkpiiTests.java:[line 362]Another occurrence at ChkpiiTests.java:[line 363]Another occurrence at ChkpiiTests.java:[line 364] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Exceptional return value of java.io.File.mkdirs() ignored in org.eclipse.jdt.ui.tests.chkpii.ChkpiiTests.setUp() [org.eclipse.jdt.ui.tests.chkpii.ChkpiiTests] At ChkpiiTests.java:[line 372] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: org.eclipse.jdt.ui.tests.chkpii.ChkpiiTests.getPluginDirectory() concatenates strings using + in a loop [org.eclipse.jdt.ui.tests.chkpii.ChkpiiTests] At ChkpiiTests.java:[line 210] SBSC_USE_STRINGBUFFER_CONCATENATION [ERROR] High: Found reliance on default encoding in new org.eclipse.jdt.ui.tests.chkpii.ChkpiiTests$StreamConsumer(InputStream): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.ui.tests.chkpii.ChkpiiTests$StreamConsumer] At ChkpiiTests.java:[line 85] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.chkpii.HTMLTidyTest.checkFile(File): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.ui.tests.chkpii.HTMLTidyTest] At HTMLTidyTest.java:[line 170] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.chkpii.HTMLTidyTest.getIgnores(): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.ui.tests.chkpii.HTMLTidyTest] At HTMLTidyTest.java:[line 115] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.chkpii.HTMLTidyTest.main(String[]): new java.io.OutputStreamWriter(OutputStream) [org.eclipse.jdt.ui.tests.chkpii.HTMLTidyTest] At HTMLTidyTest.java:[line 72] DM_DEFAULT_ENCODING [ERROR] Medium: Dereference of the result of readLine() without nullcheck in org.eclipse.jdt.ui.tests.chkpii.HTMLTidyTest.getIgnores() [org.eclipse.jdt.ui.tests.chkpii.HTMLTidyTest] At HTMLTidyTest.java:[line 119] NP_DEREFERENCE_OF_READLINE_VALUE [ERROR] Medium: Possible null pointer dereference in org.eclipse.jdt.ui.tests.chkpii.HTMLTidyTest.checkFolder(File) due to return value of called method [org.eclipse.jdt.ui.tests.chkpii.HTMLTidyTest, org.eclipse.jdt.ui.tests.chkpii.HTMLTidyTest] Dereferenced at HTMLTidyTest.java:[line 150]Known null at HTMLTidyTest.java:[line 150] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: org.eclipse.jdt.ui.tests.chkpii.HTMLTidyTest.checkFile(File) may fail to close stream [org.eclipse.jdt.ui.tests.chkpii.HTMLTidyTest] At HTMLTidyTest.java:[line 170] OS_OPEN_STREAM [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.core.BindingsNameTest.pts [org.eclipse.jdt.ui.tests.core.BindingsNameTest] At BindingsNameTest.java:[line 48] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Assertion of type org.eclipse.jdt.core.IType in org.eclipse.jdt.ui.tests.core.CallHierarchyTest.anonymousInnerClassOnClassCallees() at CallHierarchyTest.java:[line 386] may hide useful information about why a cast may have failed. [org.eclipse.jdt.ui.tests.core.CallHierarchyTest] At CallHierarchyTest.java:[line 386] JUA_DONT_ASSERT_INSTANCEOF_IN_TESTS [ERROR] Medium: Assertion of type org.eclipse.jdt.core.IType in org.eclipse.jdt.ui.tests.core.CallHierarchyTest.anonymousInnerClassOnInterfaceCallees() at CallHierarchyTest.java:[line 337] may hide useful information about why a cast may have failed. [org.eclipse.jdt.ui.tests.core.CallHierarchyTest] At CallHierarchyTest.java:[line 337] JUA_DONT_ASSERT_INSTANCEOF_IN_TESTS [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.core.ClassPathDetectorTest.pts [org.eclipse.jdt.ui.tests.core.ClassPathDetectorTest] At ClassPathDetectorTest.java:[line 53] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.core.JavaElementPropertyTesterTest.pts [org.eclipse.jdt.ui.tests.core.JavaElementPropertyTesterTest] At JavaElementPropertyTesterTest.java:[line 53] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.core.JavaModelUtilTest.pts [org.eclipse.jdt.ui.tests.core.JavaModelUtilTest] At JavaModelUtilTest.java:[line 56] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] High: org.eclipse.jdt.ui.tests.core.MethodOverrideTest.isOverrideAnnotationOK(CompilationUnit, IMethodBinding) has Boolean return type and returns explicit null [org.eclipse.jdt.ui.tests.core.MethodOverrideTest] At MethodOverrideTest.java:[line 497] NP_BOOLEAN_RETURN_NULL [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.core.OverrideTest.pts [org.eclipse.jdt.ui.tests.core.OverrideTest] At OverrideTest.java:[line 48] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Assertion of type org.eclipse.jdt.core.dom.IVariableBinding in org.eclipse.jdt.ui.tests.core.PartialASTTest.testPartialCU1() at PartialASTTest.java:[line 139] may hide useful information about why a cast may have failed. [org.eclipse.jdt.ui.tests.core.PartialASTTest] At PartialASTTest.java:[line 139] JUA_DONT_ASSERT_INSTANCEOF_IN_TESTS [ERROR] Medium: Assertion of type org.eclipse.jdt.core.dom.IVariableBinding in org.eclipse.jdt.ui.tests.core.PartialASTTest.testPartialCU1() at PartialASTTest.java:[line 140] may hide useful information about why a cast may have failed. [org.eclipse.jdt.ui.tests.core.PartialASTTest] At PartialASTTest.java:[line 140] JUA_DONT_ASSERT_INSTANCEOF_IN_TESTS [ERROR] Medium: Possible null pointer dereference of expected in org.eclipse.jdt.ui.tests.core.SelectionHistoryTest.assertEquals(String[], String[]) [org.eclipse.jdt.ui.tests.core.SelectionHistoryTest, org.eclipse.jdt.ui.tests.core.SelectionHistoryTest, org.eclipse.jdt.ui.tests.core.SelectionHistoryTest] Dereferenced at SelectionHistoryTest.java:[line 53]Known null at SelectionHistoryTest.java:[line 39]Known null at SelectionHistoryTest.java:[line 46] NP_NULL_ON_SOME_PATH [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.core.SelectionHistoryTest.pts [org.eclipse.jdt.ui.tests.core.SelectionHistoryTest] At SelectionHistoryTest.java:[line 33] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.core.TemplateStoreTest.pts [org.eclipse.jdt.ui.tests.core.TemplateStoreTest] At TemplateStoreTest.java:[line 41] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.core.TypeInfoTest.pts [org.eclipse.jdt.ui.tests.core.TypeInfoTest] At TypeInfoTest.java:[line 55] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Useless object stored in variable settings of method org.eclipse.jdt.ui.tests.core.source.AddUnimplementedConstructorsTest.testEightConstructorsToOverride() [org.eclipse.jdt.ui.tests.core.source.AddUnimplementedConstructorsTest] At AddUnimplementedConstructorsTest.java:[line 231] UC_USELESS_OBJECT [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.core.source.AddUnimplementedConstructorsTest.pts [org.eclipse.jdt.ui.tests.core.source.AddUnimplementedConstructorsTest] At AddUnimplementedConstructorsTest.java:[line 68] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.core.source.AddUnimplementedMethodsTest.pts [org.eclipse.jdt.ui.tests.core.source.AddUnimplementedMethodsTest] At AddUnimplementedMethodsTest.java:[line 75] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.core.source.GenerateConstructorUsingFieldsTest.pts [org.eclipse.jdt.ui.tests.core.source.GenerateConstructorUsingFieldsTest] At GenerateConstructorUsingFieldsTest.java:[line 63] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.core.source.GenerateDelegateMethodsTest.pts [org.eclipse.jdt.ui.tests.core.source.GenerateDelegateMethodsTest] At GenerateDelegateMethodsTest.java:[line 58] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.core.source.GenerateGettersSettersTest.pts [org.eclipse.jdt.ui.tests.core.source.GenerateGettersSettersTest] At GenerateGettersSettersTest.java:[line 59] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.core.source.GenerateGettersSettersTest16.pts [org.eclipse.jdt.ui.tests.core.source.GenerateGettersSettersTest16] At GenerateGettersSettersTest16.java:[line 44] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.core.source.GenerateHashCodeEqualsTest.pts [org.eclipse.jdt.ui.tests.core.source.GenerateHashCodeEqualsTest] At GenerateHashCodeEqualsTest.java:[line 61] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.core.source.GenerateToStringTest.pts [org.eclipse.jdt.ui.tests.core.source.GenerateToStringTest] At GenerateToStringTest.java:[line 66] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.core.source.SourceTestCase.tn [org.eclipse.jdt.ui.tests.core.source.SourceTestCase] At SourceTestCase.java:[line 49] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.leaks.JavaLeakTest.projectSetup [org.eclipse.jdt.ui.tests.leaks.JavaLeakTest] At JavaLeakTest.java:[line 84] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.leaks.JavaLeakTestActionDelegate.fEditor [org.eclipse.jdt.ui.tests.leaks.JavaLeakTestActionDelegate] At JavaLeakTestActionDelegate.java:[line 40] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.leaks.JavaLeakTestActionDelegate.fWindow [org.eclipse.jdt.ui.tests.leaks.JavaLeakTestActionDelegate] At JavaLeakTestActionDelegate.java:[line 35] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.leaks.TextViewerUndoManagerLeakTest.projectSetup [org.eclipse.jdt.ui.tests.leaks.TextViewerUndoManagerLeakTest] At TextViewerUndoManagerLeakTest.java:[line 50] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.leaks.UndoManagerLeakTest.projectSetup [org.eclipse.jdt.ui.tests.leaks.UndoManagerLeakTest] At UndoManagerLeakTest.java:[line 48] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.model.ContentProviderTests.setUp(): String.getBytes() [org.eclipse.jdt.ui.tests.model.ContentProviderTests] At ContentProviderTests.java:[line 97] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.model.ContentProviderTests.testOutgoingChangeInNonPackage261198(): String.getBytes() [org.eclipse.jdt.ui.tests.model.ContentProviderTests] At ContentProviderTests.java:[line 179] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.model.MockPluginView$2$1.getContents(): String.getBytes() [org.eclipse.jdt.ui.tests.model.MockPluginView$2$1] At MockPluginView.java:[line 179] DM_DEFAULT_ENCODING [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.packageview.HierarchicalContentProviderTests.mytestsetup [org.eclipse.jdt.ui.tests.packageview.HierarchicalContentProviderTests] At HierarchicalContentProviderTests.java:[line 97] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.packageview.PackageExplorerShowInTests.testCUNotOnClasspath(): String.getBytes() [org.eclipse.jdt.ui.tests.packageview.PackageExplorerShowInTests] At PackageExplorerShowInTests.java:[line 172] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.performance.FileTool.read(String): new java.io.FileReader(String) [org.eclipse.jdt.ui.tests.performance.FileTool] At FileTool.java:[line 191] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.performance.FileTool.write(String, StringBuffer): new java.io.FileWriter(String) [org.eclipse.jdt.ui.tests.performance.FileTool] At FileTool.java:[line 213] DM_DEFAULT_ENCODING [ERROR] Medium: Possible null pointer dereference in org.eclipse.jdt.ui.tests.performance.FileTool.copy(File, File) due to return value of called method [org.eclipse.jdt.ui.tests.performance.FileTool, org.eclipse.jdt.ui.tests.performance.FileTool] Dereferenced at FileTool.java:[line 171]Known null at FileTool.java:[line 170] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: Exceptional return value of java.io.File.mkdirs() ignored in org.eclipse.jdt.ui.tests.performance.FileTool.transferData(File, File) [org.eclipse.jdt.ui.tests.performance.FileTool] At FileTool.java:[line 119] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Exceptional return value of java.io.File.mkdirs() ignored in org.eclipse.jdt.ui.tests.performance.FileTool.unzip(ZipFile, File) [org.eclipse.jdt.ui.tests.performance.FileTool] At FileTool.java:[line 65] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] High: org.eclipse.jdt.ui.tests.performance.views.CleanUpPerfTest.performRefactoring(CleanUpRefactoring, boolean, int, boolean) forces garbage collection; extremely dubious except in benchmarking code [org.eclipse.jdt.ui.tests.performance.views.CleanUpPerfTest] At CleanUpPerfTest.java:[line 1039] DM_GC [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.performance.views.CleanUpPerfTest.stup [org.eclipse.jdt.ui.tests.performance.views.CleanUpPerfTest] At CleanUpPerfTest.java:[line 140] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.performance.views.OrganizeImportsPerfTest.stup [org.eclipse.jdt.ui.tests.performance.views.OrganizeImportsPerfTest] At OrganizeImportsPerfTest.java:[line 74] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Exceptional return value of java.io.File.setLastModified(long) ignored in org.eclipse.jdt.ui.tests.performance.views.PackageExplorerPerfTest.lambda$1(long, IResource) [org.eclipse.jdt.ui.tests.performance.views.PackageExplorerPerfTest] At PackageExplorerPerfTest.java:[line 157] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.performance.views.PackageExplorerPerfTest.stup [org.eclipse.jdt.ui.tests.performance.views.PackageExplorerPerfTest] At PackageExplorerPerfTest.java:[line 82] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Dead store to page in org.eclipse.jdt.ui.tests.performance.views.TypeHierarchyPerfTest.testAOpenObjectHierarchy() [org.eclipse.jdt.ui.tests.performance.views.TypeHierarchyPerfTest] At TypeHierarchyPerfTest.java:[line 90] DLS_DEAD_LOCAL_STORE [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.performance.views.TypeHierarchyPerfTest.stup [org.eclipse.jdt.ui.tests.performance.views.TypeHierarchyPerfTest] At TypeHierarchyPerfTest.java:[line 80] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.quickfix.AbstractAnnotateAssistTests.copyToString(InputStream): java.io.ByteArrayOutputStream.toString() [org.eclipse.jdt.ui.tests.quickfix.AbstractAnnotateAssistTests] At AbstractAnnotateAssistTests.java:[line 145] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.quickfix.JarUtil.createFile(String, String): String.getBytes() [org.eclipse.jdt.ui.tests.quickfix.JarUtil] At JarUtil.java:[line 253] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.quickfix.JarUtil.writeToFile(String, String): new java.io.PrintWriter(OutputStream) [org.eclipse.jdt.ui.tests.quickfix.JarUtil] At JarUtil.java:[line 684] DM_DEFAULT_ENCODING [ERROR] Medium: Possible null pointer dereference in org.eclipse.jdt.ui.tests.quickfix.JarUtil.() due to return value of called method [org.eclipse.jdt.ui.tests.quickfix.JarUtil, org.eclipse.jdt.ui.tests.quickfix.JarUtil] Dereferenced at JarUtil.java:[line 128]Known null at JarUtil.java:[line 128] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: Possible null pointer dereference in org.eclipse.jdt.ui.tests.quickfix.JarUtil.getJavaClassLibs() due to return value of called method [org.eclipse.jdt.ui.tests.quickfix.JarUtil, org.eclipse.jdt.ui.tests.quickfix.JarUtil] Method invoked at JarUtil.java:[line 385]Known null at JarUtil.java:[line 384] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: Exceptional return value of java.io.File.mkdirs() ignored in org.eclipse.jdt.ui.tests.quickfix.JarUtil.createJar(String[], String[], Map, JarUtil$ClassFileFilter, String[], String) [org.eclipse.jdt.ui.tests.quickfix.JarUtil] At JarUtil.java:[line 266] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Exceptional return value of java.io.File.mkdirs() ignored in org.eclipse.jdt.ui.tests.quickfix.JarUtil.createSourceDir(String[], String) [org.eclipse.jdt.ui.tests.quickfix.JarUtil] At JarUtil.java:[line 290] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Exceptional return value of java.io.File.delete() ignored in org.eclipse.jdt.ui.tests.quickfix.JarUtil.delete(File) [org.eclipse.jdt.ui.tests.quickfix.JarUtil] At JarUtil.java:[line 307] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Exceptional return value of java.io.File.mkdirs() ignored in org.eclipse.jdt.ui.tests.quickfix.JarUtil.zip(File, String) [org.eclipse.jdt.ui.tests.quickfix.JarUtil] At JarUtil.java:[line 707] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: org.eclipse.jdt.ui.tests.quickfix.JarUtil.printFileInfo(File, int, int) concatenates strings using + in a loop [org.eclipse.jdt.ui.tests.quickfix.JarUtil] At JarUtil.java:[line 505] SBSC_USE_STRINGBUFFER_CONCATENATION [ERROR] Medium: org.eclipse.jdt.ui.tests.quickfix.JarUtil.printJdtStackTrace(Exception, int) concatenates strings using + in a loop [org.eclipse.jdt.ui.tests.quickfix.JarUtil] At JarUtil.java:[line 565] SBSC_USE_STRINGBUFFER_CONCATENATION [ERROR] Medium: Assertion of type org.eclipse.jdt.internal.ui.text.correction.proposals.LinkedNamesAssistProposal in org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest.testHidingVariable1() at LocalCorrectionsQuickFixTest.java:[line 7406] may hide useful information about why a cast may have failed. [org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest] At LocalCorrectionsQuickFixTest.java:[line 7406] JUA_DONT_ASSERT_INSTANCEOF_IN_TESTS [ERROR] Medium: Assertion of type org.eclipse.jdt.internal.ui.text.correction.proposals.LinkedNamesAssistProposal in org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest.testHidingVariable2() at LocalCorrectionsQuickFixTest.java:[line 7430] may hide useful information about why a cast may have failed. [org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest] At LocalCorrectionsQuickFixTest.java:[line 7430] JUA_DONT_ASSERT_INSTANCEOF_IN_TESTS [ERROR] Medium: Assertion of type org.eclipse.jdt.internal.ui.text.correction.proposals.LinkedNamesAssistProposal in org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest.testHidingVariable3() at LocalCorrectionsQuickFixTest.java:[line 7456] may hide useful information about why a cast may have failed. [org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest] At LocalCorrectionsQuickFixTest.java:[line 7456] JUA_DONT_ASSERT_INSTANCEOF_IN_TESTS [ERROR] Medium: Assertion of type org.eclipse.jdt.internal.ui.text.correction.proposals.LinkedNamesAssistProposal in org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest.testHidingVariable4() at LocalCorrectionsQuickFixTest.java:[line 7483] may hide useful information about why a cast may have failed. [org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest] At LocalCorrectionsQuickFixTest.java:[line 7483] JUA_DONT_ASSERT_INSTANCEOF_IN_TESTS [ERROR] Medium: Assertion of type org.eclipse.jdt.internal.ui.text.correction.proposals.LinkedNamesAssistProposal in org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest.testHidingVariable5() at LocalCorrectionsQuickFixTest.java:[line 7511] may hide useful information about why a cast may have failed. [org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest] At LocalCorrectionsQuickFixTest.java:[line 7511] JUA_DONT_ASSERT_INSTANCEOF_IN_TESTS [ERROR] Medium: Assertion of type org.eclipse.jdt.internal.ui.text.correction.proposals.LinkedNamesAssistProposal in org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest.testHidingVariable6() at LocalCorrectionsQuickFixTest.java:[line 7538] may hide useful information about why a cast may have failed. [org.eclipse.jdt.ui.tests.quickfix.LocalCorrectionsQuickFixTest] At LocalCorrectionsQuickFixTest.java:[line 7538] JUA_DONT_ASSERT_INSTANCEOF_IN_TESTS [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.quickfix.NullAnnotationsQuickFixTest9.projectSetup [org.eclipse.jdt.ui.tests.quickfix.NullAnnotationsQuickFixTest9] At NullAnnotationsQuickFixTest9.java:[line 48] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.quickfix.PropertiesFileQuickAssistTest.copyToString(InputStream): java.io.ByteArrayOutputStream.toString() [org.eclipse.jdt.ui.tests.quickfix.PropertiesFileQuickAssistTest] At PropertiesFileQuickAssistTest.java:[line 139] DM_DEFAULT_ENCODING [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.IsCompletelySelectedTest.projectSetup [org.eclipse.jdt.ui.tests.refactoring.IsCompletelySelectedTest] At IsCompletelySelectedTest.java:[line 73] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.search.FileAdapterTest.projectSetup [org.eclipse.jdt.ui.tests.search.FileAdapterTest] At FileAdapterTest.java:[line 38] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] High: Bad comparison of nonnegative value with -1 in org.eclipse.jdt.ui.tests.search.NLSSearchTestHelper.getContent(IFile) [org.eclipse.jdt.ui.tests.search.NLSSearchTestHelper] At NLSSearchTestHelper.java:[line 106] INT_BAD_COMPARISON_WITH_NONNEGATIVE_VALUE [ERROR] Medium: Assertion of type Integer in org.eclipse.jdt.ui.tests.search.ParticipantTest.testSimpleParticipant() at ParticipantTest.java:[line 89] may hide useful information about why a cast may have failed. [org.eclipse.jdt.ui.tests.search.ParticipantTest] At ParticipantTest.java:[line 89] JUA_DONT_ASSERT_INSTANCEOF_IN_TESTS [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.search.ParticipantTest.projectSetup [org.eclipse.jdt.ui.tests.search.ParticipantTest] At ParticipantTest.java:[line 46] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.search.SearchLeakTest.projectSetup [org.eclipse.jdt.ui.tests.search.SearchLeakTest] At SearchLeakTest.java:[line 48] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.search.SearchLeakTestWrapper.projectSetup [org.eclipse.jdt.ui.tests.search.SearchLeakTestWrapper] At SearchLeakTestWrapper.java:[line 34] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.search.TreeContentProviderTest.projectSetup [org.eclipse.jdt.ui.tests.search.TreeContentProviderTest] At TreeContentProviderTest.java:[line 55] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.search.TreeContentProviderTestWrapper.projectSetup [org.eclipse.jdt.ui.tests.search.TreeContentProviderTestWrapper] At TreeContentProviderTestWrapper.java:[line 36] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.search.WorkspaceReferenceTest.projectSetup [org.eclipse.jdt.ui.tests.search.WorkspaceReferenceTest] At WorkspaceReferenceTest.java:[line 28] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Possible null pointer dereference in org.eclipse.jdt.ui.tests.wizardapi.ImporterTest.testImportRawJavaProject() due to return value of called method [org.eclipse.jdt.ui.tests.wizardapi.ImporterTest, org.eclipse.jdt.ui.tests.wizardapi.ImporterTest] Dereferenced at ImporterTest.java:[line 65]Known null at ImporterTest.java:[line 63] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: Exceptional return value of java.io.File.mkdirs() ignored in org.eclipse.jdt.ui.tests.wizardapi.ImporterTest.unzip(File, File) [org.eclipse.jdt.ui.tests.wizardapi.ImporterTest] At ImporterTest.java:[line 89] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ org.eclipse.jdt.ui.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests/src/test/resources [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.jdt.ui.tests --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests/target/org.eclipse.jdt.ui.tests-3.14.0-SNAPSHOT-sources.jar [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:package-plugin (default-package-plugin) @ org.eclipse.jdt.ui.tests --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests/target/org.eclipse.jdt.ui.tests-3.14.0-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.jdt.ui.tests --- [INFO] No baseline version MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.tests:3.14.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests/pom.xml [INFO] [INFO] --- tycho-surefire-plugin:2.4.0:test (default-test) @ org.eclipse.jdt.ui.tests --- [INFO] Skipping tests [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.jdt.ui.tests --- [INFO] Skipped [INFO] [INFO] -------------< org.eclipse.jdt:org.eclipse.jdt.text.tests >------------- [INFO] Building org.eclipse.jdt.text.tests 3.13.1400-SNAPSHOT [12/19] [INFO] ------------------------[ eclipse-test-plugin ]------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.jdt.text.tests --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) @ org.eclipse.jdt.text.tests --- [INFO] The project's OSGi version is 3.13.1400.v20210711-1248 [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-id (default-validate-id) @ org.eclipse.jdt.text.tests --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-version (default-validate-version) @ org.eclipse.jdt.text.tests --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.jdt.text.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.text.tests/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.jdt.text.tests --- [INFO] [INFO] --- target-platform-configuration:2.4.0:target-platform (default-target-platform) @ org.eclipse.jdt.text.tests --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ org.eclipse.jdt.text.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.text.tests/src/main/resources [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.jdt.text.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.text.tests/src/main/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:compile (default-compile) @ org.eclipse.jdt.text.tests --- [INFO] Compiling 171 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.text.tests/target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.jdt.text.tests >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.jdt.text.tests --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.jdt.text.tests <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.jdt.text.tests --- [INFO] BugInstance size is 48 [INFO] Error size is 0 [INFO] Total bugs: 48 [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.text.tests.AutoboxingSemanticHighlightingTest.shts [org.eclipse.jdt.text.tests.AutoboxingSemanticHighlightingTest] At AutoboxingSemanticHighlightingTest.java:[line 26] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.text.tests.JavaDoc2HTMLTextReaderTester.tn [org.eclipse.jdt.text.tests.JavaDoc2HTMLTextReaderTester] At JavaDoc2HTMLTextReaderTester.java:[line 43] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Dead store to expectation in org.eclipse.jdt.text.tests.JavaPartitionerTest.testCorruptPartitioning1() [org.eclipse.jdt.text.tests.JavaPartitionerTest] At JavaPartitionerTest.java:[line 423] DLS_DEAD_LOCAL_STORE [ERROR] Medium: Dead store to result in org.eclipse.jdt.text.tests.JavaPartitionerTest.testCorruptPartitioning1() [org.eclipse.jdt.text.tests.JavaPartitionerTest] At JavaPartitionerTest.java:[line 422] DLS_DEAD_LOCAL_STORE [ERROR] Medium: Dead store to expectation in org.eclipse.jdt.text.tests.JavaPartitionerTest.testCorruptPartitioning2() [org.eclipse.jdt.text.tests.JavaPartitionerTest] At JavaPartitionerTest.java:[line 457] DLS_DEAD_LOCAL_STORE [ERROR] Medium: Dead store to result in org.eclipse.jdt.text.tests.JavaPartitionerTest.testCorruptPartitioning2() [org.eclipse.jdt.text.tests.JavaPartitionerTest] At JavaPartitionerTest.java:[line 456] DLS_DEAD_LOCAL_STORE [ERROR] Medium: Dead store to expectation in org.eclipse.jdt.text.tests.JavaPartitionerTest.testCorruptPartitioning3() [org.eclipse.jdt.text.tests.JavaPartitionerTest] At JavaPartitionerTest.java:[line 491] DLS_DEAD_LOCAL_STORE [ERROR] Medium: Dead store to result in org.eclipse.jdt.text.tests.JavaPartitionerTest.testCorruptPartitioning3() [org.eclipse.jdt.text.tests.JavaPartitionerTest] At JavaPartitionerTest.java:[line 490] DLS_DEAD_LOCAL_STORE [ERROR] Medium: Useless object stored in variable expectation of method org.eclipse.jdt.text.tests.JavaPartitionerTest.testCorruptPartitioning1() [org.eclipse.jdt.text.tests.JavaPartitionerTest] At JavaPartitionerTest.java:[line 423] UC_USELESS_OBJECT [ERROR] Medium: Useless object stored in variable expectation of method org.eclipse.jdt.text.tests.JavaPartitionerTest.testCorruptPartitioning2() [org.eclipse.jdt.text.tests.JavaPartitionerTest] At JavaPartitionerTest.java:[line 457] UC_USELESS_OBJECT [ERROR] Medium: Useless object stored in variable expectation of method org.eclipse.jdt.text.tests.JavaPartitionerTest.testCorruptPartitioning3() [org.eclipse.jdt.text.tests.JavaPartitionerTest] At JavaPartitionerTest.java:[line 491] UC_USELESS_OBJECT [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.text.tests.MarkOccurrenceTest.jpts [org.eclipse.jdt.text.tests.MarkOccurrenceTest] At MarkOccurrenceTest.java:[line 94] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.text.tests.OverrideIndicatorTest.jpts [org.eclipse.jdt.text.tests.OverrideIndicatorTest] At OverrideIndicatorTest.java:[line 57] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Dead store to referenceTime in org.eclipse.jdt.text.tests.PartitionTokenScannerTest.testPerformance() [org.eclipse.jdt.text.tests.PartitionTokenScannerTest] At PartitionTokenScannerTest.java:[line 128] DLS_DEAD_LOCAL_STORE [ERROR] Medium: Dead store to testeeTime in org.eclipse.jdt.text.tests.PartitionTokenScannerTest.testPerformance() [org.eclipse.jdt.text.tests.PartitionTokenScannerTest] At PartitionTokenScannerTest.java:[line 129] DLS_DEAD_LOCAL_STORE [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.text.tests.PartitionTokenScannerTest.getDocument(String, String): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.text.tests.PartitionTokenScannerTest] At PartitionTokenScannerTest.java:[line 54] DM_DEFAULT_ENCODING [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.text.tests.PluginsNotLoadedTest.jpts [org.eclipse.jdt.text.tests.PluginsNotLoadedTest] At PluginsNotLoadedTest.java:[line 187] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.text.tests.SemanticHighlightingTest.shts [org.eclipse.jdt.text.tests.SemanticHighlightingTest] At SemanticHighlightingTest.java:[line 27] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.text.tests.contentassist.ChainCompletionTest.pts [org.eclipse.jdt.text.tests.contentassist.ChainCompletionTest] At ChainCompletionTest.java:[line 60] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.text.tests.contentassist.CodeCompletionTest.codeComplete(ICompilationUnit, int, CompletionProposalCollector): new java.io.FileReader(File) [org.eclipse.jdt.text.tests.contentassist.CodeCompletionTest] At CodeCompletionTest.java:[line 128] DM_DEFAULT_ENCODING [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.text.tests.contentassist.ContentAssistHistoryTest.pts [org.eclipse.jdt.text.tests.contentassist.ContentAssistHistoryTest] At ContentAssistHistoryTest.java:[line 60] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.text.tests.contentassist.PostFixCompletionTest.cts [org.eclipse.jdt.text.tests.contentassist.PostFixCompletionTest] At PostFixCompletionTest.java:[line 63] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.text.tests.performance.AbstractDocumentLineDifferTest.(): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.text.tests.performance.AbstractDocumentLineDifferTest] At AbstractDocumentLineDifferTest.java:[line 78] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.text.tests.performance.AbstractDocumentPerformanceTest.(): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.text.tests.performance.AbstractDocumentPerformanceTest] At AbstractDocumentPerformanceTest.java:[line 57] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.text.tests.performance.CodeCompletionPerformanceTest.setUp(): String.getBytes() [org.eclipse.jdt.text.tests.performance.CodeCompletionPerformanceTest] At CodeCompletionPerformanceTest.java:[line 137] DM_DEFAULT_ENCODING [ERROR] Medium: Possible null pointer dereference in org.eclipse.jdt.text.tests.performance.EditorTestHelper.addJavaFiles(File, List) due to return value of called method [org.eclipse.jdt.text.tests.performance.EditorTestHelper, org.eclipse.jdt.text.tests.performance.EditorTestHelper] Dereferenced at EditorTestHelper.java:[line 503]Known null at EditorTestHelper.java:[line 503] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: Exceptional return value of java.io.File.delete() ignored in org.eclipse.jdt.text.tests.performance.FileBufferPerformanceTest.tearDown() [org.eclipse.jdt.text.tests.performance.FileBufferPerformanceTest] At FileBufferPerformanceTest.java:[line 77] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.text.tests.performance.FileTool.read(String): new java.io.FileReader(String) [org.eclipse.jdt.text.tests.performance.FileTool] At FileTool.java:[line 187] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.text.tests.performance.FileTool.write(String, StringBuffer): new java.io.FileWriter(String) [org.eclipse.jdt.text.tests.performance.FileTool] At FileTool.java:[line 209] DM_DEFAULT_ENCODING [ERROR] Medium: Possible null pointer dereference in org.eclipse.jdt.text.tests.performance.FileTool.copy(File, File) due to return value of called method [org.eclipse.jdt.text.tests.performance.FileTool, org.eclipse.jdt.text.tests.performance.FileTool] Dereferenced at FileTool.java:[line 167]Known null at FileTool.java:[line 167] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: Exceptional return value of java.io.File.mkdirs() ignored in org.eclipse.jdt.text.tests.performance.FileTool.transferData(File, File) [org.eclipse.jdt.text.tests.performance.FileTool] At FileTool.java:[line 117] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Exceptional return value of java.io.File.mkdirs() ignored in org.eclipse.jdt.text.tests.performance.FileTool.unzip(ZipFile, File) [org.eclipse.jdt.text.tests.performance.FileTool] At FileTool.java:[line 64] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Useless object stored in variable set of method org.eclipse.jdt.text.tests.performance.InvocationCountExampleTest.test() [org.eclipse.jdt.text.tests.performance.InvocationCountExampleTest] At InvocationCountExampleTest.java:[line 40] UC_USELESS_OBJECT [ERROR] High: Boxing/unboxing to parse a primitive org.eclipse.jdt.text.tests.performance.InvocationCountPerformanceMeter.intValueOf(String, int) [org.eclipse.jdt.text.tests.performance.InvocationCountPerformanceMeter] At InvocationCountPerformanceMeter.java:[line 665] DM_BOXED_PRIMITIVE_FOR_PARSING [ERROR] Medium: org.eclipse.jdt.text.tests.performance.InvocationCountPerformanceMeter$EventReader.start() synchronizes on updated field InvocationCountPerformanceMeter$EventReader.fThread [org.eclipse.jdt.text.tests.performance.InvocationCountPerformanceMeter$EventReader] At InvocationCountPerformanceMeter.java:[line 97] ML_SYNC_ON_UPDATED_FIELD [ERROR] Medium: Unconditional wait in org.eclipse.jdt.text.tests.performance.InvocationCountPerformanceMeter$EventReader.start() [org.eclipse.jdt.text.tests.performance.InvocationCountPerformanceMeter$EventReader] At InvocationCountPerformanceMeter.java:[line 100] UW_UNCOND_WAIT [ERROR] Medium: Wait not in loop in org.eclipse.jdt.text.tests.performance.InvocationCountPerformanceMeter$EventReader.start() [org.eclipse.jdt.text.tests.performance.InvocationCountPerformanceMeter$EventReader] At InvocationCountPerformanceMeter.java:[line 100] WA_NOT_IN_LOOP [ERROR] Medium: Possible null pointer dereference in org.eclipse.jdt.text.tests.performance.JavaFormatterProjectTest.measure(PerformanceMeter, int) due to return value of called method [org.eclipse.jdt.text.tests.performance.JavaFormatterProjectTest, org.eclipse.jdt.text.tests.performance.JavaFormatterProjectTest] Dereferenced at JavaFormatterProjectTest.java:[line 76]Known null at JavaFormatterProjectTest.java:[line 76] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: org.eclipse.jdt.text.tests.performance.KeyboardProbe.getContent(Text) uses the same code for two branches [org.eclipse.jdt.text.tests.performance.KeyboardProbe, org.eclipse.jdt.text.tests.performance.KeyboardProbe] At KeyboardProbe.java:[lines 218-222]At KeyboardProbe.java:[line 223] DB_DUPLICATE_BRANCHES [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.text.tests.performance.LineTrackerPerformanceTest.(): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.text.tests.performance.LineTrackerPerformanceTest] At LineTrackerPerformanceTest.java:[line 43] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.text.tests.performance.ResourceTestHelper.read(String): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.text.tests.performance.ResourceTestHelper] At ResourceTestHelper.java:[line 135] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.text.tests.performance.ScrollVerticalRulerTest.getFaust(int): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.text.tests.performance.ScrollVerticalRulerTest] At ScrollVerticalRulerTest.java:[line 137] DM_DEFAULT_ENCODING [ERROR] High: Boxing/unboxing to parse a primitive org.eclipse.jdt.text.tests.performance.TextPerformanceTestCase.intValueOf(String, int) [org.eclipse.jdt.text.tests.performance.TextPerformanceTestCase] At TextPerformanceTestCase.java:[line 462] DM_BOXED_PRIMITIVE_FOR_PARSING [ERROR] Medium: Incorrect lazy initialization and update of static field org.eclipse.jdt.text.tests.performance.TextPerformanceTestCase.fgKeyboardProbe in org.eclipse.jdt.text.tests.performance.TextPerformanceTestCase.getKeyboardProbe() [org.eclipse.jdt.text.tests.performance.TextPerformanceTestCase] At TextPerformanceTestCase.java:[lines 410-411] LI_LAZY_INIT_UPDATE_STATIC [ERROR] Medium: Call to method of static java.text.DateFormat in org.eclipse.jdt.text.tests.performance.TextPerformanceTestCase.setUp() [org.eclipse.jdt.text.tests.performance.TextPerformanceTestCase] At TextPerformanceTestCase.java:[line 130] STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE [ERROR] High: Boxing/unboxing to parse a primitive org.eclipse.jdt.text.tests.performance.TextPerformanceTestCase2.intValueOf(String, int) [org.eclipse.jdt.text.tests.performance.TextPerformanceTestCase2] At TextPerformanceTestCase2.java:[line 65] DM_BOXED_PRIMITIVE_FOR_PARSING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.text.tests.performance.TextStorePerformanceTest.(): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.text.tests.performance.TextStorePerformanceTest] At TextStorePerformanceTest.java:[line 46] DM_DEFAULT_ENCODING [ERROR] Medium: Bad comparison of nonnegative value with 0 in org.eclipse.jdt.text.tests.spelling.SpellCheckEngineTestCase.testAvailableLocales() [org.eclipse.jdt.text.tests.spelling.SpellCheckEngineTestCase] At SpellCheckEngineTestCase.java:[line 116] INT_BAD_COMPARISON_WITH_NONNEGATIVE_VALUE [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ org.eclipse.jdt.text.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.text.tests/src/test/resources [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.jdt.text.tests --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.text.tests/target/org.eclipse.jdt.text.tests-3.13.1400-SNAPSHOT-sources.jar [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:package-plugin (default-package-plugin) @ org.eclipse.jdt.text.tests --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.text.tests/target/org.eclipse.jdt.text.tests-3.13.1400-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.jdt.text.tests --- [WARNING] MavenProject: org.eclipse.jdt:org.eclipse.jdt.text.tests:3.13.1400-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.text.tests/pom.xml: baseline and build artifacts have same version but different contents classifier-sources: not present in baseline [INFO] MavenProject: org.eclipse.jdt:org.eclipse.jdt.text.tests:3.13.1400-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.text.tests/pom.xml The main artifact has been replaced with the baseline version. The following attached artifacts are not present in the baseline and have been removed: [sources] [INFO] [INFO] --- tycho-surefire-plugin:2.4.0:test (default-test) @ org.eclipse.jdt.text.tests --- [INFO] Skipping tests [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.jdt.text.tests --- [INFO] Skipped [INFO] [INFO] -------< org.eclipse.ltk:org.eclipse.ltk.core.refactoring.tests >------- [INFO] Building org.eclipse.ltk.core.refactoring.tests 3.9.0-SNAPSHOT [13/19] [INFO] ------------------------[ eclipse-test-plugin ]------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.ltk.core.refactoring.tests --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) @ org.eclipse.ltk.core.refactoring.tests --- [INFO] The project's OSGi version is 3.9.0.v20210629-0141 [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-id (default-validate-id) @ org.eclipse.ltk.core.refactoring.tests --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-version (default-validate-version) @ org.eclipse.ltk.core.refactoring.tests --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.ltk.core.refactoring.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring.tests/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.ltk.core.refactoring.tests --- [INFO] [INFO] --- target-platform-configuration:2.4.0:target-platform (default-target-platform) @ org.eclipse.ltk.core.refactoring.tests --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ org.eclipse.ltk.core.refactoring.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring.tests/src/main/resources [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.ltk.core.refactoring.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring.tests/src/main/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:compile (default-compile) @ org.eclipse.ltk.core.refactoring.tests --- [INFO] Compiling 29 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring.tests/target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.ltk.core.refactoring.tests >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.ltk.core.refactoring.tests --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.ltk.core.refactoring.tests <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.ltk.core.refactoring.tests --- [INFO] BugInstance size is 9 [INFO] Error size is 0 [INFO] Total bugs: 9 [ERROR] High: Result of integer multiplication cast to long in org.eclipse.ltk.core.refactoring.tests.history.RefactoringHistoryServiceTests.executeRefactoring(String, int, int) [org.eclipse.ltk.core.refactoring.tests.history.RefactoringHistoryServiceTests] At RefactoringHistoryServiceTests.java:[line 180] ICAST_INTEGER_MULTIPLY_CAST_TO_LONG [ERROR] Medium: Switch statement found in org.eclipse.ltk.core.refactoring.tests.history.RefactoringHistoryServiceTests$RefactoringExecutionListener.executionNotification(RefactoringExecutionEvent) where default case is missing [org.eclipse.ltk.core.refactoring.tests.history.RefactoringHistoryServiceTests$RefactoringExecutionListener] At RefactoringHistoryServiceTests.java:[lines 96-104] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Possible null pointer dereference of renamedProject in org.eclipse.ltk.core.refactoring.tests.resource.ResourceRefactoringUndoTests.testProjectRenameUndoRedoLTK() on exception path [org.eclipse.ltk.core.refactoring.tests.resource.ResourceRefactoringUndoTests, org.eclipse.ltk.core.refactoring.tests.resource.ResourceRefactoringUndoTests, org.eclipse.ltk.core.refactoring.tests.resource.ResourceRefactoringUndoTests] Dereferenced at ResourceRefactoringUndoTests.java:[line 215]Null value at ResourceRefactoringUndoTests.java:[line 193]Known null at ResourceRefactoringUndoTests.java:[line 195] NP_NULL_ON_SOME_PATH_EXCEPTION [ERROR] Medium: Potentially ambiguous invocation of either an outer or inherited method org.eclipse.ltk.core.refactoring.tests.resource.ResourceRefactoringUndoTests$ResourceSnapshot.getWorkspaceRoot() in org.eclipse.ltk.core.refactoring.tests.resource.ResourceRefactoringUndoTests$FileSnapshot.isValid(IResource) [org.eclipse.ltk.core.refactoring.tests.resource.ResourceRefactoringUndoTests$FileSnapshot] At ResourceRefactoringUndoTests.java:[line 521] IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD [ERROR] Medium: Potentially ambiguous invocation of either an outer or inherited method org.eclipse.ltk.core.refactoring.tests.resource.ResourceRefactoringUndoTests$ResourceSnapshot.getWorkspaceRoot() in org.eclipse.ltk.core.refactoring.tests.resource.ResourceRefactoringUndoTests$FolderSnapshot.isValid(IResource) [org.eclipse.ltk.core.refactoring.tests.resource.ResourceRefactoringUndoTests$FolderSnapshot] At ResourceRefactoringUndoTests.java:[line 561] IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD [ERROR] Medium: Potentially ambiguous invocation of either an outer or inherited method org.eclipse.ltk.core.refactoring.tests.resource.ResourceRefactoringUndoTests$ResourceSnapshot.getWorkspaceRoot() in org.eclipse.ltk.core.refactoring.tests.resource.ResourceRefactoringUndoTests$ProjectSnapshot.isValid() [org.eclipse.ltk.core.refactoring.tests.resource.ResourceRefactoringUndoTests$ProjectSnapshot] At ResourceRefactoringUndoTests.java:[line 653] IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD [ERROR] Medium: Potentially ambiguous invocation of either an outer or inherited method org.eclipse.ltk.core.refactoring.tests.resource.ResourceRefactoringUndoTests$ResourceSnapshot.getWorkspaceRoot() in org.eclipse.ltk.core.refactoring.tests.resource.ResourceRefactoringUndoTests$ProjectSnapshot.isValid(IResource) [org.eclipse.ltk.core.refactoring.tests.resource.ResourceRefactoringUndoTests$ProjectSnapshot] At ResourceRefactoringUndoTests.java:[line 626] IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD [ERROR] High: Found reliance on default encoding in org.eclipse.ltk.core.refactoring.tests.util.SimpleTestProject.createFile(IContainer, String, String): String.getBytes() [org.eclipse.ltk.core.refactoring.tests.util.SimpleTestProject] At SimpleTestProject.java:[line 59] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.ltk.core.refactoring.tests.util.SimpleTestProject.getContent(IFile): new java.io.InputStreamReader(InputStream) [org.eclipse.ltk.core.refactoring.tests.util.SimpleTestProject] At SimpleTestProject.java:[line 69] DM_DEFAULT_ENCODING [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ org.eclipse.ltk.core.refactoring.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring.tests/src/test/resources [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.ltk.core.refactoring.tests --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring.tests/target/org.eclipse.ltk.core.refactoring.tests-3.9.0-SNAPSHOT-sources.jar [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:package-plugin (default-package-plugin) @ org.eclipse.ltk.core.refactoring.tests --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring.tests/target/org.eclipse.ltk.core.refactoring.tests-3.9.0-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.ltk.core.refactoring.tests --- [WARNING] MavenProject: org.eclipse.ltk:org.eclipse.ltk.core.refactoring.tests:3.9.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring.tests/pom.xml: baseline and build artifacts have same version but different contents classifier-sources: not present in baseline [INFO] MavenProject: org.eclipse.ltk:org.eclipse.ltk.core.refactoring.tests:3.9.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring.tests/pom.xml The main artifact has been replaced with the baseline version. The following attached artifacts are not present in the baseline and have been removed: [sources] [INFO] [INFO] --- tycho-surefire-plugin:2.4.0:test (default-test) @ org.eclipse.ltk.core.refactoring.tests --- [INFO] Skipping tests [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.ltk.core.refactoring.tests --- [INFO] Skipped [INFO] [INFO] --------< org.eclipse.ltk:org.eclipse.ltk.ui.refactoring.tests >-------- [INFO] Building org.eclipse.ltk.ui.refactoring.tests 3.10.0-SNAPSHOT [14/19] [INFO] ------------------------[ eclipse-test-plugin ]------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.ltk.ui.refactoring.tests --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) @ org.eclipse.ltk.ui.refactoring.tests --- [INFO] The project's OSGi version is 3.10.0.v20210618-1953 [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-id (default-validate-id) @ org.eclipse.ltk.ui.refactoring.tests --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-version (default-validate-version) @ org.eclipse.ltk.ui.refactoring.tests --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.ltk.ui.refactoring.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring.tests/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.ltk.ui.refactoring.tests --- [INFO] [INFO] --- target-platform-configuration:2.4.0:target-platform (default-target-platform) @ org.eclipse.ltk.ui.refactoring.tests --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ org.eclipse.ltk.ui.refactoring.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring.tests/src/main/resources [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.ltk.ui.refactoring.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring.tests/src/main/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:compile (default-compile) @ org.eclipse.ltk.ui.refactoring.tests --- [INFO] Compiling 10 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring.tests/target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.ltk.ui.refactoring.tests >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.ltk.ui.refactoring.tests --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.ltk.ui.refactoring.tests <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.ltk.ui.refactoring.tests --- [INFO] BugInstance size is 0 [INFO] Error size is 0 [INFO] No errors/warnings found [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ org.eclipse.ltk.ui.refactoring.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring.tests/src/test/resources [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.ltk.ui.refactoring.tests --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring.tests/target/org.eclipse.ltk.ui.refactoring.tests-3.10.0-SNAPSHOT-sources.jar [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:package-plugin (default-package-plugin) @ org.eclipse.ltk.ui.refactoring.tests --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring.tests/target/org.eclipse.ltk.ui.refactoring.tests-3.10.0-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.ltk.ui.refactoring.tests --- [WARNING] MavenProject: org.eclipse.ltk:org.eclipse.ltk.ui.refactoring.tests:3.10.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring.tests/pom.xml: baseline and build artifacts have same version but different contents classifier-sources: not present in baseline [INFO] MavenProject: org.eclipse.ltk:org.eclipse.ltk.ui.refactoring.tests:3.10.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring.tests/pom.xml The main artifact has been replaced with the baseline version. The following attached artifacts are not present in the baseline and have been removed: [sources] [INFO] [INFO] --- tycho-surefire-plugin:2.4.0:test (default-test) @ org.eclipse.ltk.ui.refactoring.tests --- [INFO] Skipping tests [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.ltk.ui.refactoring.tests --- [INFO] Skipped [INFO] [INFO] --------< org.eclipse.jdt:org.eclipse.jdt.ui.tests.refactoring >-------- [INFO] Building org.eclipse.jdt.ui.tests.refactoring 3.14.0-SNAPSHOT [15/19] [INFO] ------------------------[ eclipse-test-plugin ]------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.jdt.ui.tests.refactoring --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) @ org.eclipse.jdt.ui.tests.refactoring --- [INFO] The project's OSGi version is 3.14.0.v20210723-1920 [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-id (default-validate-id) @ org.eclipse.jdt.ui.tests.refactoring --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-version (default-validate-version) @ org.eclipse.jdt.ui.tests.refactoring --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.jdt.ui.tests.refactoring --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests.refactoring/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.jdt.ui.tests.refactoring --- [INFO] [INFO] --- target-platform-configuration:2.4.0:target-platform (default-target-platform) @ org.eclipse.jdt.ui.tests.refactoring --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ org.eclipse.jdt.ui.tests.refactoring --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests.refactoring/src/main/resources [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.jdt.ui.tests.refactoring --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests.refactoring/src/main/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:compile (default-compile) @ org.eclipse.jdt.ui.tests.refactoring --- [INFO] Compiling 225 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests.refactoring/target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.jdt.ui.tests.refactoring >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.jdt.ui.tests.refactoring --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.jdt.ui.tests.refactoring <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.jdt.ui.tests.refactoring --- [INFO] BugInstance size is 56 [INFO] Error size is 0 [INFO] Total bugs: 56 [ERROR] Medium: Redundant nullcheck of Class.getDeclaredMethod(String, Class[]), which is known to be non-null in org.eclipse.jdt.ui.tests.InheritedTestsFilter.shouldRun(Description) [org.eclipse.jdt.ui.tests.InheritedTestsFilter] Redundant null check at InheritedTestsFilter.java:[line 26] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] High: Potentially ambiguous invocation of either an outer or inherited method org.eclipse.ltk.core.refactoring.CompositeChange.getName() in org.eclipse.jdt.ui.tests.refactoring.DocumentChangeTest$1$1.createUndoChange(Change[]) [org.eclipse.jdt.ui.tests.refactoring.DocumentChangeTest$1$1] At DocumentChangeTest.java:[line 128] IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.ExtractTempTests13.js [org.eclipse.jdt.ui.tests.refactoring.ExtractTempTests13] At ExtractTempTests13.java:[line 28] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.ExtractTempTests1d7.js [org.eclipse.jdt.ui.tests.refactoring.ExtractTempTests1d7] At ExtractTempTests1d7.java:[line 34] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Possible null pointer dereference of null in org.eclipse.jdt.ui.tests.refactoring.InferTypeArgumentsTests.perform(IJavaElement[], int, int) [org.eclipse.jdt.ui.tests.refactoring.InferTypeArgumentsTests, org.eclipse.jdt.ui.tests.refactoring.InferTypeArgumentsTests] Dereferenced at InferTypeArgumentsTests.java:[line 97]Known null at InferTypeArgumentsTests.java:[line 94] NP_NULL_ON_SOME_PATH [ERROR] High: Possible null pointer dereference of null in org.eclipse.jdt.ui.tests.refactoring.InlineConstantTests.helper1(String[], int, int, int, int, int, boolean, boolean) [org.eclipse.jdt.ui.tests.refactoring.InlineConstantTests, org.eclipse.jdt.ui.tests.refactoring.InlineConstantTests] Dereferenced at InlineConstantTests.java:[line 109]Known null at InlineConstantTests.java:[line 108] NP_NULL_ON_SOME_PATH [ERROR] Medium: Possible null pointer dereference of one in org.eclipse.jdt.ui.tests.refactoring.InlineConstantTests.firstIndexOf(String, String[]) [org.eclipse.jdt.ui.tests.refactoring.InlineConstantTests, org.eclipse.jdt.ui.tests.refactoring.InlineConstantTests] Dereferenced at InlineConstantTests.java:[line 85]Known null at InlineConstantTests.java:[line 85] NP_NULL_ON_SOME_PATH [ERROR] High: Null passed for non-null parameter of GenericRefactoringTest.performRefactoring(Refactoring) in org.eclipse.jdt.ui.tests.refactoring.InlineTempTests.helper1(ICompilationUnit, ISourceRange) [org.eclipse.jdt.ui.tests.refactoring.InlineTempTests, org.eclipse.jdt.ui.tests.refactoring.InlineTempTests] Method invoked at InlineTempTests.java:[line 82]Known null at InlineTempTests.java:[line 81] NP_NULL_PARAM_DEREF [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.InlineTempTests1d7.js [org.eclipse.jdt.ui.tests.refactoring.InlineTempTests1d7] At InlineTempTests1d7.java:[line 32] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.InlineTempTests9.js [org.eclipse.jdt.ui.tests.refactoring.InlineTempTests9] At InlineTempTests9.java:[line 29] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Useless object stored in variable pkgs of method org.eclipse.jdt.ui.tests.refactoring.IntroduceFactoryTestsBase.createProjectPackageStructure(Map, Map, Map) [org.eclipse.jdt.ui.tests.refactoring.IntroduceFactoryTestsBase] At IntroduceFactoryTestsBase.java:[line 496] UC_USELESS_OBJECT [ERROR] Medium: Possible null pointer dereference of null in org.eclipse.jdt.ui.tests.refactoring.MoveInitializerTests.test0() [org.eclipse.jdt.ui.tests.refactoring.MoveInitializerTests, org.eclipse.jdt.ui.tests.refactoring.MoveInitializerTests] Dereferenced at MoveInitializerTests.java:[line 88]Known null at MoveInitializerTests.java:[line 87] NP_NULL_ON_SOME_PATH [ERROR] Medium: Possible null pointer dereference of null in org.eclipse.jdt.ui.tests.refactoring.MoveInitializerTests.test1() [org.eclipse.jdt.ui.tests.refactoring.MoveInitializerTests, org.eclipse.jdt.ui.tests.refactoring.MoveInitializerTests] Dereferenced at MoveInitializerTests.java:[line 128]Known null at MoveInitializerTests.java:[line 127] NP_NULL_ON_SOME_PATH [ERROR] Medium: Useless object stored in variable cus of method org.eclipse.jdt.ui.tests.refactoring.MoveInnerToTopLevelTests.validateFailingTest(String, String, String[], String[], String, int) [org.eclipse.jdt.ui.tests.refactoring.MoveInnerToTopLevelTests] At MoveInnerToTopLevelTests.java:[line 178] UC_USELESS_OBJECT [ERROR] Medium: Possible null pointer dereference of one in org.eclipse.jdt.ui.tests.refactoring.MoveInstanceMethodTests.firstIndexOf(String, String[]) [org.eclipse.jdt.ui.tests.refactoring.MoveInstanceMethodTests, org.eclipse.jdt.ui.tests.refactoring.MoveInstanceMethodTests] Dereferenced at MoveInstanceMethodTests.java:[line 150]Known null at MoveInstanceMethodTests.java:[line 150] NP_NULL_ON_SOME_PATH [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.PathTransformationTests.rts [org.eclipse.jdt.ui.tests.refactoring.PathTransformationTests] At PathTransformationTests.java:[line 29] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Return value of org.eclipse.jdt.internal.corext.refactoring.structure.PushDownRefactoringProcessor.getMemberActionInfos() ignored, but method has no side effect [org.eclipse.jdt.ui.tests.refactoring.PushDownTests] At PushDownTests.java:[line 199] RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT [ERROR] Medium: Useless object stored in variable cus of method org.eclipse.jdt.ui.tests.refactoring.RenamePackageTests.testReadOnly() [org.eclipse.jdt.ui.tests.refactoring.RenamePackageTests] At RenamePackageTests.java:[line 1263] UC_USELESS_OBJECT [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.refactoring.RenameTypeTests.helperQualifiedName(String, String, String, String): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.ui.tests.refactoring.RenameTypeTests] At RenameTypeTests.java:[line 1403] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.refactoring.RenameTypeTests.helperQualifiedName(String, String, String, String): String.getBytes() [org.eclipse.jdt.ui.tests.refactoring.RenameTypeTests] At RenameTypeTests.java:[line 1393] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.refactoring.RenameTypeTests.testSimilarElements05(): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.ui.tests.refactoring.RenameTypeTests] At RenameTypeTests.java:[line 1529] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.refactoring.RenameTypeTests.testSimilarElements05(): String.getBytes() [org.eclipse.jdt.ui.tests.refactoring.RenameTypeTests] At RenameTypeTests.java:[line 1525] DM_DEFAULT_ENCODING [ERROR] Medium: org.eclipse.jdt.ui.tests.refactoring.TestModelProvider$Sorter implements Comparator but not Serializable [org.eclipse.jdt.ui.tests.refactoring.TestModelProvider$Sorter] At TestModelProvider.java:[lines 1-38] SE_COMPARATOR_SHOULD_BE_SERIALIZABLE [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.refactoring.ValidateEditTests.testPackageRenameWithResource2(): String.getBytes() [org.eclipse.jdt.ui.tests.refactoring.ValidateEditTests] At ValidateEditTests.java:[line 196] DM_DEFAULT_ENCODING [ERROR] Medium: Possible null pointer dereference of null in org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest.test0() [org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest, org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest] Dereferenced at MultiMoveTest.java:[line 102]Known null at MultiMoveTest.java:[line 101] NP_NULL_ON_SOME_PATH [ERROR] Medium: Possible null pointer dereference of null in org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest.test1() [org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest, org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest] Dereferenced at MultiMoveTest.java:[line 160]Known null at MultiMoveTest.java:[line 159] NP_NULL_ON_SOME_PATH [ERROR] Medium: Possible null pointer dereference of null in org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest.test2() [org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest, org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest] Dereferenced at MultiMoveTest.java:[line 215]Known null at MultiMoveTest.java:[line 214] NP_NULL_ON_SOME_PATH [ERROR] Medium: Possible null pointer dereference of null in org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest.test3() [org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest, org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest] Dereferenced at MultiMoveTest.java:[line 269]Known null at MultiMoveTest.java:[line 268] NP_NULL_ON_SOME_PATH [ERROR] Medium: Possible null pointer dereference of null in org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest.testPackageMoveParticipants() [org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest, org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest] Dereferenced at MultiMoveTest.java:[line 312]Known null at MultiMoveTest.java:[line 311] NP_NULL_ON_SOME_PATH [ERROR] Medium: Possible null pointer dereference of null in org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest.testPackageMoveParticipants2() [org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest, org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest] Dereferenced at MultiMoveTest.java:[line 347]Known null at MultiMoveTest.java:[line 346] NP_NULL_ON_SOME_PATH [ERROR] Medium: Possible null pointer dereference of null in org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest.testPackageMoveParticipants3() [org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest, org.eclipse.jdt.ui.tests.refactoring.ccp.MultiMoveTest] Dereferenced at MultiMoveTest.java:[line 388]Known null at MultiMoveTest.java:[line 387] NP_NULL_ON_SOME_PATH [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.extensions.ExtensionPointTests.eps [org.eclipse.jdt.ui.tests.refactoring.extensions.ExtensionPointTests] At ExtensionPointTests.java:[line 39] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.refactoring.infra.AbstractJunit4CUTestCase.getFileContents(InputStream): new java.io.InputStreamReader(InputStream) [org.eclipse.jdt.ui.tests.refactoring.infra.AbstractJunit4CUTestCase] At AbstractJunit4CUTestCase.java:[line 39] DM_DEFAULT_ENCODING [ERROR] High: org.eclipse.jdt.ui.tests.refactoring.infra.RefactoringHeapTestCase.executeRefactoring(Refactoring, boolean, int, boolean) forces garbage collection; extremely dubious except in benchmarking code [org.eclipse.jdt.ui.tests.refactoring.infra.RefactoringHeapTestCase] At RefactoringHeapTestCase.java:[line 34] DM_GC [ERROR] High: org.eclipse.jdt.ui.tests.refactoring.infra.RefactoringPerformanceTestCaseCommon.executeRefactoring(Refactoring, boolean, int, boolean) forces garbage collection; extremely dubious except in benchmarking code [org.eclipse.jdt.ui.tests.refactoring.infra.RefactoringPerformanceTestCaseCommon] At RefactoringPerformanceTestCaseCommon.java:[line 44] DM_GC [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.refactoring.nls.NLSHintTest.createResource(IPackageFragment, String, String): String.getBytes() [org.eclipse.jdt.ui.tests.refactoring.nls.NLSHintTest] At NLSHintTest.java:[line 301] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.refactoring.nls.NlsRefactoringCreateChangeTest.copyToString(InputStream): java.io.ByteArrayOutputStream.toString() [org.eclipse.jdt.ui.tests.refactoring.nls.NlsRefactoringCreateChangeTest] At NlsRefactoringCreateChangeTest.java:[line 796] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in org.eclipse.jdt.ui.tests.refactoring.nls.NlsRefactoringTestHelper.getInputStream(String): String.getBytes() [org.eclipse.jdt.ui.tests.refactoring.nls.NlsRefactoringTestHelper] At NlsRefactoringTestHelper.java:[line 59] DM_DEFAULT_ENCODING [ERROR] Medium: Possible null pointer dereference of null in org.eclipse.jdt.ui.tests.refactoring.reorg.AbstractMoveCompilationUnitPrefTest.doExecuteRefactoring(int, int, boolean) [org.eclipse.jdt.ui.tests.refactoring.reorg.AbstractMoveCompilationUnitPrefTest, org.eclipse.jdt.ui.tests.refactoring.reorg.AbstractMoveCompilationUnitPrefTest] Dereferenced at AbstractMoveCompilationUnitPrefTest.java:[line 41]Known null at AbstractMoveCompilationUnitPrefTest.java:[line 39] NP_NULL_ON_SOME_PATH [ERROR] Medium: Possible null pointer dereference of null in org.eclipse.jdt.ui.tests.refactoring.reorg.AbstractMoveStaticMemberPrefTest.doExecuteRefactoring(int, int, boolean) [org.eclipse.jdt.ui.tests.refactoring.reorg.AbstractMoveStaticMemberPrefTest, org.eclipse.jdt.ui.tests.refactoring.reorg.AbstractMoveStaticMemberPrefTest] Dereferenced at AbstractMoveStaticMemberPrefTest.java:[line 45]Known null at AbstractMoveStaticMemberPrefTest.java:[line 37] NP_NULL_ON_SOME_PATH [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.reorg.IntroduceIndirectionPerfAcceptanceTests.spts [org.eclipse.jdt.ui.tests.refactoring.reorg.IntroduceIndirectionPerfAcceptanceTests] At IntroduceIndirectionPerfAcceptanceTests.java:[line 39] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.reorg.MoveCompilationUnitPerfTests1.rpts [org.eclipse.jdt.ui.tests.refactoring.reorg.MoveCompilationUnitPerfTests1] At MoveCompilationUnitPerfTests1.java:[line 29] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.reorg.MoveCompilationUnitPerfTests2.rpts [org.eclipse.jdt.ui.tests.refactoring.reorg.MoveCompilationUnitPerfTests2] At MoveCompilationUnitPerfTests2.java:[line 29] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.reorg.MoveStaticMembersPerfTests1.rpts [org.eclipse.jdt.ui.tests.refactoring.reorg.MoveStaticMembersPerfTests1] At MoveStaticMembersPerfTests1.java:[line 29] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.reorg.MoveStaticMembersPerfTests2.rpts [org.eclipse.jdt.ui.tests.refactoring.reorg.MoveStaticMembersPerfTests2] At MoveStaticMembersPerfTests2.java:[line 29] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.reorg.RenameMethodPerfTests1.rpts [org.eclipse.jdt.ui.tests.refactoring.reorg.RenameMethodPerfTests1] At RenameMethodPerfTests1.java:[line 29] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.reorg.RenameMethodPerfTests2.rpts [org.eclipse.jdt.ui.tests.refactoring.reorg.RenameMethodPerfTests2] At RenameMethodPerfTests2.java:[line 29] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.reorg.RenameMethodWithOverloadPerfTests.rpts [org.eclipse.jdt.ui.tests.refactoring.reorg.RenameMethodWithOverloadPerfTests] At RenameMethodWithOverloadPerfTests.java:[line 38] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.reorg.RenamePackagePerfTests1.rpts [org.eclipse.jdt.ui.tests.refactoring.reorg.RenamePackagePerfTests1] At RenamePackagePerfTests1.java:[line 27] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.reorg.RenamePackagePerfTests2.rpts [org.eclipse.jdt.ui.tests.refactoring.reorg.RenamePackagePerfTests2] At RenamePackagePerfTests2.java:[line 28] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.reorg.RenameTypePerfAcceptanceTests.spts [org.eclipse.jdt.ui.tests.refactoring.reorg.RenameTypePerfAcceptanceTests] At RenameTypePerfAcceptanceTests.java:[line 43] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.reorg.RenameTypePerfTests1.rpts [org.eclipse.jdt.ui.tests.refactoring.reorg.RenameTypePerfTests1] At RenameTypePerfTests1.java:[line 29] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.reorg.RenameTypePerfTests2.rpts [org.eclipse.jdt.ui.tests.refactoring.reorg.RenameTypePerfTests2] At RenameTypePerfTests2.java:[line 29] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.type.ExtractInterfaceHeapAcceptanceTests.rpts [org.eclipse.jdt.ui.tests.refactoring.type.ExtractInterfaceHeapAcceptanceTests] At ExtractInterfaceHeapAcceptanceTests.java:[line 44] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Unread public/protected field: org.eclipse.jdt.ui.tests.refactoring.type.ExtractInterfacePerfAcceptanceTests.rpts [org.eclipse.jdt.ui.tests.refactoring.type.ExtractInterfacePerfAcceptanceTests] At ExtractInterfacePerfAcceptanceTests.java:[line 46] URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Useless object stored in variable types of method org.eclipse.jdt.ui.tests.refactoring.typeconstraints.TypeEnvironmentTests._testAssignment() [org.eclipse.jdt.ui.tests.refactoring.typeconstraints.TypeEnvironmentTests] At TypeEnvironmentTests.java:[line 348] UC_USELESS_OBJECT [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ org.eclipse.jdt.ui.tests.refactoring --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests.refactoring/src/test/resources [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.jdt.ui.tests.refactoring --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests.refactoring/target/org.eclipse.jdt.ui.tests.refactoring-3.14.0-SNAPSHOT-sources.jar [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:package-plugin (default-package-plugin) @ org.eclipse.jdt.ui.tests.refactoring --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests.refactoring/target/org.eclipse.jdt.ui.tests.refactoring-3.14.0-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.jdt.ui.tests.refactoring --- [WARNING] MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.tests.refactoring:3.14.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests.refactoring/pom.xml: baseline and build artifacts have same version but different contents classifier-sources: not present in baseline [INFO] MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.tests.refactoring:3.14.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests.refactoring/pom.xml The main artifact has been replaced with the baseline version. The following attached artifacts are not present in the baseline and have been removed: [sources] [INFO] [INFO] --- tycho-surefire-plugin:2.4.0:test (default-test) @ org.eclipse.jdt.ui.tests.refactoring --- [INFO] Skipping tests [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.jdt.ui.tests.refactoring --- [INFO] Skipped [INFO] [INFO] -----< org.eclipse.jdt.ui:org.eclipse.jdt.ui.junit.sampleproject >------ [INFO] Building org.eclipse.jdt.ui.junit.sampleproject 1.0.0-SNAPSHOT [16/19] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.jdt.ui.junit.sampleproject --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.jdt.ui.junit.sampleproject --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.jdt.ui.junit.sampleproject --- [INFO] [INFO] --- license-maven-plugin:2.0.0:update-file-header (first) @ org.eclipse.jdt.ui.junit.sampleproject --- [INFO] Will check encoding: UTF-8 [INFO] config - available comment styles : * apt (header transformer with apt comment style) * xml (header transformer with xml comment style) * java (header transformer with java comment style) * rst (header transformer with rst comment style) * ftl (header transformer with free marker comment style) * mysql (header transformer with mysql comment style) * xml (header transformer with html comment style) * sql (header transformer with sql comment style) * properties (header transformer with properties file comment style) * jsp (header transformer with jsp comment style) * php (header transformer with php comment style) [INFO] Adding a license repository jar:file:/home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/.repository/org/codehaus/mojo/license-maven-plugin/2.0.0/license-maven-plugin-2.0.0.jar!/META-INF/licenses [INFO] register GNU Free Documentation License (FDL) version 1.3 [INFO] register GNU General Lesser Public License (LGPL) version 3.0 [INFO] register GNU Affero General Public License (AGPL) version 3.0 [INFO] register GNU General Public License (GPL) version 3.0 [INFO] register GNU General Public License (GPL) version 2.0 [INFO] register GNU General Public License (GPL) version 1.0 [INFO] register Apache License version 2.0 [INFO] register Eclipse Public License - v 2.0 with Secondary License [INFO] register Eclipse Public License - v 2.0 [INFO] register Eclipse Public License - v 1.0 [INFO] register Eclipse Public + Distribution License - v 1.0 [INFO] register COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 [INFO] register GNU General Lesser Public License (LGPL) version 2.1 [INFO] register MIT-License [INFO] register BSD 2-Clause License [INFO] register BSD 3-Clause License [INFO] register European Union Public License v1.1 [INFO] Will use default roots [src, target/generated-sources, target/processed-sources] [INFO] Will use default includes [**/*] [INFO] Will use processStartTag: #%L [INFO] Will use processEndTag: #L% [INFO] Will use sectionDelimiter: %% [INFO] Associate extension 'apt' to comment style 'apt' [INFO] Associate extension 'pom' to comment style 'xml' [INFO] Associate extension 'xml' to comment style 'xml' [INFO] Associate extension 'mxlm' to comment style 'xml' [INFO] Associate extension 'dtd' to comment style 'xml' [INFO] Associate extension 'fml' to comment style 'xml' [INFO] Associate extension 'xsl' to comment style 'xml' [INFO] Associate extension 'jaxx' to comment style 'xml' [INFO] Associate extension 'kml' to comment style 'xml' [INFO] Associate extension 'gsp' to comment style 'xml' [INFO] Associate extension 'tml' to comment style 'xml' [INFO] Associate extension 'svg' to comment style 'xml' [INFO] Associate extension 'java' to comment style 'java' [INFO] Associate extension 'groovy' to comment style 'java' [INFO] Associate extension 'css' to comment style 'java' [INFO] Associate extension 'jccs' to comment style 'java' [INFO] Associate extension 'cs' to comment style 'java' [INFO] Associate extension 'as' to comment style 'java' [INFO] Associate extension 'aj' to comment style 'java' [INFO] Associate extension 'c' to comment style 'java' [INFO] Associate extension 'h' to comment style 'java' [INFO] Associate extension 'cpp' to comment style 'java' [INFO] Associate extension 'js' to comment style 'java' [INFO] Associate extension 'json' to comment style 'java' [INFO] Associate extension 'ts' to comment style 'java' [INFO] Associate extension 'go' to comment style 'java' [INFO] Associate extension 'kt' to comment style 'java' [INFO] Associate extension 'rst' to comment style 'rst' [INFO] Associate extension 'ftl' to comment style 'ftl' [INFO] Associate extension 'mysql' to comment style 'mysql' [INFO] Associate extension 'xhtml' to comment style 'html' [INFO] Associate extension 'html' to comment style 'html' [INFO] Associate extension 'htm' to comment style 'html' [INFO] Associate extension 'sql' to comment style 'sql' [INFO] Associate extension 'properties' to comment style 'properties' [INFO] Associate extension 'sh' to comment style 'properties' [INFO] Associate extension 'py' to comment style 'properties' [INFO] Associate extension 'rb' to comment style 'properties' [INFO] Associate extension 'pl' to comment style 'properties' [INFO] Associate extension 'pm' to comment style 'properties' [INFO] Associate extension 'jsp' to comment style 'jsp' [INFO] Associate extension 'jspx' to comment style 'jsp' [INFO] Associate extension 'php' to comment style 'php' [INFO] Will search files to update from root /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src [INFO] Skip not found root /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/target/generated-sources [INFO] Skip not found root /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/target/processed-sources [INFO] Use description template: /org/codehaus/mojo/license/default-file-header-description.ftl [INFO] Process header 'rst' [INFO] - using Eclipse Public + Distribution License - v 1.0 [INFO] Process header 'java' [INFO] - using Eclipse Public + Distribution License - v 1.0 [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/awtui/AboutDialog.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/awtui/Logo.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/awtui/ProgressBar.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/awtui/TestRunner.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/extensions/ActiveTestSuite.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/extensions/ExceptionTestCase.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/extensions/RepeatedTest.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/extensions/TestDecorator.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/extensions/TestSetup.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/framework/Assert.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/framework/AssertionFailedError.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/framework/ComparisonFailure.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/framework/Protectable.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/framework/Test.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/framework/TestCase.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/framework/TestFailure.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/framework/TestListener.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/framework/TestResult.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/framework/TestSuite.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/runner/BaseTestRunner.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/runner/ClassPathTestCollector.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/runner/FailureDetailView.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/runner/LoadingTestCollector.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/runner/ReloadingTestSuiteLoader.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/runner/SimpleTestCollector.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/runner/Sorter.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/runner/StandardTestSuiteLoader.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/runner/TestCaseClassLoader.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/runner/TestCollector.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/runner/TestRunListener.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/runner/TestSuiteLoader.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/runner/Version.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/samples/money/IMoney.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/samples/money/Money.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/samples/money/MoneyBag.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/swingui/AboutDialog.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/swingui/CounterPanel.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/swingui/DefaultFailureDetailView.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/swingui/FailureRunView.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/swingui/ProgressBar.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/swingui/StatusLine.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/swingui/TestHierarchyRunView.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/swingui/TestRunContext.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/swingui/TestRunView.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/swingui/TestRunner.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/swingui/TestSelector.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/swingui/TestSuitePanel.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/swingui/TestTreeModel.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/textui/ResultPrinter.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/textui/TestRunner.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/test/java/junit/samples/AllTests.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/test/java/junit/samples/SimpleTest.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/test/java/junit/samples/VectorTest.java [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/test/java/junit/samples/money/MoneyTest.java [INFO] Process header 'apt' [INFO] - using Eclipse Public + Distribution License - v 1.0 [INFO] Process header 'xml' [INFO] - using Eclipse Public + Distribution License - v 1.0 [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/assembly/src.xml [INFO] Process header 'jsp' [INFO] - using Eclipse Public + Distribution License - v 1.0 [INFO] Process header 'php' [INFO] - using Eclipse Public + Distribution License - v 1.0 [INFO] Process header 'mysql' [INFO] - using Eclipse Public + Distribution License - v 1.0 [INFO] Process header 'html' [INFO] - using Eclipse Public + Distribution License - v 1.0 [INFO] Process header 'properties' [INFO] - using Eclipse Public + Distribution License - v 1.0 [INFO] - header was updated for /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/resources/junit/runner/excluded.properties [INFO] Process header 'ftl' [INFO] - using Eclipse Public + Distribution License - v 1.0 [INFO] Process header 'sql' [INFO] - using Eclipse Public + Distribution License - v 1.0 [INFO] Scan 56 files header done in 66.836ms. [INFO] All files are up-to-date. [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ org.eclipse.jdt.ui.junit.sampleproject --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 7 resources [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.jdt.ui.junit.sampleproject --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 7 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ org.eclipse.jdt.ui.junit.sampleproject --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 50 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/target/classes [WARNING] /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/framework/Assert.java: Some input files use or override a deprecated API. [WARNING] /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/framework/Assert.java: Recompile with -Xlint:deprecation for details. [WARNING] /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/samples/money/MoneyBag.java: Some input files use unchecked or unsafe operations. [WARNING] /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/main/java/junit/samples/money/MoneyBag.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.jdt.ui.junit.sampleproject >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.jdt.ui.junit.sampleproject --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.jdt.ui.junit.sampleproject <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.jdt.ui.junit.sampleproject --- [INFO] BugInstance size is 24 [INFO] Error size is 0 [INFO] Total bugs: 24 [ERROR] Medium: Inconsistent synchronization of junit.awtui.TestRunner.fRunner; locked 60% of time [junit.awtui.TestRunner, junit.awtui.TestRunner, junit.awtui.TestRunner, junit.awtui.TestRunner, junit.awtui.TestRunner] Unsynchronized access at TestRunner.java:[line 408]Unsynchronized access at TestRunner.java:[line 345]Synchronized access at TestRunner.java:[line 412]Synchronized access at TestRunner.java:[line 424]Synchronized access at TestRunner.java:[line 447] IS2_INCONSISTENT_SYNC [ERROR] Medium: Switch statement found in junit.awtui.TestRunner.testFailed(int, Test, Throwable) where default case is missing [junit.awtui.TestRunner] At TestRunner.java:[lines 82-89] SF_SWITCH_NO_DEFAULT [ERROR] Medium: junit.awtui.TestRunner$2.actionPerformed(ActionEvent) invokes System.exit(...), which shuts down the entire virtual machine [junit.awtui.TestRunner$2] At TestRunner.java:[line 141] DM_EXIT [ERROR] Medium: junit.awtui.TestRunner$9.actionPerformed(ActionEvent) invokes System.exit(...), which shuts down the entire virtual machine [junit.awtui.TestRunner$9] At TestRunner.java:[line 259] DM_EXIT [ERROR] Medium: Increment of volatile field junit.extensions.ActiveTestSuite.fActiveTestDeathCount in junit.extensions.ActiveTestSuite.runFinished(Test) [junit.extensions.ActiveTestSuite] At ActiveTestSuite.java:[line 74] VO_VOLATILE_INCREMENT [ERROR] Medium: junit.framework.Assert.assertEquals(String, boolean, boolean) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead [junit.framework.Assert] At Assert.java:[line 181] DM_BOOLEAN_CTOR [ERROR] Medium: junit.framework.Assert.assertEquals(String, byte, byte) invokes inefficient new Byte(byte) constructor; use Byte.valueOf(byte) instead [junit.framework.Assert] At Assert.java:[line 196] DM_NUMBER_CTOR [ERROR] Medium: junit.framework.Assert.assertEquals(String, char, char) invokes inefficient new Character(char) constructor; use Character.valueOf(char) instead [junit.framework.Assert] At Assert.java:[line 211] DM_NUMBER_CTOR [ERROR] Medium: junit.framework.Assert.assertEquals(String, int, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead [junit.framework.Assert] At Assert.java:[line 241] DM_NUMBER_CTOR [ERROR] Medium: junit.framework.Assert.assertEquals(String, long, long) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead [junit.framework.Assert] At Assert.java:[line 166] DM_NUMBER_CTOR [ERROR] Medium: junit.framework.Assert.assertEquals(String, short, short) invokes inefficient new Short(short) constructor; use Short.valueOf(short) instead [junit.framework.Assert] At Assert.java:[line 226] DM_NUMBER_CTOR [ERROR] High: Incorrect lazy initialization and update of static field junit.runner.BaseTestRunner.fPreferences in junit.runner.BaseTestRunner.getPreferences() [junit.runner.BaseTestRunner] At BaseTestRunner.java:[lines 47-48] LI_LAZY_INIT_UPDATE_STATIC [ERROR] Medium: junit.runner.BaseTestRunner.readPreferences() may fail to clean up java.io.InputStream [junit.runner.BaseTestRunner, junit.runner.BaseTestRunner, junit.runner.BaseTestRunner, junit.runner.BaseTestRunner, junit.runner.BaseTestRunner] Obligation to clean up resource created at BaseTestRunner.java:[line 235] is not dischargedPath continues at BaseTestRunner.java:[line 236]Path continues at BaseTestRunner.java:[line 237]Path continues at BaseTestRunner.java:[line 244]Path continues at BaseTestRunner.java:[line 245] OBL_UNSATISFIED_OBLIGATION [ERROR] Medium: junit.runner.BaseTestRunner.readPreferences() may fail to close stream [junit.runner.BaseTestRunner] At BaseTestRunner.java:[line 235] OS_OPEN_STREAM [ERROR] Medium: Load of known null value in junit.runner.TestCaseClassLoader.loadClass(String, boolean) [junit.runner.TestCaseClassLoader] At TestCaseClassLoader.java:[line 106] NP_LOAD_OF_KNOWN_NULL_VALUE [ERROR] Medium: junit.runner.TestCaseClassLoader.getClassData(File) may fail to clean up java.io.InputStream on checked exception [junit.runner.TestCaseClassLoader, junit.runner.TestCaseClassLoader, junit.runner.TestCaseClassLoader, junit.runner.TestCaseClassLoader, junit.runner.TestCaseClassLoader, junit.runner.TestCaseClassLoader] Obligation to clean up resource created at TestCaseClassLoader.java:[line 147] is not dischargedPath continues at TestCaseClassLoader.java:[line 148]Path continues at TestCaseClassLoader.java:[line 149]Path continues at TestCaseClassLoader.java:[line 151]Path continues at TestCaseClassLoader.java:[line 157]Path continues at TestCaseClassLoader.java:[line 159] OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE [ERROR] Medium: junit.runner.TestCaseClassLoader.loadJarData(String, String) may fail to close stream [junit.runner.TestCaseClassLoader] At TestCaseClassLoader.java:[line 169] OS_OPEN_STREAM [ERROR] High: Found reliance on default encoding in junit.swingui.TestRunner.loadHistory(JComboBox): new java.io.FileReader(File) [junit.swingui.TestRunner] At TestRunner.java:[line 483] DM_DEFAULT_ENCODING [ERROR] High: Found reliance on default encoding in junit.swingui.TestRunner.saveHistory(): new java.io.FileWriter(File) [junit.swingui.TestRunner] At TestRunner.java:[line 636] DM_DEFAULT_ENCODING [ERROR] Medium: junit.swingui.TestRunner.terminate() invokes System.exit(...), which shuts down the entire virtual machine [junit.swingui.TestRunner] At TestRunner.java:[line 731] DM_EXIT [ERROR] Medium: Inconsistent synchronization of junit.swingui.TestRunner.fRunner; locked 80% of time [junit.swingui.TestRunner, junit.swingui.TestRunner, junit.swingui.TestRunner, junit.swingui.TestRunner, junit.swingui.TestRunner] Unsynchronized access at TestRunner.java:[line 569]Synchronized access at TestRunner.java:[line 573]Synchronized access at TestRunner.java:[line 593]Synchronized access at TestRunner.java:[line 605]Synchronized access at TestRunner.java:[line 632] IS2_INCONSISTENT_SYNC [ERROR] Medium: Switch statement found in junit.swingui.TestRunner$1.run() where default case is missing [junit.swingui.TestRunner$1] At TestRunner.java:[lines 79-86] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Should junit.swingui.TestSelector$ParallelSwapper be a _static_ inner class? [junit.swingui.TestSelector$ParallelSwapper] At TestSelector.java:[lines 258-269] SIC_INNER_SHOULD_BE_STATIC [ERROR] Medium: junit.textui.TestRunner.runFailed(String) invokes System.exit(...), which shuts down the entire virtual machine [junit.textui.TestRunner] At TestRunner.java:[line 193] DM_EXIT [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ org.eclipse.jdt.ui.junit.sampleproject --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ org.eclipse.jdt.ui.junit.sampleproject --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/target/test-classes [WARNING] /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/test/java/junit/samples/SimpleTest.java: Some input files use or override a deprecated API. [WARNING] /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/test/java/junit/samples/SimpleTest.java: Recompile with -Xlint:deprecation for details. [WARNING] /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/test/java/junit/samples/VectorTest.java: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/test/java/junit/samples/VectorTest.java uses unchecked or unsafe operations. [WARNING] /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/src/test/java/junit/samples/VectorTest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ org.eclipse.jdt.ui.junit.sampleproject --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.jdt.ui.junit.sampleproject --- [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ org.eclipse.jdt.ui.junit.sampleproject --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/target/org.eclipse.jdt.ui.junit.sampleproject-1.0.0-SNAPSHOT.jar [INFO] [INFO] --- maven-assembly-plugin:3.3.0:single (make-assembly) @ org.eclipse.jdt.ui.junit.sampleproject --- [INFO] Reading assembly descriptor: src/assembly/src.xml [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/target/org.eclipse.jdt.ui.junit.sampleproject-1.0.0-SNAPSHOT-dist.jar [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.jdt.ui.junit.sampleproject --- [INFO] Skipped [INFO] [INFO] --------< org.eclipse.jdt:org.eclipse.jdt.ui.examples.projects >-------- [INFO] Building org.eclipse.jdt.ui.examples.projects 3.2.0-SNAPSHOT [17/19] [INFO] ---------------------------[ eclipse-plugin ]--------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.jdt.ui.examples.projects --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) @ org.eclipse.jdt.ui.examples.projects --- [INFO] The project's OSGi version is 3.2.0.v20210623-1405 [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-id (default-validate-id) @ org.eclipse.jdt.ui.examples.projects --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-version (default-validate-version) @ org.eclipse.jdt.ui.examples.projects --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.jdt.ui.examples.projects --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.examples.projects/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.jdt.ui.examples.projects --- [INFO] [INFO] --- target-platform-configuration:2.4.0:target-platform (default-target-platform) @ org.eclipse.jdt.ui.examples.projects --- [INFO] [INFO] --- maven-dependency-plugin:2.8:copy (copy) @ org.eclipse.jdt.ui.examples.projects --- [INFO] Configured Artifact: org.eclipse.jdt.ui:org.eclipse.jdt.ui.junit.sampleproject:dist:1.0.0-SNAPSHOT:jar [INFO] Copying org.eclipse.jdt.ui.junit.sampleproject-1.0.0-SNAPSHOT-dist.jar to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.examples.projects/archive/junit/org.eclipse.jdt.ui.junit.sampleproject-1.0.0-SNAPSHOT-dist.jar [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ org.eclipse.jdt.ui.examples.projects --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.examples.projects/src/main/resources [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.jdt.ui.examples.projects --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.examples.projects/src/main/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:compile (default-compile) @ org.eclipse.jdt.ui.examples.projects --- [INFO] Compiling 5 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.examples.projects/target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.jdt.ui.examples.projects >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.jdt.ui.examples.projects --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.jdt.ui.examples.projects <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.jdt.ui.examples.projects --- [INFO] BugInstance size is 0 [INFO] Error size is 0 [INFO] No errors/warnings found [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ org.eclipse.jdt.ui.examples.projects --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.examples.projects/src/test/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:testCompile (default-testCompile) @ org.eclipse.jdt.ui.examples.projects --- [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ org.eclipse.jdt.ui.examples.projects --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.jdt.ui.examples.projects --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.examples.projects/target/org.eclipse.jdt.ui.examples.projects-3.2.0-SNAPSHOT-sources.jar [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:package-plugin (default-package-plugin) @ org.eclipse.jdt.ui.examples.projects --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.examples.projects/jdtexamples.jar [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.examples.projects/target/org.eclipse.jdt.ui.examples.projects-3.2.0-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.jdt.ui.examples.projects --- [INFO] No baseline version MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.examples.projects:3.2.0-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.examples.projects/pom.xml [INFO] [INFO] --- tycho-surefire-plugin:2.4.0:integration-test (default-integration-test) @ org.eclipse.jdt.ui.examples.projects --- [INFO] Skipping tests [INFO] [INFO] --- maven-failsafe-plugin:2.22.2:verify (default-verify) @ org.eclipse.jdt.ui.examples.projects --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.jdt.ui.examples.projects --- [INFO] Skipped [INFO] [INFO] ---------< org.eclipse.jdt:org.eclipse.jdt.ui.unittest.junit >---------- [INFO] Building org.eclipse.jdt.ui.unittest.junit 1.0.200-SNAPSHOT [18/19] [INFO] ---------------------------[ eclipse-plugin ]--------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] The project's OSGi version is 1.0.200.v20210429-2046 [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-id (default-validate-id) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-version (default-validate-version) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] [INFO] --- target-platform-configuration:2.4.0:target-platform (default-target-platform) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit/src/main/resources [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit/src/main/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:compile (default-compile) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] Compiling 20 source files to /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit/target/classes [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.jdt.ui.unittest.junit >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.jdt.ui.unittest.junit <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] BugInstance size is 11 [INFO] Error size is 0 [INFO] Total bugs: 11 [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient.fPushbackReader; locked 42% of time [org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient] Unsynchronized access at RemoteTestRunnerClient.java:[line 87]Unsynchronized access at RemoteTestRunnerClient.java:[line 92]Unsynchronized access at RemoteTestRunnerClient.java:[line 92]Synchronized access at RemoteTestRunnerClient.java:[line 126]Synchronized access at RemoteTestRunnerClient.java:[line 127]Synchronized access at RemoteTestRunnerClient.java:[line 128] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient.fServerSocket; locked 71% of time [org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient] Unsynchronized access at RemoteTestRunnerClient.java:[line 85]Unsynchronized access at RemoteTestRunnerClient.java:[line 86]Synchronized access at RemoteTestRunnerClient.java:[line 190]Synchronized access at RemoteTestRunnerClient.java:[line 190]Synchronized access at RemoteTestRunnerClient.java:[line 145]Synchronized access at RemoteTestRunnerClient.java:[line 146]Synchronized access at RemoteTestRunnerClient.java:[line 147] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient.fSocket; locked 57% of time [org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient] Unsynchronized access at RemoteTestRunnerClient.java:[line 86]Unsynchronized access at RemoteTestRunnerClient.java:[line 88]Unsynchronized access at RemoteTestRunnerClient.java:[line 89]Synchronized access at RemoteTestRunnerClient.java:[line 190]Synchronized access at RemoteTestRunnerClient.java:[line 137]Synchronized access at RemoteTestRunnerClient.java:[line 138]Synchronized access at RemoteTestRunnerClient.java:[line 139] IS2_INCONSISTENT_SYNC [ERROR] Medium: Inconsistent synchronization of org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient.fWriter; locked 83% of time [org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient$ServerConnection, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient, org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient, org.eclipse.jdt.ui.unittest.junit.launcher.JUnitRemoteTestRunnerClient, org.eclipse.jdt.ui.unittest.junit.launcher.JUnitRemoteTestRunnerClient] Unsynchronized access at RemoteTestRunnerClient.java:[line 89]Synchronized access at RemoteTestRunnerClient.java:[line 121]Synchronized access at RemoteTestRunnerClient.java:[line 122]Synchronized access at RemoteTestRunnerClient.java:[line 123]Synchronized access at JUnitRemoteTestRunnerClient.java:[line 282]Synchronized access at JUnitRemoteTestRunnerClient.java:[line 283] IS2_INCONSISTENT_SYNC [ERROR] Medium: Unused public or protected field: org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient.fInputStream [org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient] In RemoteTestRunnerClient.java UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD [ERROR] Medium: Should org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient$ListenerSafeRunnable be a _static_ inner class? [org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient$ListenerSafeRunnable] At RemoteTestRunnerClient.java:[lines 41-45] SIC_INNER_SHOULD_BE_STATIC [ERROR] Medium: Should org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient$ProcessingState be a _static_ inner class? [org.eclipse.jdt.ui.unittest.junit.internal.launcher.RemoteTestRunnerClient$ProcessingState] At RemoteTestRunnerClient.java:[line 51] SIC_INNER_SHOULD_BE_STATIC [ERROR] Medium: Dead store to types in org.eclipse.jdt.ui.unittest.junit.launcher.JUnitLaunchConfigurationTab.handleSearchButtonSelected() [org.eclipse.jdt.ui.unittest.junit.launcher.JUnitLaunchConfigurationTab] At JUnitLaunchConfigurationTab.java:[line 599] DLS_DEAD_LOCAL_STORE [ERROR] Medium: Switch statement found in org.eclipse.jdt.ui.unittest.junit.launcher.JUnitLaunchShortcut.findExistingLaunchConfigurations(Object) where default case is missing [org.eclipse.jdt.ui.unittest.junit.launcher.JUnitLaunchShortcut] At JUnitLaunchShortcut.java:[lines 581-594] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Switch statement found in org.eclipse.jdt.ui.unittest.junit.launcher.JUnitLaunchShortcut.launch(Object[], String) where default case is missing [org.eclipse.jdt.ui.unittest.junit.launcher.JUnitLaunchShortcut] At JUnitLaunchShortcut.java:[lines 169-182] SF_SWITCH_NO_DEFAULT [ERROR] Medium: Should org.eclipse.jdt.ui.unittest.junit.launcher.JUnitRemoteTestRunnerClient$ListenerSafeRunnable be a _static_ inner class? [org.eclipse.jdt.ui.unittest.junit.launcher.JUnitRemoteTestRunnerClient$ListenerSafeRunnable] At JUnitRemoteTestRunnerClient.java:[lines 47-51] SIC_INNER_SHOULD_BE_STATIC [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit/src/test/resources [INFO] [INFO] --- tycho-compiler-plugin:2.4.0:testCompile (default-testCompile) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit/target/org.eclipse.jdt.ui.unittest.junit-1.0.200-SNAPSHOT-sources.jar [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:package-plugin (default-package-plugin) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit/target/org.eclipse.jdt.ui.unittest.junit-1.0.200-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.jdt.ui.unittest.junit --- [WARNING] MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.unittest.junit:1.0.200-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit/pom.xml: baseline and build artifacts have same version but different contents no-classifier: different .api_description: present in baseline only [INFO] MavenProject: org.eclipse.jdt:org.eclipse.jdt.ui.unittest.junit:1.0.200-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit/pom.xml The main artifact has been replaced with the baseline version. The following attached artifacts have been replaced with the baseline version: [sources] [INFO] [INFO] --- tycho-surefire-plugin:2.4.0:integration-test (default-integration-test) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] Skipping tests [INFO] [INFO] --- maven-failsafe-plugin:2.22.2:verify (default-verify) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] Tests are skipped. [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.jdt.ui.unittest.junit --- [INFO] Skipped [INFO] [INFO] --< org.eclipse.jdt.feature:org.eclipse.jdt.ui.unittest.junit.feature >-- [INFO] Building org.eclipse.jdt.ui.unittest.junit.feature 1.0.100-SNAPSHOT [19/19] [INFO] --------------------------[ eclipse-feature ]--------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.eclipse.jdt.ui.unittest.junit.feature --- [INFO] Deleting /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit.feature/target [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier-aggregator (default-build-qualifier-aggregator) @ org.eclipse.jdt.ui.unittest.junit.feature --- [INFO] Fetching org.eclipse.license_2.0.2.v20181016-2210.jar from https://download.eclipse.org/cbi/updates/license/2.0.2.v20181016-2210/features/ (13.05kB) [INFO] The project's OSGi version is 1.0.100.v20210429-2046 [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-id (default-validate-id) @ org.eclipse.jdt.ui.unittest.junit.feature --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:validate-version (default-validate-version) @ org.eclipse.jdt.ui.unittest.junit.feature --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (saveproperties) @ org.eclipse.jdt.ui.unittest.junit.feature --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit.feature/saveproperties [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ org.eclipse.jdt.ui.unittest.junit.feature --- [INFO] [INFO] --- target-platform-configuration:2.4.0:target-platform (default-target-platform) @ org.eclipse.jdt.ui.unittest.junit.feature --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (filter-resources) @ org.eclipse.jdt.ui.unittest.junit.feature --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit.feature/src/main/resources [INFO] [INFO] >>> spotbugs-maven-plugin:4.1.4:check (analyze-compile) > :spotbugs @ org.eclipse.jdt.ui.unittest.junit.feature >>> [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:spotbugs (spotbugs) @ org.eclipse.jdt.ui.unittest.junit.feature --- [INFO] [INFO] <<< spotbugs-maven-plugin:4.1.4:check (analyze-compile) < :spotbugs @ org.eclipse.jdt.ui.unittest.junit.feature <<< [INFO] [INFO] [INFO] --- spotbugs-maven-plugin:4.1.4:check (analyze-compile) @ org.eclipse.jdt.ui.unittest.junit.feature --- [INFO] [INFO] --- tycho-source-plugin:2.4.0:plugin-source (plugin-source) @ org.eclipse.jdt.ui.unittest.junit.feature --- [INFO] [INFO] --- tycho-packaging-plugin:2.4.0:package-feature (default-package-feature) @ org.eclipse.jdt.ui.unittest.junit.feature --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit.feature/target/org.eclipse.jdt.ui.unittest.junit.feature-1.0.100-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.jdt.ui.unittest.junit.feature --- [INFO] MavenProject: org.eclipse.jdt.feature:org.eclipse.jdt.ui.unittest.junit.feature:1.0.100-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit.feature/pom.xml The main artifact has been replaced with the baseline version. [INFO] [INFO] --- tycho-p2-plugin:2.4.0:feature-p2-metadata (default-feature-p2-metadata) @ org.eclipse.jdt.ui.unittest.junit.feature --- [INFO] [INFO] --- tycho-source-plugin:2.4.0:feature-source (feature-source) @ org.eclipse.jdt.ui.unittest.junit.feature --- [INFO] Building jar: /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit.feature/target/org.eclipse.jdt.ui.unittest.junit.feature-1.0.100-SNAPSHOT-sources-feature.jar [INFO] [INFO] --- tycho-p2-plugin:2.4.0:p2-metadata (attach-p2-metadata) @ org.eclipse.jdt.ui.unittest.junit.feature --- [INFO] MavenProject: org.eclipse.jdt.feature:org.eclipse.jdt.ui.unittest.junit.feature:1.0.100-SNAPSHOT @ /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit.feature/pom.xml The main artifact has been replaced with the baseline version. The following attached artifacts have been replaced with the baseline version: [sources-feature] [INFO] [INFO] --- tycho-p2-extras-plugin:2.4.0:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.jdt.ui.unittest.junit.feature --- [INFO] Skipped [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] eclipse.jdt.ui 4.21.0-SNAPSHOT ..................... SUCCESS [ 58.139 s] [INFO] org.eclipse.ltk.core.refactoring 3.12.0-SNAPSHOT ... SUCCESS [ 26.170 s] [INFO] org.eclipse.ltk.ui.refactoring 3.12.0-SNAPSHOT ..... SUCCESS [ 11.504 s] [INFO] org.eclipse.jdt.core.manipulation 1.15.0-SNAPSHOT .. SUCCESS [ 24.234 s] [INFO] org.eclipse.jdt.ui 3.24.0-SNAPSHOT ................. SUCCESS [01:25 min] [INFO] org.eclipse.jdt.junit.runtime 3.6.100-SNAPSHOT ..... SUCCESS [ 5.486 s] [INFO] org.eclipse.jdt.junit.core 3.11.0-SNAPSHOT ......... SUCCESS [ 7.451 s] [INFO] org.eclipse.jdt.junit 3.13.0-SNAPSHOT .............. SUCCESS [ 11.439 s] [INFO] org.eclipse.jdt.junit4.runtime 1.2.0-SNAPSHOT ...... SUCCESS [ 3.420 s] [INFO] org.eclipse.jdt.junit5.runtime 1.0.1300-SNAPSHOT ... SUCCESS [ 3.548 s] [INFO] org.eclipse.jdt.ui.tests 3.14.0-SNAPSHOT ........... SUCCESS [ 35.785 s] [INFO] org.eclipse.jdt.text.tests 3.13.1400-SNAPSHOT ...... SUCCESS [ 14.715 s] [INFO] org.eclipse.ltk.core.refactoring.tests 3.9.0-SNAPSHOT SUCCESS [ 6.283 s] [INFO] org.eclipse.ltk.ui.refactoring.tests 3.10.0-SNAPSHOT SUCCESS [ 4.062 s] [INFO] org.eclipse.jdt.ui.tests.refactoring 3.14.0-SNAPSHOT SUCCESS [ 18.434 s] [INFO] org.eclipse.jdt.ui.junit.sampleproject 1.0.0-SNAPSHOT SUCCESS [ 35.338 s] [INFO] org.eclipse.jdt.ui.examples.projects 3.2.0-SNAPSHOT SUCCESS [ 19.360 s] [INFO] org.eclipse.jdt.ui.unittest.junit 1.0.200-SNAPSHOT . SUCCESS [ 7.058 s] [INFO] org.eclipse.jdt.ui.unittest.junit.feature 1.0.100-SNAPSHOT SUCCESS [ 0.446 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 07:20 min [INFO] Finished at: 2021-07-30T03:22:14Z [INFO] ------------------------------------------------------------------------ [SpotBugs] Using default pattern '**/spotbugsXml.xml' since user defined pattern is not set [SpotBugs] Searching for all files in '/home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs' that match the pattern '**/spotbugsXml.xml' [SpotBugs] -> found 17 files [SpotBugs] Successfully parsed file /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.core.manipulation/target/spotbugsXml.xml [SpotBugs] -> found 37 issues (skipped 0 duplicates) [SpotBugs] Successfully parsed file /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.core/target/spotbugsXml.xml [SpotBugs] -> found 24 issues (skipped 0 duplicates) [SpotBugs] Successfully parsed file /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit.runtime/target/spotbugsXml.xml [SpotBugs] -> found 7 issues (skipped 0 duplicates) [SpotBugs] Successfully parsed file /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit/target/spotbugsXml.xml [SpotBugs] -> found 11 issues (skipped 0 duplicates) [SpotBugs] Successfully parsed file /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit4.runtime/target/spotbugsXml.xml [SpotBugs] -> found 1 issue (skipped 0 duplicates) [SpotBugs] Successfully parsed file /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.junit5.runtime/target/spotbugsXml.xml [SpotBugs] -> found 0 issues (skipped 0 duplicates) [SpotBugs] Successfully parsed file /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.text.tests/target/spotbugsXml.xml [SpotBugs] -> found 48 issues (skipped 0 duplicates) [SpotBugs] Successfully parsed file /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.examples.projects/target/spotbugsXml.xml [SpotBugs] -> found 0 issues (skipped 0 duplicates) [SpotBugs] Successfully parsed file /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.junit.sampleproject/target/spotbugsXml.xml [SpotBugs] -> found 24 issues (skipped 0 duplicates) [SpotBugs] Successfully parsed file /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests.refactoring/target/spotbugsXml.xml [SpotBugs] -> found 56 issues (skipped 0 duplicates) [SpotBugs] Successfully parsed file /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.tests/target/spotbugsXml.xml [SpotBugs] -> found 106 issues (skipped 0 duplicates) [SpotBugs] Successfully parsed file /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui.unittest.junit/target/spotbugsXml.xml [SpotBugs] -> found 11 issues (skipped 0 duplicates) [SpotBugs] Successfully parsed file /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.jdt.ui/target/spotbugsXml.xml [SpotBugs] -> found 370 issues (skipped 3 duplicates) [SpotBugs] Successfully parsed file /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring.tests/target/spotbugsXml.xml [SpotBugs] -> found 9 issues (skipped 0 duplicates) [SpotBugs] Successfully parsed file /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.core.refactoring/target/spotbugsXml.xml [SpotBugs] -> found 13 issues (skipped 0 duplicates) [SpotBugs] Successfully parsed file /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring.tests/target/spotbugsXml.xml [SpotBugs] -> found 0 issues (skipped 0 duplicates) [SpotBugs] Successfully parsed file /home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs/org.eclipse.ltk.ui.refactoring/target/spotbugsXml.xml [SpotBugs] -> found 11 issues (skipped 0 duplicates) [SpotBugs] Post processing issues on 'basic-qsldd' with source code encoding 'UTF-8' [SpotBugs] Creating SCM blamer to obtain author and commit information for affected files [SpotBugs] -> No blamer installed yet. You need to install the 'git-forensics' plugin to enable blaming for Git. [SpotBugs] Resolving file names for all issues in source directory '/home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs' [SpotBugs] -> resolved paths in source directory (452 found, 0 not found) [SpotBugs] Resolving module names from module definitions (build.xml, pom.xml, or Manifest.mf files) [SpotBugs] -> all issues already have a valid module name [SpotBugs] Resolving package names (or namespaces) by parsing the affected files [SpotBugs] -> all affected files already have a valid package name [SpotBugs] No filter has been set, publishing all 728 issues [SpotBugs] Creating fingerprints for all affected code blocks to track issues over different builds [SpotBugs] -> created fingerprints for 0 issues (skipped 728 issues) [SpotBugs] Copying affected files to Jenkins' build folder '/var/jenkins/jobs/eclipse.jdt.ui-SpotBugs/builds/449/files-with-issues' [SpotBugs] -> 452 copied, 0 not in workspace, 0 not-found, 0 with I/O error [SpotBugs] Repository miner is not configured, skipping repository mining [SpotBugs] Reference build recorder is not configured [SpotBugs] Obtaining reference build from same job (eclipse.jdt.ui-SpotBugs) [SpotBugs] Using reference build 'eclipse.jdt.ui-SpotBugs #448' to compute new, fixed, and outstanding issues [SpotBugs] Issues delta (vs. reference build): outstanding: 728, new: 0, fixed: 0 [SpotBugs] No quality gates have been set - skipping [SpotBugs] Health report is disabled - skipping [SpotBugs] Created analysis result for 728 issues (found 0 new issues, fixed 0 issues) [SpotBugs] Attaching ResultAction with ID 'spotbugs' to build 'eclipse.jdt.ui-SpotBugs #449'. [Checks API] No suitable checks publisher found. [Maven] Sleeping for 5 seconds due to JENKINS-32191... [Maven] Parsing console log (workspace: '/home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs') [Maven] -> found 26 issues (skipped 0 duplicates) [Maven] Parsing console log (workspace: '/home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs') [Maven] -> found 26 issues (skipped 0 duplicates) [Maven] Successfully parsed console log [Maven] -> found 26 issues (skipped 0 duplicates) [Maven] Parsing console log (workspace: '/home/jenkins/agent/workspace/eclipse.jdt.ui-SpotBugs') [Maven] Skipping post processing [Maven] No filter has been set, publishing all 26 issues [Maven] Repository miner is not configured, skipping repository mining [Maven] Reference build recorder is not configured [Maven] Obtaining reference build from same job (eclipse.jdt.ui-SpotBugs) [Maven] Using reference build 'eclipse.jdt.ui-SpotBugs #448' to compute new, fixed, and outstanding issues [Maven] Issues delta (vs. reference build): outstanding: 26, new: 0, fixed: 1 [Maven] No quality gates have been set - skipping [Maven] Health report is disabled - skipping [Maven] Created analysis result for 26 issues (found 0 new issues, fixed 1 issues) [Maven] Attaching ResultAction with ID 'maven-warnings' to build 'eclipse.jdt.ui-SpotBugs #449'. [Checks API] No suitable checks publisher found. Finished: SUCCESS