Category: | Bug report |
Priority: | Normal |
Status: | New |
Project: | Severity: | Major |
Resolution: | Open |
|
Component: | Reproducibility: | Always |
Assigned to: |
Cannot open iReport Designer with JDK 8
Error found in log:
java.lang.IllegalStateException: java.lang.IllegalAccessException: Class org.openide.util.WeakListenerImpl$ProxyListener can not access a member of class org.openide.filesystems.$Proxy0 with modifiers "public"
at org.openide.util.WeakListenerImpl$ProxyListener.<init>(WeakListenerImpl.java:413)
at org.openide.util.WeakListenerImpl.create(WeakListenerImpl.java:154)
at org.openide.util.WeakListeners.create(WeakListeners.java:268)
at org.openide.filesystems.MultiFileObject.<init>(MultiFileObject.java:116)
at org.openide.filesystems.MultiFileObject.<init>(MultiFileObject.java:133)
at org.openide.filesystems.MultiFileSystem.getMultiRoot(MultiFileSystem.java:251)
at org.openide.filesystems.MultiFileSystem.getRoot(MultiFileSystem.java:236)
at org.netbeans.core.startup.ModuleSystem.<init>(ModuleSystem.java:112)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:155)
at org.netbeans.core.startup.Main.start(Main.java:312)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalAccessException: Class org.openide.util.WeakListenerImpl$ProxyListener can not access a member of class org.openide.filesystems.$Proxy0 with modifiers "public"
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:101)
at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:295)
at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:287)
at java.lang.reflect.Constructor.newInstance(Constructor.java:398)
at org.openide.util.WeakListenerImpl$ProxyListener.<init>(WeakListenerImpl.java:403)
... 11 more
--Running Environment Info--
Oracle JDK:
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
OS:
Windows 8.1 Pro 64-bit
9 Comments:
Me too. My system is:
OS: Ubuntu Linux 14.04
IReport 5.6.0
Java 1.8.0_11-b12
The missing class seem to have something to do with the netbeen ide environment.
I hope we don't have install netbean to run the thing.
That's simple because JasperReports still does not support JDK 8.
It appears the NetBeans has been hit with the same problems with respect to JDK8/openide being incompatable.
See Bug 229191 - Cannot start NetBeans on JDK8 because ISE occurs
The problem got a P1 Priority in NetBeans. Any clues as how to make the same fix in iReport. Is it just a matter of getting a new openide jar from netbeans?
Development of iReports has already ended and Jaspersoft has encouraged users to switched to Jaspersoft Studio.
FYI, Jaspersoft Studio does work with JDK8.
1.- install JDK 1.7,
2.- Change this line
#jdkhome="/path/to/jdk"
into {IREPORT_HOME}\etc\ireport.conf
for this:
jdkhome="{YOUR_JAVA_1_7_HOME}"
for example:
jdkhome="C:\Archivos de programa\Java\jdk1.7.0_71\jre"
(Don't forget delete sharp caracter)
setting the jdkhome to jdk1.7 works great
I have install ireport 5.6.0 When starting a logo appear and then disappear. irport is not starting. What should I do.
Hi Nad436, iReport development has been stopped in favor of Jaspersoft Studio several years ago. Anyway, I assume iReport may not work with java 1.8, but the problem may also be different. In your home directory you should find an ide log which may tell you what the problem is (something like <user home>/ireport/var/log.
You may also want to try to run iReport from the command line in order to have some kind of output.
Thank you
Giulio