I'm working on a fairly large project, that has a fully developed UI, etc. I'm trying to integrate bytecode authoring capabilities into it, but I run into the following problem.
When I run the program with BCEL's JavaWrapper, I get this error on Windows machines, using Java version "1.5.0_06-b05" : Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at com.sun.java.swing.SwingUtilities2.drawTextAntialiased(SwingUtilities2.java:134) at com.sun.java.swing.SwingUtilities2.drawString(SwingUtilities2.java:397) ... On Java 1.4.2, I get this error: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.bcel.util.JavaWrapper.runMain(JavaWrapper.java:127) at org.apache.bcel.util.JavaWrapper.main(JavaWrapper.java:149) Caused by: java.lang.UnsatisfiedLinkError: getTextResourceByInt at com.sun.java.swing.plaf.windows.XPStyle.getTextResourceByInt(Native Method) ... It runs fine on Mac machines though. I believe the errors are related to resources failing to load. Has anyone else had problems with resource loading when using JavaWrapper? Thanks, Forrest --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]