java.lang.NoSuchFieldException: modifiers

See original GitHub issue

Pressing the ‘Run’ button causes the following exception:

java.lang.NoSuchFieldException: modifiers
	at java.base/java.lang.Class.getDeclaredField(Class.java:2417)
	at com.javadeobfuscator.deobfuscator.ui.util.Reflect.setFieldO(Reflect.java:124)
	at com.javadeobfuscator.deobfuscator.ui.wrap.Config.setTransformers(Config.java:34)
	at com.javadeobfuscator.deobfuscator.ui.SwingWindow$15$1.run(SwingWindow.java:809)
	at java.base/java.lang.Thread.run(Thread.java:835)

Problematic line is: Field acc = Field.class.getDeclaredField("modifiers");

My config:

OpenJDK Runtime Environment (build 12+32)
OpenJDK 64-Bit Server VM (build 12+32, mixed mode, sharing)

Distributor ID:	LinuxMint
Description:	Linux Mint 19.1 Tessa
Release:	19.1
Codename:	tessa

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ThisTestUsercommented, Jul 29, 2020

Should be fixed in the latest release.

0reactions
Giovanniz24commented, Jul 30, 2022

vgcggc

Read more comments on GitHub >

github_iconTop Results From Across the Web

JDK11 to JDK12 Migration java.lang.NoSuchFieldException
NoSuchFieldException : modifiers at java.base/java.lang.Class.getDeclaredField(Class.java:2549) at pii.rest.call.RestUtils.
Read more >
Error with JDK12+ "java.lang.NoSuchFieldException: modifiers"
Exception in thread "main" java.lang.AssertionError: java.lang.NoSuchFieldException: modifiers at org.apache.hadoop.fs.
Read more >
Uses of Class java.lang.NoSuchFieldException
Uses of NoSuchFieldException in java.lang. Methods in java.lang that throw NoSuchFieldException. Modifier and Type, Method and Description ...
Read more >
[DISCUSS] Refactoring unit tests which changed modifiers of ...
Hi all Since the latest LTS Java 17 has been released, it's better to support ... It will cause `java.lang.NoSuchFieldException: modifiers`.
Read more >
[#HBASE-25516] [JDK17] reflective access Field ... - Apache
NoSuchFieldException : modifiers at java.base/java.lang.Class.getDeclaredField(Class.java:2417) at org.apache.hadoop.hbase.fs.HFileSystem.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found