Java.lang.ClassFormatError: EDU/oswego/cs/dl/util/concurrent/ConcurrentRead

Hi,
I try to load an XML-File into my Applet with jdom4. But when reading in the Document with the SAX-Reader I get this Error:
java.lang.ClassFormatError: EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap (Bad magic number)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.dom4j.tree.NamespaceCache.<clinit>(NamespaceCache.java:48)
at org.dom4j.Namespace.<clinit>(Namespace.java:24)
at org.dom4j.DocumentFactory.createNamespace(DocumentFactory.java:161)
at org.dom4j.tree.NamespaceStack.createNamespace(NamespaceStack.java:286)
at org.dom4j.tree.NamespaceStack.getQName(NamespaceStack.java:167)
at org.dom4j.io.SAXContentHandler.startElement(SAXContentHandler.java:221)
at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
at org.apache.crimson.parser.Parser2.parse(Unknown Source)
at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:334)
at org.dom4j.io.SAXReader.read(SAXReader.java:236)
at client.Load.<init>(Load.java:42)
at client.Login.startLoad(Login.java:183)
at client.ParamTimer.run(ParamTimer.java:30)
I use JRE 1.4.2_05! With JRE 1.5 I get a warning and then the JRE switches to his own SAX Parser.
How can I solve this???
Greets

The error message says that the class file has a bad "magic number." Magic number is the first four bytes of a .class file and in a valid file they should be CA FE BA BE (in hex); "bad magic number" means that the first four bytes are something else and therefore it's not a valid Java .class file.

