« Return to Thread: VMClassLoader.getPrimitiveClass

VMClassLoader.getPrimitiveClass

by Juan C. Olivares-2 :: Rate this Message:

Reply to Author | View in Thread

Hi everyone:

I have a problem running the Java xhtml renderer. When I try to generate a simple PDF (it uses iText internally), I get this exception:

System.MissingMethodException: Method not found: 'IKVM.NativeCode.java.lang.VMClassLoader.getPrimitiveClass'

  at java.lang.Integer..cctor () [0x00000] --- End of inner exception stack trace ---

  at java.lang.StringHelper.valueOf (Int32 ) [0x00000]
  at java.lang.String.valueOf (Int32 i) [0x00000]
  at java.lang.StringBuilder.append (Int32 inum) [0x00000]
  at gnu.classpath.VMSystemProperties.preInit (java.util.Properties ) [0x00000]
  at gnu.classpath.SystemProperties..cctor () [0x00000] --- End of inner exception stack trace ---

  at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment () [0x00000]
  at org.xhtmlrenderer.context.AWTFontResolver.init () [0x00000]
  at org.xhtmlrenderer.context.AWTFontResolver..ctor () [0x00000]
  at org.xhtmlrenderer.layout.SharedContext..ctor (UserAgentCallback uac) [0x00000]
  at org.xhtmlrenderer.pdf.ITextRenderer..ctor (Single dotsPerPoint, Int32 dotsPerPixel) [0x00000]
  at org.xhtmlrenderer.pdf.ITextRenderer..ctor () [0x00000]
  at Test.Main () [0x00000]

Can you help me with this?

Regards
Juan Cristóbal Olivares
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ikvm-developers mailing list
Ikvm-developers@...
https://lists.sourceforge.net/lists/listinfo/ikvm-developers

 « Return to Thread: VMClassLoader.getPrimitiveClass

LightInTheBox - Buy quality products at wholesale price!