prathappalukuru / doclava

Automatically exported from code.google.com/p/doclava
Apache License 2.0
0 stars 0 forks source link

Error: class file for sun.util.resources.OpenListResourceBundle not found #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using Java JDK 1.6 use Doclava
2. Run it

I get an error:
javadoc: error - In doclet class com.google.doclava.Doclava,  method start has 
thrown an exception java.lang.reflect.InvocationTargetException
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for 
sun.util.resources.OpenListResourceBundle not found

Original issue reported on code.google.com by ada...@gmail.com on 12 May 2011 at 11:53

GoogleCodeExporter commented 9 years ago
Possible solution is to set a fork attribute and point to a Java5JDK 
installation 

Original comment by fred.gr...@gmail.com on 18 Dec 2011 at 3:42

GoogleCodeExporter commented 9 years ago
I am also seeing this error on linux.

java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01, mixed mode)

I don't see it on Mac OS X.
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

Switching to JDK 1.5 does NOT solve the problem as clearsilver won't run on 1.5:
javadoc: error - In doclet class com.google.doclava.Doclava,  method start has 
thrown an exception java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
    at com.google.clearsilver.jsilver.values.Value.literalValue(Value.java:123)
...

Anybody got a solution to this?

Original comment by Nicholas...@gmail.com on 14 Feb 2013 at 11:21

GoogleCodeExporter commented 9 years ago
Found the solution here:
http://code.google.com/p/android/issues/detail?id=1261

Add -XDignore.symbol.file to the javadoc command line.

The bug on sun.com is hilarious reading:
http://bugs.sun.com/view_bug.do?bug_id=6544224

Original comment by Nicholas...@gmail.com on 14 Feb 2013 at 12:45