Similar Messages

  • Error Involving EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap

    The JVM is crashing and I am getting the following error. I am having a hard time getting started figuring out why this is happening. I am not using this method directly and am having a hard time figuring out what is leading to this. In Eclipse when I use open type the ConcurrentReaderHashMap class does not show up. Does this mean the class is coming from the JVM jar files? I am using java.util.concurrent.ConcurrentHashMap. I am wondering if it is being called from ConcurrentHashMap? When I use the Eclipse open type with ConcurrentHashMap I get two classes java.util.concurrent.ConcurrentHashMap and edu.emory.mathcs.backport.java.util.concurrent from the jar apache-activemq-4.1.1.jar. If I am correct and ConcurrentReaderHashMap is being called from ConcurrentHashMap. How can I figure out which one? I am using activemq, so if it is being called from activemq, there is little I can do from my code without taking on looking at the source from activemq. If it is from java.util.concurrent.ConcurrentHashMap, I may have more direct control. The strange thing about this is from the java doc from ConcurrentHashMap, I get the impression that thread safe iterators is one of the benefits of using ConcurrentHashMap over HashTable or Collections.synchronizedMap. Is this wrong? Any ideas you can provide me would be greatly appreciated. Thanks in Advance! The contents of the hs_err_pid file appears below:
    # An unexpected error has been detected by Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0xb642e40e, pid=10152, tid=2990115744
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode, sharing)
    # Problematic frame:
    # J EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap$HashIterator.hasNext()Z
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x0813a800): JavaThread "DeployerRunnable Thread for dai-core" [_thread_in_Java, id=17757]
    siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0xc99afacf
    Registers:
    EAX=0x499afad0, EBX=0x86e6f328, ECX=0x443b6620, EDX=0x86e6f928
    ESP=0xb23972a0, EBP=0xb23972b8, ESI=0x499afad0, EDI=0x00000019
    EIP=0xb642e40e, CR2=0xc99afacf, EFLAGS=0x00210212
    Top of Stack: (sp=0xb23972a0)
    0xb23972a0: 443b6620 443b6620 b23972a8 86e6e4dc
    0xb23972b0: b23972d0 86e6ea28 b23972fc b5f2718d
    0xb23972c0: 00000000 b23972d0 86e6f910 b5f2718d
    0xb23972d0: 443b6620 00000009 498c47e0 b23972d4
    0xb23972e0: 8583aadb b239731c 858acf40 00000000
    0xb23972f0: 8583ade8 b23972d0 b239731c b2397348
    0xb2397300: b5f26edd 00000000 00000000 00000000
    0xb2397310: 00000000 443b6620 498c47e0 498c1010
    Instructions: (pc=0xb642e40e)
    0xb642e3fe: 66 90 8b 71 0c 83 fe 00 0f 84 67 00 00 00 3b 06
    0xb642e40e: 8b be ff ff ff 7f 83 ff 00 0f 85 a0 00 00 00 3b
    Stack: [0xb2348000,0xb2399000), sp=0xb23972a0, free space=316k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    J EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap$HashIterator.hasNext()Z
    j com.evermind.server.http.HttpApplication.destroyServlets()V+23
    j com.evermind.server.http.HttpApplication.destroy()V+182
    j com.evermind.server.http.HttpApplication.stopCleanUp(Ljava/util/List;)V+10
    j com.evermind.server.http.HttpApplication.componentStop(Ljava/util/List;)V+26
    j com.evermind.server.Application.doStop()V+208
    j com.evermind.server.Application.stop()V+8
    j oracle.oc4j.admin.management.mbeans.J2EEStateManageableObjectBase.stop()V+108
    j oracle.oc4j.admin.management.mbeans.J2EEApplication.stop()V+323
    v ~StubRoutines::call_stub
    V [libjvm.so+0x20bc6d]
    V [libjvm.so+0x30a828]
    V [libjvm.so+0x20bb00]
    V [libjvm.so+0x33156f]
    V [libjvm.so+0x333f6c]
    V [libjvm.so+0x277c28]
    C [libjava.so+0x15224] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x34
    J sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    J sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    J sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    J java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    j sun.reflect.misc.Trampoline.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+3
    j sun.reflect.GeneratedMethodAccessor40.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+40
    J sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    J java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    j sun.reflect.misc.MethodUtil.invoke(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+63
    j javax.management.modelmbean.RequiredModelMBean.invokeMethod(Ljava/lang/String;Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+11
    j javax.management.modelmbean.RequiredModelMBean.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;+657
    j oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;+65
    j com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;+28
    j com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;+13
    j oracle.oc4j.admin.jmx.server.state.ApplicationStateFilterMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;+14
    j oracle.oc4j.admin.internal.ApplicationDeployer.stopApplication()V+45
    j oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(Z)Z+93
    j oracle.oc4j.admin.internal.DeployerBase.execute(Z)Ljava/util/Map;+58
    j oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun()V+47
    j oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run()V+53
    J com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run()V
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    V [libjvm.so+0x20bc6d]
    V [libjvm.so+0x30a828]
    V [libjvm.so+0x20b580]
    V [libjvm.so+0x20b60d]
    V [libjvm.so+0x27b845]
    V [libjvm.so+0x384190]
    V [libjvm.so+0x30b719]
    C [libpthread.so.0+0x53cc]
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    =>0x0813a800 JavaThread "DeployerRunnable Thread for dai-core" [_thread_in_Java, id=17757]
    0x08137c00 JavaThread "EventManager::oc4j-128.115.222.7-23943-default" daemon [_thread_blocked, id=17756]
    0x08137000 JavaThread "Thread-102039" [_thread_blocked, id=17754]
    0xb1101400 JavaThread "ActiveMQ Session Task" daemon [_thread_blocked, id=17740]
    0x082d7400 JavaThread "MetricCollector:METRICCOLL50:5" daemon [_thread_blocked, id=17725]
    0x081c8800 JavaThread "RMICallHandler-12" [_thread_blocked, id=17716]
    0x081c8400 JavaThread "RMICallHandler-11" [_thread_blocked, id=17715]
    0x08191400 JavaThread "RMICallHandler-10" [_thread_blocked, id=17701]
    0xb359a800 JavaThread "RMIConnectionThread" [_thread_in_native, id=10419]
    0x080dd800 JavaThread "TimerThread300000" daemon [_thread_blocked, id=10399]
    0x08288400 JavaThread "CacheManager" daemon [_thread_blocked, id=10398]
    0x08268000 JavaThread "RMIConnectionThread" [_thread_in_native, id=10387]
    0xb355e000 JavaThread "EmChartCacheWorker" daemon [_thread_blocked, id=10386]
    0x0811c800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10328]
    0x0811b800 JavaThread "Thread-93" daemon [_thread_in_native, id=10327]
    0x0810f400 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10326]
    0x08100c00 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10324]
    0xb50bc000 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10322]
    0xb5267400 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10320]
    0x081b6800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10318]
    0xb5224800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10314]
    0x081a7c00 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10313]
    0xb35fec00 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10310]
    0x08198c00 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10308]
    0xb4cec800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10306]
    0xb522e400 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10304]
    0x08188800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10302]
    0xb4d2e800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10301]
    0x0816e000 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10298]
    0xb4b4e400 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10297]
    0xb52f8c00 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10294]
    0xb50aa000 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10292]
    0xb4b46800 JavaThread "DestroyJavaVM" [_thread_blocked, id=10153]
    0xb35ffc00 JavaThread "TaskManager" [_thread_blocked, id=10291]
    0x081ce400 JavaThread "Timer-18" [_thread_blocked, id=10288]
    0xb35fd000 JavaThread "Timer-17" [_thread_blocked, id=10287]
    0xb35f1800 JavaThread "Timer-16" [_thread_blocked, id=10286]
    0xb3539400 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10285]
    0xb35acc00 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10282]
    0xb35ba400 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10280]
    0xb3cb7c00 JavaThread "Timer-15" [_thread_blocked, id=10278]
    0xb35cac00 JavaThread "Timer-14" [_thread_blocked, id=10275]
    0xb35ce000 JavaThread "Timer-13" [_thread_blocked, id=10274]
    0xb35b5c00 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10273]
    0xb35bc400 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10271]
    0xb35be800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10269]
    0xb3997800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10266]
    0xb359bc00 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10264]
    0xb353d800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10262]
    0xb39a1400 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10260]
    0xb3996c00 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10258]
    0xb359d400 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10256]
    0xb358c000 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10254]
    0xb3542800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10252]
    0xb355ec00 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10250]
    0xb359e000 JavaThread "Timer-12" [_thread_blocked, id=10247]
    0xb35a5000 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10246]
    0xb35a0800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10244]
    0xb35a2000 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10242]
    0xb3596c00 JavaThread "Timer-11" [_thread_blocked, id=10239]
    0xb3596000 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10238]
    0xb359c400 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10236]
    0xb3595800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10234]
    0xb357fc00 JavaThread "Timer-10" [_thread_blocked, id=10231]
    0xb357f800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10230]
    0xb357d400 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10228]
    0xb3579000 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10226]
    0xb353f800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10223]
    0xb3543400 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10221]
    0xb353ec00 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10219]
    0xb3552400 JavaThread "Timer-9" [_thread_blocked, id=10217]
    0xb3550800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10215]
    0xb355c800 JavaThread "Thread-30" daemon [_thread_in_native, id=10214]
    0xb3544800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10212]
    0xb3548400 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10209]
    0xb3547800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10207]
    0xb354f800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10205]
    0xb354e800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10203]
    0xb399fc00 JavaThread "Thread-23" daemon [_thread_in_native, id=10200]
    0xb3920000 JavaThread "Timer-8" [_thread_blocked, id=10197]
    0xb391e400 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10196]
    0xb3916000 JavaThread "Thread-19" daemon [_thread_in_native, id=10195]
    0xb3915400 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10194]
    0xb49f1800 JavaThread "ActiveMQ Transport: tcp://dai3/128.115.222.163:61616" [_thread_in_native, id=10192]
    0xb4036800 JavaThread "Timer-7" [_thread_blocked, id=10189]
    0xb5225800 JavaThread "Timer-6" [_thread_blocked, id=10188]
    0xb4d23800 JavaThread "SystemThreadGroup-6" [_thread_in_native, id=10187]
    0xb4014800 JavaThread "SystemThreadGroup-5" [_thread_in_native, id=10186]
    0xb49f8400 JavaThread "SystemThreadGroup-4" [_thread_blocked, id=10185]
    0xb4d27c00 JavaThread "Timer-5" [_thread_blocked, id=10184]
    0xb49ff400 JavaThread "Timer-4" [_thread_blocked, id=10183]
    0xb50e2800 JavaThread "Timer-3" [_thread_blocked, id=10182]
    0xb49ea000 JavaThread "Timer-1" daemon [_thread_blocked, id=10180]
    0xb49a4c00 JavaThread "WorkExecutorWorkerThread-1" daemon [_thread_blocked, id=10179]
    0xb499ec00 JavaThread "Thread-8" daemon [_thread_blocked, id=10178]
    0xb496a400 JavaThread "Timer-0" [_thread_blocked, id=10176]
    0xb4d32c00 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=10175]
    0xb501cc00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=10174]
    0xb4941c00 JavaThread "RMIServer [0.0.0.0:23943] count:1" [_thread_in_native, id=10173]
    0xb4b4d800 JavaThread "RMIServer [0.0.0.0:23791] count:1" [_thread_in_native, id=10172]
    0xb501ac00 JavaThread "JMSServer[salsa:9127]" [_thread_in_native, id=10171]
    0x0837d800 JavaThread "WsMgmtWorkScheduler" daemon [_thread_blocked, id=10170]
    0x08360400 JavaThread "WsMgmtWorkScheduler" daemon [_thread_blocked, id=10169]
    0x08324400 JavaThread "Timer ServiceThread" [_thread_blocked, id=10168]
    0x08368c00 JavaThread "Scheduler ServiceThread" [_thread_blocked, id=10167]
    0x0835b000 JavaThread "Event ServiceThread" [_thread_blocked, id=10166]
    0x0830a800 JavaThread "LogFlusher" daemon [_thread_blocked, id=10164]
    0x0830dc00 JavaThread "LogFlusher" daemon [_thread_blocked, id=10163]
    0x0830f400 JavaThread "LogFlusher" daemon [_thread_blocked, id=10162]
    0x0808c800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10159]
    0x0808b000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10158]
    0x08089c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10157]
    0x08081800 JavaThread "Finalizer" daemon [_thread_blocked, id=10156]
    0x08080400 JavaThread "Reference Handler" daemon [_thread_blocked, id=10155]
    Other Threads:
    0x0807f000 VMThread [id=10154]
    0x0808e400 WatcherThread [id=10160]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 3648K, used 1498K [0x442a0000, 0x44690000, 0x49160000)
    eden space 3264K, 34% used [0x442a0000, 0x443b6b80, 0x445d0000)
    from space 384K, 100% used [0x445d0000, 0x44630000, 0x44630000)
    to space 384K, 0% used [0x44630000, 0x44630000, 0x44690000)
    tenured generation total 43488K, used 19246K [0x49160000, 0x4bbd8000, 0x842a0000)
    the space 43488K, 44% used [0x49160000, 0x4a42b9d8, 0x4a42ba00, 0x4bbd8000)
    compacting perm gen total 48640K, used 48465K [0x842a0000, 0x87220000, 0x942a0000)
    the space 48640K, 99% used [0x842a0000, 0x871f4458, 0x871f4600, 0x87220000)
    ro space 8192K, 73% used [0x942a0000, 0x94882560, 0x94882600, 0x94aa0000)
    rw space 12288K, 58% used [0x94aa0000, 0x95197448, 0x95197600, 0x956a0000)
    Dynamic libraries:
    0014e000-00156000 r-xp 00000000 08:01 91357260 /lib/tls/librt-2.3.4.so
    00156000-00157000 r-xp 00007000 08:01 91357260 /lib/tls/librt-2.3.4.so
    00157000-00158000 rwxp 00008000 08:01 91357260 /lib/tls/librt-2.3.4.so
    00158000-00162000 rwxp 00158000 00:00 0
    0028b000-002a1000 r-xp 00000000 08:01 91357186 /lib/ld-2.3.4.so
    002a1000-002a2000 r-xp 00015000 08:01 91357186 /lib/ld-2.3.4.so
    002a2000-002a3000 rwxp 00016000 08:01 91357186 /lib/ld-2.3.4.so
    002a5000-003cb000 r-xp 00000000 08:01 91357199 /lib/tls/libc-2.3.4.so
    003cb000-003cd000 r-xp 00125000 08:01 91357199 /lib/tls/libc-2.3.4.so
    003cd000-003cf000 rwxp 00127000 08:01 91357199 /lib/tls/libc-2.3.4.so
    003cf000-003d1000 rwxp 003cf000 00:00 0
    003d3000-003f4000 r-xp 00000000 08:01 91357212 /lib/tls/libm-2.3.4.so
    003f4000-003f5000 r-xp 00020000 08:01 91357212 /lib/tls/libm-2.3.4.so
    003f5000-003f6000 rwxp 00021000 08:01 91357212 /lib/tls/libm-2.3.4.so
    003f8000-003fa000 r-xp 00000000 08:01 91357214 /lib/libdl-2.3.4.so
    003fa000-003fb000 r-xp 00001000 08:01 91357214 /lib/libdl-2.3.4.so
    003fb000-003fc000 rwxp 00002000 08:01 91357214 /lib/libdl-2.3.4.so
    00501000-0050f000 r-xp 00000000 08:01 91357218 /lib/tls/libpthread-2.3.4.so
    0050f000-00510000 r-xp 0000d000 08:01 91357218 /lib/tls/libpthread-2.3.4.so
    00510000-00511000 rwxp 0000e000 08:01 91357218 /lib/tls/libpthread-2.3.4.so
    00511000-00513000 rwxp 00511000 00:00 0
    00623000-00632000 r-xp 00000000 08:01 91357234 /lib/libresolv-2.3.4.so
    00632000-00633000 r-xp 0000f000 08:01 91357234 /lib/libresolv-2.3.4.so
    00633000-00634000 rwxp 00010000 08:01 91357234 /lib/libresolv-2.3.4.so
    00634000-00636000 rwxp 00634000 00:00 0
    00820000-00827000 r-xp 00000000 08:01 68757852 /usr/X11R6/lib/libXi.so.6.0
    00827000-00828000 rwxp 00006000 08:01 68757852 /usr/X11R6/lib/libXi.so.6.0
    0083b000-00848000 r-xp 00000000 08:01 68759646 /usr/X11R6/lib/libXext.so.6.4
    00848000-00849000 rwxp 0000c000 08:01 68759646 /usr/X11R6/lib/libXext.so.6.4
    00870000-00877000 r-xp 00000000 08:01 68763552 /usr/X11R6/lib/libXrender.so.1.2.2
    00877000-00878000 rwxp 00006000 08:01 68763552 /usr/X11R6/lib/libXrender.so.1.2.2
    008b6000-008be000 r-xp 00000000 08:01 68763554 /usr/X11R6/lib/libXcursor.so.1.0.2
    008be000-008bf000 rwxp 00007000 08:01 68763554 /usr/X11R6/lib/libXcursor.so.1.0.2
    008e3000-009be000 r-xp 00000000 08:01 68758178 /usr/X11R6/lib/libX11.so.6.2
    009be000-009c2000 rwxp 000db000 08:01 68758178 /usr/X11R6/lib/libX11.so.6.2
    00b0a000-00b0e000 r-xp 00000000 08:01 68756642 /usr/X11R6/lib/libXtst.so.6.1
    00b0e000-00b0f000 rwxp 00003000 08:01 68756642 /usr/X11R6/lib/libXtst.so.6.1
    00c3e000-00c50000 r-xp 00000000 08:01 91357258 /lib/libnsl-2.3.4.so
    00c50000-00c51000 r-xp 00011000 08:01 91357258 /lib/libnsl-2.3.4.so
    00c51000-00c52000 rwxp 00012000 08:01 91357258 /lib/libnsl-2.3.4.so
    00c52000-00c54000 rwxp 00c52000 00:00 0
    06000000-06417000 r-xp 00000000 08:01 98304002 /u01/app/java/jdk1.6.0_03/jre/lib/i386/client/libjvm.so
    06417000-06430000 rwxp 00417000 08:01 98304002 /u01/app/java/jdk1.6.0_03/jre/lib/i386/client/libjvm.so
    06430000-0684f000 rwxp 06430000 00:00 0
    08048000-08052000 r-xp 00000000 08:01 98320386 /u01/app/java/jdk1.6.0_03/bin/java
    08052000-08053000 rwxp 00009000 08:01 98320386 /u01/app/java/jdk1.6.0_03/bin/java
    08053000-0877f000 rwxp 08053000 00:00 0
    442a0000-44690000 rwxp 442a0000 00:00 0
    44690000-49160000 rwxp 44690000 00:00 0
    49160000-4bbd8000 rwxp 49160000 00:00 0
    4bbd8000-842a0000 rwxp 4bbd8000 00:00 0
    842a0000-87220000 rwxp 842a0000 00:00 0
    87220000-942a0000 rwxp 87220000 00:00 0
    942a0000-94883000 r-xs 00001000 08:01 98304677 /u01/app/java/jdk1.6.0_03/jre/lib/i386/client/classes.jsa
    94883000-94aa0000 rwxp 94883000 00:00 0
    94aa0000-95198000 rwxp 005e4000 08:01 98304677 /u01/app/java/jdk1.6.0_03/jre/lib/i386/client/classes.jsa
    95198000-956a0000 rwxp 95198000 00:00 0
    956a0000-95779000 rwxp 00cdc000 08:01 98304677 /u01/app/java/jdk1.6.0_03/jre/lib/i386/client/classes.jsa
    95779000-95aa0000 rwxp 95779000 00:00 0
    95aa0000-95aa4000 r-xs 00db5000 08:01 98304677 /u01/app/java/jdk1.6.0_03/jre/lib/i386/client/classes.jsa
    95aa4000-95ea0000 rwxp 95aa4000 00:00 0
    b0b49000-b0b5e000 r-xp 00000000 08:01 98287757 /u01/app/java/jdk1.6.0_03/jre/lib/i386/libdcpr.so
    b0b5e000-b0b71000 rwxp 00014000 08:01 98287757 /u01/app/java/jdk1.6.0_03/jre/lib/i386/libdcpr.so
    b0f00000-b0f50000 rwxp b0f00000 00:00 0
    b0f50000-b1000000 ---p b0f50000 00:00 0
    b1100000-b11fd000 rwxp b1100000 00:00 0
    b11fd000-b1200000 ---p b11fd000 00:00 0
    b1226000-b122b000 r-xs 0002f000 08:01 98533404 /u01/app/oc4j/oc4j-10.1.3.3.0/j2ee/home/applications/dai-core/dai-core-pre1.1/WEB-INF/lib/dai-core-pre1.1.jar
    b122b000-b122d000 r-xs 0001a000 08:01 98533399 /u01/app/oc4j/oc4j-10.1.3.3.0/j2ee/home/applications/dai-core/dai-core-pre1.1/WEB-INF/lib/commons-modeler-2.0.1.jar
    b122d000-b122f000 r-xs 0000a000 08:01 98533396 /u01/app/oc4j/oc4j-10.1.3.3.0/j2ee/home/applications/dai-core/dai-core-pre1.1/WEB-INF/lib/commons-codec-1.3.jar
    b122f000-b1233000 r-xs 00031000 08:01 98533394 /u01/app/oc4j/oc4j-10.1.3.3.0/j2ee/home/applications/dai-core/dai-core-pre1.1/WEB-INF/lib/ciacCommmon-1.1.jar
    b1233000-b1234000 r-xs 00000000 08:01 98533393 /u01/app/oc4j/oc4j-10.1.3.3.0/j2ee/home/applications/dai-core/dai-core-pre1.1/WEB-INF/lib/ciac-bloomdex.jar
    b1234000-b1236000 r-xs 00001000 08:01 98533414 /u01/app/oc4j/oc4j-10.1.3.3.0/j2ee/home/applications/dai-core/dai-core-pre1.1/WEB-INF/lib/slf4j-api-1.1.0.jar
    b1236000-b1241000 r-xs 00073000 08:01 98533409 /u01/app/oc4j/oc4j-10.1.3.3.0/j2ee/home/applications/dai-core/dai-core-pre1.1/WEB-INF/lib/jsp-api-2.1.jar
    b1241000-b1242000 r-xs 00001000 08:01 98533415 /u01/app/oc4j/oc4j-10.1.3.3.0/j2ee/home/applications/dai-core/dai-core-pre1.1/WEB-INF/lib/slf4j-log4j12-1.1.0.jar
    b1242000-b1249000 r-xs 00053000 08:01 98533410 /u01/app/oc4j/oc4j-10.1.3.3.0/j2ee/home/applications/dai-core/dai-core-pre1.1/WEB-INF/lib/log4j-1.2.14.jar
    b1249000-b124e000 r-xs 00040000 08:01 98533397 /u01/app/oc4j/oc4j-10.1.3.3.0/j2ee/home/applications/dai-core/dai-core-pre1.1/WEB-INF/lib/commons-httpclient-3.0.1.jar
    b124e000-b1265000 r-xs 00112000 08:01 98533418 /u01/app/oc4j/oc4j-10.1.3.3.0/j2ee/home/applications/dai-core/dai-core-pre1.1/WEB-INF/lib/xercesImpl-2.8.1.jar
    b1265000-b1268000 rwxp b1265000 00:00 0
    b1268000-b12b6000 rwxp b1268000 00:00 0
    b12b6000-b12b9000 rwxp b12b6000 00:00 0
    b12b9000-b1307000 rwxp b12b9000 00:00 0
    b1307000-b130a000 ---p b1307000 00:00 0
    b130a000-b1358000 rwxp b130a000 00:00 0
    b1358000-b135b000 rwxp b1358000 00:00 0
    b135b000-b13a9000 rwxp b135b000 00:00 0
    b13a9000-b13ac000 rwxp b13a9000 00:00 0
    b13ac000-b13fa000 rwxp b13ac000 00:00 0
    b13fa000-b13fd000 rwxp b13fa000 00:00 0
    b13fd000-b144b000 rwxp b13fd000 00:00 0
    b144b000-b144e000 rwxp b144b000 00:00 0
    b144e000-b149c000 rwxp b144e000 00:00 0
    b149c000-b149f000 rwxp b149c000 00:00 0
    b149f000-b14ed000 rwxp b149f000 00:00 0
    b14ed000-b14f0000 ---p b14ed000 00:00 0
    b14f0000-b153e000 rwxp b14f0000 00:00 0
    b153e000-b1541000 ---p b153e000 00:00 0
    b1541000-b158f000 rwxp b1541000 00:00 0
    b158f000-b1592000 ---p b158f000 00:00 0
    b1592000-b15e0000 rwxp b1592000 00:00 0
    b15e0000-b15e3000 rwxp b15e0000 00:00 0
    b15e3000-b1631000 rwxp b15e3000 00:00 0
    b1631000-b1634000 ---p b1631000 00:00 0
    b1634000-b1682000 rwxp b1634000 00:00 0
    b1682000-b1685000 rwxp b1682000 00:00 0
    b1685000-b16d3000 rwxp b1685000 00:00 0
    b16d3000-b16d6000 ---p b16d3000 00:00 0
    b16d6000-b1724000 rwxp b16d6000 00:00 0
    b1724000-b1727000 rwxp b1724000 00:00 0
    b1727000-b1775000 rwxp b1727000 00:00 0
    b1775000-b1778000 ---p b1775000 00:00 0
    b1778000-b17c6000 rwxp b1778000 00:00 0
    b17c6000-b17c9000 ---p b17c6000 00:00 0
    b17c9000-b1817000 rwxp b17c9000 00:00 0
    b1817000-b181a000 rwxp b1817000 00:00 0
    b181a000-b1868000 rwxp b181a000 00:00 0
    b1868000-b186b000 rwxp b1868000 00:00 0
    b186b000-b18b9000 rwxp b186b000 00:00 0
    b18b9000-b18bc000 ---p b18b9000 00:00 0
    b18bc000-b190a000 rwxp b18bc000 00:00 0
    b190a000-b190d000 ---p b190a000 00:00 0
    b190d000-b195b000 rwxp b190d000 00:00 0
    b195b000-b195e000 rwxp b195b000 00:00 0
    b195e000-b19ac000 rwxp b195e000 00:00 0
    b19ac000-b19af000 rwxp b19ac000 00:00 0
    b19af000-b19fd000 rwxp b19af000 00:00 0
    b19fd000-b1a00000 ---p b19fd000 00:00 0
    b1a00000-b1a4e000 rwxp b1a00000 00:00 0
    b1a4e000-b1a51000 rwxp b1a4e000 00:00 0
    b1a51000-b1a9f000 rwxp b1a51000 00:00 0
    b1a9f000-b1aa2000 ---p b1a9f000 00:00 0
    b1aa2000-b1af0000 rwxp b1aa2000 00:00 0
    b1af0000-b1af3000 rwxp b1af0000 00:00 0
    b1af3000-b1b41000 rwxp b1af3000 00:00 0
    b1b41000-b1b44000 ---p b1b41000 00:00 0
    b1b44000-b1b92000 rwxp b1b44000 00:00 0
    b1b92000-b1b95000 rwxp b1b92000 00:00 0
    b1b95000-b1be3000 rwxp b1b95000 00:00 0
    b1be3000-b1be6000 ---p b1be3000 00:00 0
    b1be6000-b1c34000 rwxp b1be6000 00:00 0
    b1c34000-b1c37000 rwxp b1c34000 00:00 0
    b1c37000-b1c85000 rwxp b1c37000 00:00 0
    b1c85000-b1c88000 ---p b1c85000 00:00 0
    b1c88000-b1cd6000 rwxp b1c88000 00:00 0
    b1cd6000-b1cd9000 ---p b1cd6000 00:00 0
    b1cd9000-b1d27000 rwxp b1cd9000 00:00 0
    b1d27000-b1d2a000 rwxp b1d27000 00:00 0
    b1d2a000-b1d78000 rwxp b1d2a000 00:00 0
    b1d78000-b1d7b000 rwxp b1d78000 00:00 0
    b1d7b000-b1dc9000 rwxp b1d7b000 00:00 0
    b1dc9000-b1dcc000 ---p b1dc9000 00:00 0
    b1dcc000-b1e1a000 rwxp b1dcc000 00:00 0
    b1e1a000-b1e1d000 ---p b1e1a000 00:00 0
    b1e1d000-b1e6b000 rwxp b1e1d000 00:00 0
    b1e6b000-b1e6e000 rwxp b1e6b000 00:00 0
    b1e6e000-b1ebc000 rwxp b1e6e000 00:00 0
    b1ebc000-b1ebf000 ---p b1ebc000 00:00 0
    b1ebf000-b1f0d000 rwxp b1ebf000 00:00 0
    b1f0d000-b1f10000 rwxp b1f0d000 00:00 0
    b1f10000-b1f5e000 rwxp b1f10000 00:00 0
    b1f5e000-b1f61000 rwxp b1f5e000 00:00 0
    b1f61000-b1faf000 rwxp b1f61000 00:00 0
    b1faf000-b1fb2000 ---p b1faf000 00:00 0
    b1fb2000-b2022000 rwxp b1fb2000 00:00 0
    b2022000-b2100000 ---p b2022000 00:00 0
    b2111000-b2114000 ---p b2111000 00:00 0
    b2114000-b2162000 rwxp b2114000 00:00 0
    b2162000-b2165000 ---p b2162000 00:00 0
    b2165000-b21b3000 rwxp b2165000 00:00 0
    b21b3000-b21b6000 ---p b21b3000 00:00 0
    b21b6000-b2204000 rwxp b21b6000 00:00 0
    b2204000-b2207000 rwxp b2204000 00:00 0
    b2207000-b2255000 rwxp b2207000 00:00 0
    b2255000-b2258000 ---p b2255000 00:00 0
    b2258000-b22a6000 rwxp b2258000 00:00 0
    b22a6000-b22a9000 rwxp b22a6000 00:00 0
    b22a9000-b22f7000 rwxp b22a9000 00:00 0
    b22f7000-b22fa000 ---p b22f7000 00:00 0
    b22fa000-b2348000 rwxp b22fa000 00:00 0
    b2348000-b234b000 ---p b2348000 00:00 0
    b234b000-b2399000 rwxp b234b000 00:00 0
    b2399000-b239c000 ---p b2399000 00:00 0
    b239c000-b23ea000 rwxp b239c000 00:00 0
    b23ea000-b23ed000 rwxp b23ea000 00:00 0
    b23ed000-b243b000 rwxp b23ed000 00:00 0
    b243b000-b243e000 ---p b243b000 00:00 0
    b243e000-b248c000 rwxp b243e000 00:00 0
    b248c000-b248f000 ---p b248c000 00:00 0
    b248f000-b24dd000 rwxp b248f000 00:00 0
    b24dd000-b24e0000 ---p b24dd000 00:00 0
    b24e0000-b252e000 rwxp b24e0000 00:00 0
    b252e000-b2531000 ---p b252e000 00:00 0
    b2531000-b257f000 rwxp b2531000 00:00 0
    b257f000-b2582000 ---p b257f000 00:00 0
    b2582000-b25d0000 rwxp b2582000 00:00 0
    b25d0000-b25d3000 ---p b25d0000 00:00 0
    b25d3000-b2621000 rwxp b25d3000 00:00 0
    b2621000-b2624000 ---p b2621000 00:00 0
    b2624000-b2672000 rwxp b2624000 00:00 0
    b2672000-b2675000 ---p b2672000 00:00 0
    b2675000-b26c3000 rwxp b2675000 00:00 0
    b26c3000-b26c6000 rwxp b26c3000 00:00 0
    b26c6000-b2714000 rwxp b26c6000 00:00 0
    b2714000-b2717000 ---p b2714000 00:00 0
    b2717000-b2765000 rwxp b2717000 00:00 0
    b2765000-b2768000 ---p b2765000 00:00 0
    b2768000-b27b6000 rwxp b2768000 00:00 0
    b27b6000-b27b9000 ---p b27b6000 00:00 0
    b27b9000-b2807000 rwxp b27b9000 00:00 0
    b2807000-b280a000 ---p b2807000 00:00 0
    b280a000-b2858000 rwxp b280a000 00:00 0
    b2858000-b285b000 ---p b2858000 00:00 0
    b285b000-b28a9000 rwxp b285b000 00:00 0
    b28a9000-b28ac000 ---p b28a9000 00:00 0
    b28ac000-b28fa000 rwxp b28ac000 00:00 0
    b28fa000-b28fd000 ---p b28fa000 00:00 0
    b28fd000-b294b000 rwxp b28fd000 00:00 0
    b294b000-b294e000 ---p b294b000 00:00 0
    b294e000-b299c000 rwxp b294e000 00:00 0
    b299c000-b299f000 ---p b299c000 00:00 0
    b299f000-b29ed000 r

    I found ConcurrentReaderHashMap in one of the jar files included with oc4j, j2ee/home/lib/concurrent.jar. So, it looks like it comes from one of the jars for Oracle's oc4j implementation. This is an error that occurs intermittently when stopping oc4j or when reinstalling an application. So, it looks like it is an error that I should report to Oracle. Correct? Or is there something in my code that is likely causing this error? I am running this under the 1.6.0_03 JVM. Is there an incompatibility in the oswego package with 1.6?

  • ALERT: java/lang/ClassFormatError: Bad stack map.

    Hello friends.
    I need help. SOS.
    Where is wrong in this code?
    Problem is in comparision.
    Comenting this lines, all are ok.
            if(time1==time2)
                System.out.println("Equal");
            else
                System.out.println("Different");C�digo del Midlet:
    package borrame.pruebas;
    import java.util.Date;
    import javax.microedition.lcdui.Command;
    import javax.microedition.lcdui.CommandListener;
    import javax.microedition.lcdui.Display;
    import javax.microedition.lcdui.Displayable;
    import javax.microedition.lcdui.Form;
    import javax.microedition.midlet.MIDlet;
    import javax.microedition.midlet.MIDletStateChangeException;
    public class Prueba extends MIDlet implements CommandListener {
        Display display;
        Form mainForm;
        // Comandos para salir y volver a la pantalla principal.
        Command cmdSalir;
        public Prueba() {
            super();
            mainForm = new Form ("HelloMidp");
            cmdSalir = new Command("Salir", Command.EXIT,1);
            mainForm.addCommand(cmdSalir);
            mainForm.setCommandListener(this);
        protected void startApp() throws MIDletStateChangeException {
            display = Display.getDisplay(this);
            display.setCurrent (mainForm);
            long time1 = new Date().getTime();
            long time2 = new Date().getTime() +100;
            System.out.println("time1: " + time1);
            System.out.println("time2: " + time2);
            System.out.println("time1 + time2 =" + (time1 + time2));
            if(time1==time2)
                System.out.println("Equal");
            else
                System.out.println("Different");
        protected void pauseApp() {
            // TODO Auto-generated method stub
        protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
            // TODO Auto-generated method stub
        public void commandAction(Command c, Displayable d) {
            if (c == cmdSalir) { // Selecciono salir de la aplicacion
                try {
                    destroyApp(false);
                } catch (MIDletStateChangeException e) {
                    e.printStackTrace();
                notifyDestroyed();
    }Output console:
    Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
    Running with storage root DefaultColorPhone
    ALERT: java/lang/ClassFormatError: Bad stack map.
    Method............: b7d29990 'com/sun/midp/midlet/MIDletState.createMIDlet (static)'
    Stack Chunk.......: b783d300
    Frame Pointer.....: b783d3a4
    Current IP........: b7da5669 = b7da565b + offset 14
    Previous Frame....: b783d36c
    Previous IP.......: b7d87f44 (offset 52)
    Frame size........: 7 (1 arguments, 6 local variables)
    Argument[0].......: b783cad0
    Local[1]..........: b78b35c8
    Local[2]..........: b7d87f41
    Local[3]..........: b783cc38
    Local[4]..........: b7d29788
    Local[5]..........: b78b355c
    Local[6]..........: 0
    Operand[1]........: b783cad0
    Method............: b7d16390 'com/sun/midp/midlet/Scheduler.schedule (virtual)'
    Stack Chunk.......: b783d300
    Frame Pointer.....: b783d36c
    Current IP........: b7d87f44 = b7d87f10 + offset 52
    Previous Frame....: b783d338
    Previous IP.......: b7d92b05 (offset 28)
    Frame size........: 7 (2 arguments, 5 local variables)
    Argument[0].......: b783cd14
    Argument[1].......: b783c460
    Local[2]..........: b78b20c4
    Local[3]..........: b78b3594
    Local[4]..........: b7d92b01
    Local[5]..........: b78b35a8
    Local[6]..........: b7d162b0
    Operand[1]........: b783cd14
    Method............: b7d1e084 'com/sun/midp/main/Main.runLocalClass (static)'
    Stack Chunk.......: b783d300
    Frame Pointer.....: b783d338
    Current IP........: b7d92b05 = b7d92ae9 + offset 28
    Previous Frame....: b783d314
    Previous IP.......: b7d9257c (offset 116)
    Frame size........: 3 (1 arguments, 2 local variables)
    Argument[0].......: b783d1bc
    Local[1]..........: b783c460
    Local[2]..........: b78b3570
    Method............: b7d1dfe4 'com/sun/midp/main/Main.main (static)'
    Stack Chunk.......: b783d300
    Frame Pointer.....: b783d314
    Current IP........: b7d9257c = b7d92508 + offset 116
    Previous Frame....: 0
    Previous IP.......: 1
    Frame size........: 3 (1 arguments, 2 local variables)
    Argument[0].......: b783d5ec
    Local[1]..........: b783d1bc
    Local[2]..........: b783cb24
    VM status:
    Instruction pointer.: b7da5669 (offset within invoking method: 14)
    Next instruction....: 0x4c
    Frame pointer.......: b783d3a4
    Local pointer.......: b783d388
    Stack size..........: 128; sp: b783d3bc; ranges: b783d308-b783d508;
    Contents of the current stack frame:
        b783d388: b783cad0 (lp)
        b783d38c: b78b35c8
        b783d390: b7d87f41
        b783d394: b783cc38
        b783d398: b7d29788
        b783d39c: b78b355c
        b783d3a0: 0
        b783d3a4: b783d36c (fp)
        b783d3a8: b7d87f44
        b783d3ac: b783d384
        b783d3b0: b7d29990
        b783d3b4: b783d300
        b783d3b8: 0 (end of frame)
        b783d3bc: b783cad0 (sp)
    Execution stack contains 184 items:
    b783d5ec
    b783d1bc
    b783cb24
    0
    1
    b78b3560
    b7d1dfe4
    b783d300
    0
    b783d1bc
    b783c460
    b78b3570
    b783d314
    b7d9257c
    b783d328
    b7d1e084
    b783d300
    0
    b783cd14
    b783c460
    b78b20c4
    b78b3594
    b7d92b01
    b78b35a8
    b7d162b0
    b783d338
    b7d92b05
    b783d34c
    b7d16390
    b783d300
    0
    b783cd14
    b783cad0
    b78b35c8
    b7d87f41
    b783cc38
    b7d29788
    b78b355c
    0
    b783d36c
    b7d87f44
    b783d384
    b7d29990
    b783d300
    0
    b783cad0
    Execution completed.
    717374 bytecodes executed
    5 thread switches
    742 classes in the system (including system classes)
    3720 dynamic objects allocated (102340 bytes)
    2 garbage collections (88196 bytes collected)
    Execution completed.
    717374 bytecodes executed
    5 thread switches
    742 classes in the system (including system classes)
    3720 dynamic objects allocated (102340 bytes)
    2 garbage collections (88196 bytes collected)

    My enviroment:
    Linux Gentoo.
    Sun JDK 1.4.2.10
    eclipse 3.2 WTP 1.5
    eclipseme 1.5.5
    Midlet config:
    MIDlet-Version: 1.0
    MicroEdition-Configuration: CLDC-1.0
    MicroEdition-Profile: MIDP-1.0
    WTK 2.2
    In last test, i'm using ktoolbar directly to build and execute midlet and all go ok.
    So, My code is not problem.
    I suppose that eclipseme corrupt my classes in build process.
    SOLUTION:
    My radical solution. I use eclipse without eclipseme, and i use ktoolbar to build, run, package, etc...
    Thank's

  • Java.lang.ClassFormatError: _Basic using JSF in Jdeveloper10gv12

    Can someone give me why I get the following error : I've included the Class, JSP and daces-config code
    Thank
    Abi
    500 Internal Server Error
    OracleJSP:
    JSP Error:
    Request URI:/Application1-Project1-context-root/Basic.jsp
    Exception:
    java.lang.ClassFormatError: _Basic
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java)
         at com.evermind.util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureClassLoader.java:172)
         at oracle.jsp.runtimev2.JspClassLoader.loadClass(JspClassLoader.java:744)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at oracle.jsp.runtimev2.JspPageInfo.getInstFacade(JspPageInfo.java:169)
         at oracle.jsp.runtimev2.JspPageTable.getInstFacade(JspPageTable.java:473)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Java Class
    package mypackage.backing;
    import com.sun.faces.taglib.jsf_core.SelectItemsTag;
    import java.util.*;
    import javax.faces.model.SelectItem;
    import javax.faces.model.*;
    import mypackage.backing.Scholarship;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    public class Basic
    private SelectItem[] basicdays = new SelectItem[]{
    new SelectItem(" "),
    new SelectItem("Basic Information"),
    new SelectItem("Calculate Project"),
    new SelectItem("Change Ownership"),
    new SelectItem("Configure Project - Facility Category Group"),
    new SelectItem("Worksheets")
    private String basicday = "";
    public Basic()
    System.out.println("Class BASIC " );
    public SelectItem[] getBasicdays() {
    return basicdays;
    public void setBasicdays(SelectItem[] days) {
    this.basicdays = days;
    public String getBasicday() {
    return basicday;
    public void setBasicday(String day) {
    this.basicday = day;
    JSP Code
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <f:view>
    <h:outputText value="Hello"></h:outputText>
    <h:panelGrid columns="2"
    rowClasses="centered" footerClass="centered" border="1">
    <h:outputText value="Days List"></h:outputText>
    <h:selectOneMenu id="days" value="#(backing_basic.basicday)">
    <f:selectItems value="#{backing_basic.basicdays}"/>
    </h:selectOneMenu >
    </h:panelGrid>
    </f:view>
    Faces config
    <managed-bean>
    <managed-bean-name>backing_basic</managed-bean-name>
    <managed-bean-class>mypackage.backing.Basic</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/basic.jsp</from-view-id>
    <navigation-case>
    <from-outcome>nextpage</from-outcome>
    <to-view-id>/finish.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>

    I tested this code(copy-paste) in Orion and Tomcat and it works fine. I guess that this is not the full code you are executing since I see not used imports, the jsp without the <h:form> tag and a navigation rule that will never take place. Anyway try to deploy this to Tomcat or another AS to check if it running properly. I have seen ADF application running correct on Tomcat and not on Orion.

  • Java.lang.NoSuchMethodError: com.sun.xml.ws.util.JAXWSUtils.getEncodedURL(Ljava/lang/String;)Ljava/net/URL;

    java.lang.NoSuchMethodError: com.sun.xml.ws.util.JAXWSUtils.getEncodedURL(Ljava/lang/String;)Ljava/net/URL.
    Gettin exception while trying to execute clientGen from build.xml from eclipse using Oracle weblogic 10.3 server.
    I tried with both jars jaxws-rt-2.1.4 and jaxws-rt-2.1.3
    Regards,
    Manish

    along with wlfullclient.jar please add wseeclient.jar
    Copy the file WL_HOME/server/lib/wseeclient.zip from the computer hosting WebLogic Server to the client computer( where WL_HOME refers to the WebLogic Server installation directory, such as /Oracle/Middleware/wlserver_12.1)
    Unzip the wseeclient.zip file into the appropriate directory. For example, you might unzip the file into a directory that contains other classes used by your client application.
    Add the wseeclient.jar file (unzipped from the wseeclient.zip file) to your CLASSPATH.
    Note:
    Also be sure that your CLASSPATH includes the JAR file that contains the Ant classes (ant.jar). This JAR file is typically located in the lib directory of the Ant distribution.
    http://docs.oracle.com/cd/E24329_01/web.1211/e24967/client.htm#WSRPC214
    Regards,
    Sunil P

  • Java.lang.ClassFormatError while starting JSPM. SAP NW04s SR2

    Dear All,
    JSPM issued the following error when it was started. I have installed NW04s SR2 Java only and want to patch it to SP10
    #Error while executing
    phase.##
    #1.5#C000097C2FC400000000006559FA59FA00042BDF044BF5D8#1174136756631#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##java.lang.Throwab
    le.xinit>(Throwable.java:58)#######Thread[main,5,main]##0#0#Error#1#java.lang.Throwable.xinit>(Throwable.java:58)#Java###Error : #2#java
    .lang.ClassFormatError#<null>#
    Java version is J2RE 1.4.2 IBM build j9xa64142ifx-20051125 (SAP i-Fix 97999: SR2 i-fix 93283 + 96573 + 97068 + 97427 + 96565)
    Please help.
    Warm Regards
    Mazdul

    Error got resolved by updating the JDK version

  • Java.lang.ClassFormatError: Bad major version number

    Hi friends,
    I am using JWS2.0(trial version). I have uploaded class files into servlet (and respective packages), every thing was working fine. one fine day i started getting the 404 - file not found error(JWS not yet expired). I uninstalled the jws, j2sdk1.4.0, jre1.4.0 but with no result.
    I even formated the system and loaded all again. But still i am getting the same problem.
    The servlet is the simple HelloWorld servlet.
    Through the SunExample its working fine. But the uploaded servlet is not getting recognised.
    Here is the ErrorLog
    [Tue Feb 22 17:26:29 GMT+05:30 2005] ClassLoaderFactory Error: Can not find Class : Hello [ ClassNotFoundException ]
    [Tue Feb 22 17:26:31 GMT+05:30 2005] ClassLoaderError: (com.sun.server.loader.JarClassLoader@17d67e:\servlets) ERROR: Unable to load class local class Hello
    [Tue Feb 22 17:26:31 GMT+05:30 2005] java.lang.ClassFormatError: Bad major version number
    at java.lang.ClassLoader.defineClass(ClassLoader.java:219)
    at com.sun.server.loader.ServletClassLoader.callDefineClass(ServletClassLoader.jav a:726)
    at com.sun.server.loader.ServletClassLoader.checkAndDefineClass(ServletClassLoader .java:620)
    at com.sun.server.loader.DirectoryClassLoader.getClassFromLocalDir(Compiled Code)
    at com.sun.

    Try re-compiling the Servlet. Make sure that the JDK version used to recompile is <= the version used to run the server (if you are using a higher jdk to compile the servlet, maybe Java 5.x, then you are to run, maybe Java 1.4.x, then use the -target option of javac to target the lower release...)

  • Java.lang.ClassFormatError: HTML (Bad magic number)

    hi,
    i have quite a strange problem:
    when my applet tries to parse an XML file with SAX (no DTD-validation) i got the following error:
    java.lang.ClassFormatError: <HTML> (Bad magic number)
    Well i had some problems before with the ClassFormatError but they were because some class-files were corrupt. They were easy to fix because the defecitve class-file was written next to java.lang.ClassFormatError. This time i got the <HTML> expression next to the error. what does this mean?
    thnx in advance!
    marc

    Bad magic Number. means the first 4 bytes did not equals CAFEBABE (0xCAFEBABE) But why do you see <HTML> after that is beyound me. Can you locate which class is foul and replace it?

  • ALERT: java/lang/ClassFormatError: Bad version information.

    Hi all,
    I'm developing a mobile application but I got this error: ALERT: java/lang/ClassFormatError: Bad version information.
    I've read all the posts in the forum and searched for other ones with google, but still no luck :-( pls help.
    The situation is the following:
    IDE: netBeans 6.5
    MIDP2.1
    CLDC1.1
    javac.source=1.3
    javac.target=1.3
    J2ME web services 1.0 loaded.
    The application retrieves tracking data from a .net web service: I've created the stub with the sun official tool included in the WTK (Stub Generator).
    When I run the jar with the sun device emulator, the splash screen is loaded but, when I retrieve data from the web service, the application crashes with the error ALERT: java/lang/ClassFormatError: Bad version information. No problem if there's no data to fetch.
    Where am I wrong? pls help, thx,
    have a i nica day,
    Michela

    Have you tried JSR172Demo application that is supplied with Netbeans? if yes, did it work?
    Instructions on how to obtain this demo app are provided in [Netbeans help|http://i39.tinypic.com/k2h8og.jpg], section Importing Java ME Projects -> Sun Java Wireless Toolkit project

  • HELP!!! java.lang.ClassFormatError: (Truncated class file)

    Hello all,
    I'm writing a ClassLoader and the funniest things are happening. If I load a compiled class for the first time after compilation everything is ok. Once I change the class and recompile it, it starts putting out java.lang.ClassFormatError: (Truncated class file). If I alter the changes back to normal and recompile. It works again. Is there some sort of buffer which keeps the once loaded class in memory, even after rebooting?
    Please help, I'm at a loss
    Gideon

    hi dmbdmb,
    I got following error when try to run a java code in JBoss.
    15:39:56,696 ERROR [LogInterceptor] Unexpected Error:
    java.lang.ClassFormatError: Thilina (Truncated class file)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:448)
    at com.sun.tools.javac.v8.StringCompiler$Loader.findClass(StringCompiler
    .java:63)
    at com.sun.tools.javac.v8.StringCompiler.executeMethodWithReturnType(Str
    ingCompiler.java:120)
    at cc.aot.qVoice.domain.ejb.qVoiceManager.qVoiceManagerEJB.getVxmlString
    (qVoiceManagerEJB.java:125)
    I use JBoss 3.0.6 and sdk 1.4. In my program, classes are create and load on the fly. Then using Reflection API I called some
    methods in the dynamically created class(this class not
    write into a file and it is taken as a String variable).
    I refferd this url as a guid to write class loader and compiler.(actually same thing i copied
    from there and change it's name Pmat1 to StringCompiler)
    http://forum.java.sun.com/thread.jsp?thread=347467&forum=4&message=1439418
    When I run this as a normal application, it is work well. Then I try to run it in a jboss and it will give the above error.
    In here I Wote some EJBs and struts also and i called the methodds in the StringCompiler(Pamat1) class in a EJB. Thilina is
    the name of the dynamically created calss and StringCompiler is the class that includes the class loader and compiler methods
    as in the above url. qVoiceManagerEJB has a getvxmlString method. Whithin this method
    i called required the methods in the String compiler.
    Can u some body help me. Thanx in advanced for any help.
    anjithalb

  • Java.lang.ClassFormatError: Truncated class file

    Hi
    Previously my application is running on jdk 1.4 and its supporting castor i.e. castor-0.9.5.4-xml.jar
    Now i had upgrade my jdk to 1.6 and i am using same castor.jar
    so it is giving me following error
    Exception in thread "main" java.lang.ClassFormatError: Truncated class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
    at com.sun.tools.javac.v8.GenerateClass$Loader.findClass(GenerateClass.j
    ava:273)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at org.exolab.castor.mapping.loader.Types.typeFromName(Types.java:93)
    at org.exolab.castor.mapping.loader.MappingLoader.resolveType(MappingLoa
    der.java:228)
    at org.exolab.castor.mapping.loader.MappingLoader.createDescriptor(Mappi
    ngLoader.java:394)
    at org.exolab.castor.xml.XMLMappingLoader.createDescriptor(XMLMappingLoa
    der.java:202)
    at org.exolab.castor.mapping.loader.MappingLoader.loadMapping(MappingLoa
    der.java:258)
    at org.exolab.castor.mapping.Mapping.getResolver(Mapping.java:291)
    at org.exolab.castor.mapping.Mapping.getResolver(Mapping.java:246)
    at org.exolab.castor.xml.Marshaller.setMapping(Marshaller.java:520)
    I also try to upgrade castor to latest version i.e castor1.2-xml.jar with jdk 1.6 and this time it gives me error
    Exception in thread "main" java.lang.ClassFormatError: Truncated class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
    at com.sun.tools.javac.v8.GenerateClass$Loader.findClass(GenerateClass.j
    ava:273)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at org.exolab.castor.mapping.loader.Types.typeFromName(Types.java:92)
    at org.exolab.castor.mapping.loader.AbstractMappingLoader.resolveType(Ab
    stractMappingLoader.java:384)
    at org.exolab.castor.xml.XMLMappingLoader.createClassDescriptor(XMLMappi
    ngLoader.java:209)
    at org.exolab.castor.mapping.loader.AbstractMappingLoader.createClassDes
    criptors(AbstractMappingLoader.java:262)
    at org.exolab.castor.xml.XMLMappingLoader.loadMapping(XMLMappingLoader.j
    ava:156)
    at org.castor.mapping.MappingUnmarshaller.getMappingLoader(MappingUnmars
    haller.java:162)
    at org.castor.mapping.MappingUnmarshaller.getMappingLoader(MappingUnmars
    haller.java:128)
    at org.exolab.castor.xml.Marshaller.setMapping(Marshaller.java:556)
    Can any one please help me out..
    Thanks in advance

    hi,
    i think one of application's class file currupted , Recompile all java files and then try.
    Edited by: sagar_birari on Mar 27, 2008 5:47 AM
    Edited by: sagar_birari on Mar 27, 2008 7:20 AM

  • Exception in thread "main" java.lang.ClassFormatError

    i was trying out a basic program just to create a button using swing, and initially it did run fine. but later on i had to scrap it and start over, and on compiling it at that point, it gave me the following error:
    Exception in thread "main" java.lang.ClassFormatError: Button1 (Truncated class
    file)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    The code i used was as follows:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Button1 extends JFrame {
         private JButton enter;
         public Button1()
              super("Testing Buttons");
              Container c = getContentPane();
                   c.setLayout(new FlowLayout());
                   enter = new JButton("Click to enter");
                   c.add(enter);
                   ButtonHandler handler = new ButtonHandler();
                   enter.addActionListener(handler);
                   setSize(275, 100);
                   show();
         public static void main(String args[])
              Button1 app = new Button1();
              app.addWindowListener(
                        new WindowAdapter() {
                             public void windowClosing(WindowEvent e)
                   System.exit(0);
         private class ButtonHandler implements ActionListener {
              public void actionPerformed(ActionEvent e)
                   JOptionPane.showMessageDialog(null, "you pressed: " + e.getActionCommand());
    Could someone please help?
    Also, as i'm new to the lang, could anyone just give me a small sample snippet as to how to produce a new frame/window on clicking a button, the new frame in turn having 2 more buttons which on being clicked generate a (distinct) frame each?
    thnx!

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Button1 extends JFrame {
    private JButton enter, open;
    private static int count = 0;
    public Button1()
    super("Testing Buttons " + count);
    Container c = getContentPane();
    c.setLayout(new FlowLayout());
    enter = new JButton("Click to enter");
    c.add(enter);
    count ++ ;     
    if(count > 1){
         open = new JButton("Click to open");
         c.add(open);
         open.addActionListener(new ButtonHandler());
    enter.addActionListener(new ButtonHandler());
    this.addWindowListener(new WindowsHandler());
    setSize(275, 100);
    show();
    public static void main(String args[])
              new Button1();
    private class ButtonHandler implements ActionListener {
    public void actionPerformed(ActionEvent e)
    //JOptionPane.showMessageDialog(null, "you pressed: " + e.getActionCommand());
               new Button1();
    private class WindowsHandler implements WindowListener {
       public void windowOpened( WindowEvent e ){
       public void windowClosing( WindowEvent e ){
        System.exit(0);
       public void windowClosed( WindowEvent e ){
       public void windowIconified( WindowEvent e ){
       public void windowDeiconified( WindowEvent e ){
       public void windowActivated( WindowEvent e ){
       public void windowDeactivated( WindowEvent e ){
    }

  • Java.lang.ClassFormatError

    I have an ejb client application that works fine when deployed manually. I then decided to decided to deploy with Java Web Start, the deployment goes fine but some of the app. functions don't work and return an error on the console. Here is a copy of the error message.
    Java Web Start Console, started Thu Nov 13 10:38:39 EST 2003
    Java 2 Runtime Environment: Version 1.4.0_03 by Sun Microsystems Inc.
    Logging to file: C:\Test-me\Log.txt
    java.lang.ClassFormatError: cc/admin/email/client/AdministratorUI$18 (Illegal Variable name " val$jtf")
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader.defineClass(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader.access$1(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at cc.admin.email.client.AdministratorUI.createTermAndYearDialog(AdministratorUI.java:440)
         at cc.admin.email.client.AdministratorUI.jMenuItemSCTAY_actionPerformed(AdministratorUI.java:398)
         at cc.admin.email.client.AdministratorUI.access$6000471(AdministratorUI.java:77)
         at cc.admin.email.client.AdministratorUI$6.actionPerformed(AdministratorUI.java:212)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.AbstractButton.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source).
    The portion of my code responsible for this is:
    final JTextField jtf = new JTextField(termAndYear[1]);
    jtf.addKeyListener(new JTextFieldFormat(jtf,4));
    jtf.addFocusListener(new java.awt.event.FocusAdapter() {
    public void focusGained(FocusEvent e) {
    jtf.setCaretPosition(0);
    jtf.selectAll();
    Apart from that action, the application works just fine. The interesting thing is, this does not happen if I run the application locally using the required jar files. It only happens when deployed with Java Web Start.
    I'll appreciate any help. Thanks

    hi,
    it looks like the class you want to load is broken. Can you send more information what app server do you use, which jre use this app server, and which java compiler do you use and the exact line were the exception trows.

  • Java.lang.ClassFormatError: AppletSame (Bad magic number)??****

    I run a Japplet(AppletSame.class) ,found this Exception:
    java.lang.ClassFormatError: AppletSame (Bad magic number)??****
    what does it mean?how can i solve it?

    hi,
    the problem comes if there is some kind of problem with the class file and therefore the JVM cannot read the class file, try recompiling the program..
    cheerz
    ynkrish

  • Java/lang/ClassFormatError: Bad version information.

    Hi
    When running the midlet in wireless tool kit the following
    error is occuring
    java/lang/ClassFormatError: Bad version information.
    can any body suggest me wat the problem is

    Hi,
    answer is at http://forum.java.sun.com/thread.jspa?threadID=569449&tstart=0

Maybe you are looking for

  • Excise Invoice Posting

    Dear All, I am having an issue while Capturng the Excise Invoice thru J1IEX againsty a material document in which some line items are cancelled. Please find the below details in detail with example: I made a Goods Receipt for a purchase order having

  • Clients not receiving DHCP IP address from HREAP centrally Switched Guest SSID

    Hi All, I am facing a problem in a newly deployed branch site where the Clients are not receiving DHCP IP address from a centrally switched Guest SSID. I see the client status is associated but the policy manager state is in DHCP_REQD. The dhcp pool

  • Oracle Discover and Oracle HRMS R12

    Oracle discoverer have the ability to work with oracle R12 to get quick report, and how I can load my worksheet in oracle R12 any body can guide me, or have the tutorial regarding this topic Thanks in Advance

  • Preserving ICC Color Profile in image conversion.

    Hi- I'm quite lost on how to preserve a color profile using the JAI tools. I'm hoping somebody can help. Basically, I have a TIF, which I read the image and it's metadata, and can dump everything out showing the non-standard embedded color profile. T

  • Job set to rerun- how to coninue even if a failure

    I have a job scheduled to run every 20 minutes.  I have the job currently configured to rerun same occurrence.   When one of the runs fail the job will not run again until I manually intervene. How can I set the job to keep on schedule even if one of