NullPointerException at com.sleepycat.je.Environment.getThreadTransaction

We are using je-3.2.44 in a production server and get the following exception 4 to 7 times per day. Is this a known bug? What causes it? Can a fix/patch be made available? Is there any way I can work around it?
java.lang.NullPointerException
at com.sleepycat.je.Environment.getThreadTransaction(Environment.java:1100)
at com.sleepycat.persist.PrimaryIndex.put(PrimaryIndex.java:342)
at com.sleepycat.persist.PrimaryIndex.put(PrimaryIndex.java:314)

Sorry for the delay in response. Yes, one of the threads was closing the environment causing another thread to end up with this exception. We have resolved issue. Thanks!

Similar Messages

  • Com.sleepycat.db.RunRecoveryException: DB_RUNRECOVERY error

    Hi all,
    Some time there will be such kind of error occur when initial the db envrironement:
    com.sleepycat.db.RunRecoveryException: DB_RUNRECOVERY: Fatal error, run database recovery: DB_RUNRECOVERY: Fatal error, run database recovery
         at com.sleepycat.db.internal.db_javaJNI.DbEnv_close0(Native Method)
         at com.sleepycat.db.internal.DbEnv.close0(DbEnv.java:204)
         at com.sleepycat.db.internal.DbEnv.close(DbEnv.java:81)
         at com.sleepycat.db.Environment.close(Environment.java:39)
         at com.ssc.crd.db.BerkeleyDBUtil.shutdown(BerkeleyDBUtil.java:215)
         at com.ssc.util.BDBContextListener.contextDestroyed(BDBContextListener.java:85)
         at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3770)
         at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4339)
         at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)
         at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)
         at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447)
         at org.apache.catalina.core.StandardService.stop(StandardService.java:512)
         at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
         at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
    And this issue can resolve by running db_recover -c, such as:
    C:\Work\Conf\Test\berkeley>db_recover -c
    And we try to use setRunRecovery(true); and setRunFatalRecovery(true);, but both failed.
    EnvironmentConfig envConf = new EnvironmentConfig();
    envConf.setRunRecovery(true);
    envConf.setRunFatalRecovery(true);
    Only run db_recover -c can resolve it. Why? And how to deal with it in code.
    Thanks.
    Jane

    But after I set all environment, there are some error occur when starting the tomcat server and failed to setup it, generate hs_err_pid3020.txt.
    Detail in hs_err_pid3020.txt:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x27d4e525, pid=3020, tid=2760
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_08-b03 mixed mode)
    # Problematic frame:
    # C [libdb43.dll+0x3e525]
    --------------- T H R E A D ---------------
    Current thread (0x00238d50): JavaThread "main" [_thread_in_native, id=2760]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000018
    Registers:
    EAX=0x27dcda30, EBX=0x00000000, ECX=0x00808000, EDX=0x00000000
    ESP=0x0006f0e8, EBP=0x00000000, ESI=0x27dc4cb8, EDI=0x27dc4cb8
    EIP=0x27d4e525, EFLAGS=0x00010206
    Top of Stack: (sp=0x0006f0e8)
    0x0006f0e8: 27dcda30 ffff86ff 00800000 00000000
    0x0006f0f8: 27d50294 00800000 00000000 00800000
    0x0006f108: 00000000 27dc4cb8 00000016 00238e10
    0x0006f118: 00238d50 27458978 27dc4cb8 00000000
    0x0006f128: 00000000 00800000 00008000 27cf8035
    0x0006f138: 0000005c 27458978 0002e061 000001a4
    0x0006f148: 00238d50 231f4e28 231f4e20 0006f194
    0x0006f158: 00a0832f 00238e10 0006f19c 27dc4cb8
    Instructions: (pc=0x27d4e525)
    0x27d4e515: 00 3b c3 89 9e dc 00 00 00 74 12 8b 54 24 08 50
    0x27d4e525: 8b 42 18 50 56 e8 01 c1 02 00 83 c4 0c 8b 86 08
    Stack: [0x00030000,0x00070000), sp=0x0006f0e8, free space=252k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [libdb43.dll+0x3e525]
    [error occurred during error reporting, step 120, id 0xc0000005]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j com.sleepycat.db.internal.db_javaJNI.DbEnv_open(JLjava/lang/String;II)V+0
    j com.sleepycat.db.internal.DbEnv.open(Ljava/lang/String;II)V+7
    j com.sleepycat.db.EnvironmentConfig.openEnvironment(Ljava/io/File;)Lcom/sleepycat/db/internal/DbEnv;+312
    j com.sleepycat.db.Environment.<init>(Ljava/io/File;Lcom/sleepycat/db/EnvironmentConfig;)V+6
    j com.ssc.crd.db.BerkeleyDBUtil.setup()V+97
    j com.ssc.util.BDBContextListener.contextInitialized(Ljavax/servlet/ServletContextEvent;)V+10
    j org.apache.catalina.core.StandardContext.listenerStart()Z+429
    j org.apache.catalina.core.StandardContext.start()V+1244
    j org.apache.catalina.core.ContainerBase.addChildInternal(Lorg/apache/catalina/Container;)V+149
    j org.apache.catalina.core.ContainerBase.addChild(Lorg/apache/catalina/Container;)V+26
    j org.apache.catalina.core.StandardHost.addChild(Lorg/apache/catalina/Container;)V+25
    j org.apache.catalina.startup.HostConfig.deployWAR(Ljava/lang/String;Ljava/io/File;Ljava/lang/String;)V+482
    j org.apache.catalina.startup.HostConfig.deployWARs(Ljava/io/File;[Ljava/lang/String;)V+163
    j org.apache.catalina.startup.HostConfig.deployApps()V+25
    j org.apache.catalina.startup.HostConfig.start()V+147
    j org.apache.catalina.startup.HostConfig.lifecycleEvent(Lorg/apache/catalina/LifecycleEvent;)V+132
    j org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Ljava/lang/String;Ljava/lang/Object;)V+68
    j org.apache.catalina.core.ContainerBase.start()V+306
    j org.apache.catalina.core.StandardHost.start()V+314
    j org.apache.catalina.core.ContainerBase.start()V+266
    j org.apache.catalina.core.StandardEngine.start()V+221
    j org.apache.catalina.core.StandardService.start()V+132
    j org.apache.catalina.core.StandardServer.start()V+88
    j org.apache.catalina.startup.Catalina.start()V+32
    v ~StubRoutines::call_stub
    j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
    j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
    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;
    v ~RuntimeStub::alignment_frame_return Runtime1 stub
    j org.apache.catalina.startup.Bootstrap.start()V+37
    j org.apache.catalina.startup.Bootstrap.main([Ljava/lang/String;)V+158
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x27388908 JavaThread "Dispatcher-Thread-1" daemon [_thread_blocked, id=3304]
    0x009c8780 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2904]
    0x00238f80 JavaThread "CompilerThread0" daemon [_thread_blocked, id=560]
    0x009c6860 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2040]
    0x009bd840 JavaThread "Finalizer" daemon [_thread_blocked, id=3420]
    0x009bc368 JavaThread "Reference Handler" daemon [_thread_blocked, id=2584]
    =>0x00238d50 JavaThread "main" [_thread_in_native, id=2760]
    Other Threads:
    0x009b8138 VMThread [id=2484]
    0x009e35e0 WatcherThread [id=3052]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 36288K, used 31681K [0x02a80000, 0x051e0000, 0x051e0000)
    eden space 32256K, 90% used [0x02a80000, 0x046eae78, 0x04a00000)
    from space 4032K, 64% used [0x04df0000, 0x05075968, 0x051e0000)
    to space 4032K, 0% used [0x04a00000, 0x04a00000, 0x04df0000)
    tenured generation total 483968K, used 0K [0x051e0000, 0x22a80000, 0x22a80000)
    the space 483968K, 0% used [0x051e0000, 0x051e0000, 0x051e0200, 0x22a80000)
    compacting perm gen total 8192K, used 7782K [0x22a80000, 0x23280000, 0x26a80000)
    the space 8192K, 94% used [0x22a80000, 0x23219850, 0x23219a00, 0x23280000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x0040d000      G:\Jianfang Ye\FM\20070129\Java\jre1.5.0_08\bin\java.exe
    0x77f80000 - 0x77ffc000      C:\WINNT\system32\ntdll.dll
    0x7c2d0000 - 0x7c335000      C:\WINNT\system32\ADVAPI32.dll
    0x7c570000 - 0x7c624000      C:\WINNT\system32\KERNEL32.dll
    0x77d30000 - 0x77d9f000      C:\WINNT\system32\RPCRT4.dll
    0x78000000 - 0x78045000      C:\WINNT\system32\MSVCRT.dll
    0x6d6c0000 - 0x6d85b000      G:\Jianfang Ye\FM\20070129\Java\jre1.5.0_08\bin\client\jvm.dll
    0x77e10000 - 0x77e79000      C:\WINNT\system32\USER32.dll
    0x77f40000 - 0x77f7c000      C:\WINNT\system32\GDI32.dll
    0x77570000 - 0x775a0000      C:\WINNT\system32\WINMM.dll
    0x6d280000 - 0x6d288000      G:\Jianfang Ye\FM\20070129\Java\jre1.5.0_08\bin\hpi.dll
    0x690a0000 - 0x690ab000      C:\WINNT\system32\PSAPI.DLL
    0x6d690000 - 0x6d69c000      G:\Jianfang Ye\FM\20070129\Java\jre1.5.0_08\bin\verify.dll
    0x6d300000 - 0x6d31d000      G:\Jianfang Ye\FM\20070129\Java\jre1.5.0_08\bin\java.dll
    0x6d6b0000 - 0x6d6bf000      G:\Jianfang Ye\FM\20070129\Java\jre1.5.0_08\bin\zip.dll
    0x6d4c0000 - 0x6d4d3000      G:\Jianfang Ye\FM\20070129\Java\jre1.5.0_08\bin\net.dll
    0x75030000 - 0x75044000      C:\WINNT\system32\WS2_32.dll
    0x75020000 - 0x75028000      C:\WINNT\system32\WS2HELP.DLL
    0x74fd0000 - 0x74fee000      C:\WINNT\system32\msafd.dll
    0x75010000 - 0x75017000      C:\WINNT\System32\wshtcpip.dll
    0x27cf0000 - 0x27d08000      G:\Jianfang Ye\FM\20070129\BDBXML\bin\libdb_java43.dll
    0x27d10000 - 0x27db7000      G:\Jianfang Ye\FM\20070129\BDBXML\bin\libdb43.dll
    0x7c340000 - 0x7c396000      G:\Jianfang Ye\FM\20070129\BDBXML\bin\MSVCR71.dll
    0x7c3a0000 - 0x7c41b000      G:\Jianfang Ye\FM\20070129\BDBXML\bin\MSVCP71.dll
    VM Arguments:
    jvm_args: -Dsiteminder=false -Dmyss=false -Dconfig.file=G:\Jianfang Ye\FM\20070129\config.properties -Dcom.ssc.eis.myssc.jvmglobal.configfile=G:\Jianfang Ye\FM\20070129\mssconfig-50_dev.xml -Xms512m -Xmx512m -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=G:\Jianfang Ye\FM\20070129\apache-tomcat-5.5.17\conf\logging.properties -Djava.endorsed.dirs=G:\Jianfang Ye\FM\20070129\apache-tomcat-5.5.17\common\endorsed -Dcatalina.base=G:\Jianfang Ye\FM\20070129\apache-tomcat-5.5.17 -Dcatalina.home=G:\Jianfang Ye\FM\20070129\apache-tomcat-5.5.17 -Djava.io.tmpdir=G:\Jianfang Ye\FM\20070129\apache-tomcat-5.5.17\temp
    java_command: org.apache.catalina.startup.Bootstrap start
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=C:\jdk1.3.1_10
    JRE_HOME=G:\Jianfang Ye\FM\20070129\Java\jre1.5.0_08
    CLASSPATH=C:\jdk1.3.1_10\lib\tools.jar;G:\Jianfang Ye\FM\20070129\apache-tomcat-5.5.17\bin\bootstrap.jar
    PATH=G:\Jianfang Ye\FM\20070129\BDBXML\bin; C:\jdk1.3.1_10\bin
    USERNAME=e461579
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows 2000 Build 2195 Service Pack 4
    CPU:total 1 (cores per cpu 1, threads per core 1) family 15 model 2 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 1046324k(275832k free), swap 2519928k(1509212k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_08-b03) for windows-x86, built on Jul 26 2006 01:10:50 by "java_re" with MS VC++ 6.0

  • SIGSEGV, com.sleepycat.dbxml.dbxml_javaJNI.XmlInputStream_change_ownership

    Hello,
    I'm experimenting crashes on adding a document, on RHEL5 64bit with both Sun JDK 1.5 and 1.6; and on RHEL4 32bit with JDK 1.5
    Selinux is disabled on both RHEL.
    The essential part of the jvm error is:
    # An unexpected error has been detected by Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0x00002aaaaaf2124a, pid=22759, tid=1102199104
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_01-b06 mixed mode)
    # Problematic frame:
    # V [libjvm.so+0x35124a]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j com.sleepycat.dbxml.dbxml_javaJNI.XmlInputStream_change_ownership(Lcom/sleepycat/dbxml/XmlInputStream;JZ)V+0
    j com.sleepycat.dbxml.XmlInputStream.swigReleaseOwnership()V+11
    j com.sleepycat.dbxml.XmlDocument.setContentAsXmlInputStream(Lcom/sleepycat/dbxml/XmlInputStream;)V+12
    j uk.ac.open.kmi.watson.crawler.dbxml.DbXMLDriver.processFile(Ljava/io/File;)V+169
    j uk.ac.open.kmi.watson.crawler.processor.DbXMLWriter.innerProcess(Lorg/archive/crawler/datamodel/CrawlURI;)V+241
    j org.archive.crawler.framework.Processor.process(Lorg/archive/crawler/datamodel/CrawlURI;)V+50
    j org.archive.crawler.framework.ToeThread.processCrawlUri()V+127
    j org.archive.crawler.framework.ToeThread.run()V+97
    v ~StubRoutines::call_stub
    In java I'm adding a document as:
    XmlInputStream theStream = myManager.createLocalFileInputStream("/opt/watson/test.xml");
    myDoc.setContentAsXmlInputStream(theStream);
    and I have the above issues, if I drop XmlInputStream and just set the content as:
    myDoc.setContent("<foo />");
    Everything works, even on 50 threads.
    Anybody encountered similar issues?
    Thank you.
    Laurian
    Message was edited by:
    user555161

    Hi,
    This is the output of the tests, java file put after:
    MAC OS X
    $ java -version
    java version "1.5.0_07"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-154)
    Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
    RUN 1
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1
    Dictionary - crawler - Define new name 1 -> {name,http://www.sleepycat.com/2002/dbxml}
    Dictionary - crawler - Define new name 2 -> {root,http://www.sleepycat.com/2002/dbxml}
    Dictionary - crawler - Define new name 3 -> dbxml
    Dictionary - crawler - Define new name 4 -> http://www.sleepycat.com/2002/dbxml
    Dictionary - crawler - Define new name 5 -> xml
    Dictionary - crawler - Define new name 6 -> xmlns
    Dictionary - crawler - Define new name 7 -> xsi
    Dictionary - crawler - Define new name 8 -> xsd
    Dictionary - crawler - Define new name 9 -> xs
    Dictionary - crawler - Define new name 10 -> xlink
    Dictionary - crawler - Define new name 11 -> xhtml
    Dictionary - crawler - Define new name 12 -> http://www.w3.org/XML/1998/namespace/
    Dictionary - crawler - Define new name 13 -> http://www.w3.org/XML/2000/xmlns/
    Dictionary - crawler - Define new name 14 -> http://www.w3.org/2000/xmlns/
    Dictionary - crawler - Define new name 15 -> http://www.w3.org/1999/xlink
    Dictionary - crawler - Define new name 16 -> http://www.w3.org/2001/XMLSchema-instance
    Dictionary - crawler - Define new name 17 -> http://www.w3.org/2001/XMLSchema
    Dictionary - crawler - Define new name 18 -> http://www.w3.org/1999/xhtml
    Dictionary - crawler - Define new name 19 -> id
    Dictionary - crawler - Define new name 20 -> name
    Container - crawler - Document storage container opened.
    DB opened/created!
    args:
    test1 - for ading XML from a file (path as argument 2)
    test2 - for ading XML from a string
    test3 - for ading RDF/XML, namespace issue
    Container - crawler - container closed.
    RUN 2 - test 1
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1 test1 /opt/watson/test.xml
    Container - crawler - Document storage container opened.
    Container - crawler - Adding document: foo1176934467482
    Dictionary - crawler - Define new name 51 -> http://maven.apache.org/POM/4.0.0
    Dictionary - crawler - Define new name 52 -> {created,http://watson.kmi.open.ac.uk/crawler#}
    Indexer - crawler - add unique-node-metadata-equality-string, key={Size=12 Hex=5a01666f6f31313736393334343637343832}, data={Size=3 Hex=000200}
    Container - crawler - Added document successfully: foo1176934467482
    Container - crawler - container closed.
    java(1497,0x1804a00) malloc: *** Deallocation of a pointer not malloced: 0x333a00; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
    RUN 3 - test 2
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1 test2
    Container - crawler - Document storage container opened.
    Container - crawler - Adding document: bar1176934723078
    Indexer - crawler - add unique-node-metadata-equality-string, key={Size=12 Hex=5a0162617231313736393334373233303738}, data={Size=3 Hex=002000}
    Container - crawler - Added document successfully: bar1176934723078
    Container - crawler - container closed.
    RUN 4 - test 3
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1 test3
    Container - crawler - Document storage container opened.
    Container - crawler - Adding document: bar1176934775465
    Dictionary - crawler - Define new name 53 -> http://www.w3.org/1999/02/22-rdf-syntax-ns#
    Dictionary - crawler - Define new name 54 -> http://www.recshop.fake/cd#
    Indexer - crawler - add unique-node-metadata-equality-string, key={Size=12 Hex=5a0162617231313736393334373735343635}, data={Size=3 Hex=002a00}
    Container - crawler - Added document successfully: bar1176934775465
    Container - crawler - container closed.
    ==============================
    RHEL 5
    $ java -version
    java version "1.6.0_01"
    Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_01-b06, mixed mode)
    RUN 1
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1
    Dictionary - crawler - Define new name 1 -> {name,http://www.sleepycat.com/2002/dbxml}
    Dictionary - crawler - Define new name 2 -> {root,http://www.sleepycat.com/2002/dbxml}
    Dictionary - crawler - Define new name 3 -> dbxml
    Dictionary - crawler - Define new name 4 -> http://www.sleepycat.com/2002/dbxml
    Dictionary - crawler - Define new name 5 -> xml
    Dictionary - crawler - Define new name 6 -> xmlns
    Dictionary - crawler - Define new name 7 -> xsi
    Dictionary - crawler - Define new name 8 -> xsd
    Dictionary - crawler - Define new name 9 -> xs
    Dictionary - crawler - Define new name 10 -> xlink
    Dictionary - crawler - Define new name 11 -> xhtml
    Dictionary - crawler - Define new name 12 -> http://www.w3.org/XML/1998/namespace/
    Dictionary - crawler - Define new name 13 -> http://www.w3.org/XML/2000/xmlns/
    Dictionary - crawler - Define new name 14 -> http://www.w3.org/2000/xmlns/
    Dictionary - crawler - Define new name 15 -> http://www.w3.org/1999/xlink
    Dictionary - crawler - Define new name 16 -> http://www.w3.org/2001/XMLSchema-instance
    Dictionary - crawler - Define new name 17 -> http://www.w3.org/2001/XMLSchema
    Dictionary - crawler - Define new name 18 -> http://www.w3.org/1999/xhtml
    Dictionary - crawler - Define new name 19 -> id
    Dictionary - crawler - Define new name 20 -> name
    Container - crawler - Document storage container opened.
    DB opened/created!
    args:
    test1 - for ading XML from a file (path as argument 2)
    test2 - for ading XML from a string
    test3 - for ading RDF/XML, namespace issue
    Container - crawler - container closed.
    RUN 2 - test 1
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1 test1 /opt/watson/test.xml
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1 test1 /opt/watson/test.xml
    Container - crawler - Document storage container opened.
    Container - crawler - Adding document: foo1176938860942
    Dictionary - crawler - Define new name 51 -> http://maven.apache.org/POM/4.0.0
    Dictionary - crawler - Define new name 52 -> {created,http://watson.kmi.open.ac.uk/crawler#}
    Indexer - crawler - add unique-node-metadata-equality-string, key={Size=12 Hex=5a01666f6f31313736393338383630393432}, data={Size=3 Hex=000200}
    Container - crawler - Added document successfully: foo1176938860942
    Container - crawler - container closed.
    RUNNING AGAIN
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1 test1 /opt/watson/test.xml
    Container - crawler - Document storage container opened.
    # An unexpected error has been detected by Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0x00002aaaaaf2124a, pid=6114, tid=1075882304
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_01-b06 mixed mode)
    # Problematic frame:
    # V [libjvm.so+0x35124a]
    # An error report file with more information is saved as hs_err_pid6114.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    Aborted
    In hs_err_pid6114.log:
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j com.sleepycat.dbxml.dbxml_javaJNI.XmlInputStream_change_ownership(Lcom/sleepycat/dbxml/XmlInputStream;JZ)V+0
    j com.sleepycat.dbxml.XmlInputStream.swigReleaseOwnership()V+11
    j com.sleepycat.dbxml.XmlDocument.setContentAsXmlInputStream(Lcom/sleepycat/dbxml/XmlInputStream;)V+12
    j Test1.test1(Ljava/lang/String;)V+150
    j Test1.main([Ljava/lang/String;)V+32
    v ~StubRoutines::call_stub
    RUN 3 - test 2
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1 test2
    Container - crawler - Document storage container opened.
    Container - crawler - Adding document: bar1176939020231
    Indexer - crawler - add unique-node-metadata-equality-string, key={Size=12 Hex=5a0162617231313736393339303230323331}, data={Size=3 Hex=000700}
    Container - crawler - Added document successfully: bar1176939020231
    Container - crawler - container closed.
    RUN 4 - test 3
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1 test3
    Container - crawler - Document storage container opened.
    Container - crawler - Adding document: bar1176939053875
    Indexer - crawler - add unique-node-metadata-equality-string, key={Size=12 Hex=5a0162617231313736393339303533383735}, data={Size=3 Hex=001100}
    Container - crawler - Added document successfully: bar1176939053875
    Container - crawler - container closed.
    JAVA FILE:
    import com.sleepycat.db.Environment;
    import com.sleepycat.db.EnvironmentConfig;
    import com.sleepycat.db.LockDetectMode;
    import com.sleepycat.db.Transaction;
    import com.sleepycat.db.TransactionConfig;
    import com.sleepycat.dbxml.XmlContainer;
    import com.sleepycat.dbxml.XmlContainerConfig;
    import com.sleepycat.dbxml.XmlDocument;
    import com.sleepycat.dbxml.XmlException;
    import com.sleepycat.dbxml.XmlInputStream;
    import com.sleepycat.dbxml.XmlManager;
    import com.sleepycat.dbxml.XmlManagerConfig;
    import com.sleepycat.dbxml.XmlTransaction;
    import com.sleepycat.dbxml.XmlUpdateContext;
    import com.sleepycat.dbxml.XmlValue;
    import java.io.File;
    import java.text.SimpleDateFormat;
    import java.util.GregorianCalendar;
    import java.util.TimeZone;
    * Test1.java
    * Created on April 18, 2007, 10:43 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    * @author lg3388
    public class Test1 {
    public static final File TMP = new File("/tmp");
    public static final File ENV = new File(TMP, "/foo");
    static {
    ENV.mkdirs();
    public static final String container = "crawler";
    private Environment myEnv;
    private EnvironmentConfig envConf;
    private XmlManager myManager;
    private XmlContainer myContainer;
    public void initialTasks() throws Exception {
    EnvironmentConfig envConf = new EnvironmentConfig();
    envConf.setErrorStream(System.err);
    envConf.setAllowCreate(true);
    //envConf.setRunRecovery(true);
    envConf.setJoinEnvironment(true);
    envConf.setInitializeLocking(true);
    envConf.setInitializeLogging(true);
    envConf.setInitializeCache(true);
    envConf.setTransactional(true);
    envConf.setLockDetectMode(LockDetectMode.DEFAULT);
    envConf.setPrivate(false);
    envConf.setTxnMaxActive(64);
    envConf.setTxnTimeout(60*1000000);
    envConf.setThreaded(true);
    myEnv = new Environment(ENV, envConf);
    XmlManagerConfig managerConfig = new XmlManagerConfig();
    managerConfig.setAdoptEnvironment(true);
    myManager = new XmlManager(myEnv, managerConfig);
    myManager.setLogLevel(XmlManager.LEVEL_ALL, true);
    myManager.setLogCategory(XmlManager.CATEGORY_ALL, true);
    XmlContainerConfig containerConf = new XmlContainerConfig();
    containerConf.setNodeContainer(false);
    containerConf.setAllowValidation(false);
    containerConf.setTransactional(true);
    containerConf.setAllowCreate(true);
    if ( myManager.existsContainer(container) != 0 ) {
    myContainer = myManager.openContainer(container, containerConf);
    } else {
    myContainer = myManager.createContainer(container, containerConf);
    public void finalTasks() throws Exception {
    myContainer.close();
    public void test1(String fileName) throws Exception {
    // UTC unix timestamp
    GregorianCalendar time = new GregorianCalendar(TimeZone.getTimeZone("UTC"));
    long stamp = time.getTimeInMillis();
    Transaction tn = null;
    TransactionConfig tc = new TransactionConfig();
    //tc.setNoWait(true);
    tn = myEnv.beginTransaction(null, tc);//
    XmlTransaction txn = null;
    try {
    txn = myManager.createTransaction(tn);
    XmlUpdateContext theContext = myManager.createUpdateContext();
    String URI = "http://watson.kmi.open.ac.uk/crawler#";
    String attrName = "created";
    XmlValue attrValue = new XmlValue(XmlValue.DATE_TIME, new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'").format(time.getTime()));
    // @@@@@ THIS IS NOT IN TEST 2
    // Get the input stream.
    XmlInputStream theStream = myManager.createLocalFileInputStream(fileName);
    // Get an XmlDocument
    XmlDocument myDoc = myManager.createDocument();
    // Set the document's name
    myDoc.setName("foo" + Long.toString(stamp));
    // @@@@@ THIS IS NOT IN TEST 2
    // Set the content
    myDoc.setContentAsXmlInputStream(theStream);
    // Set the metadata
    myDoc.setMetaData(URI, attrName, attrValue);
    // Put the document into the container
    myContainer.putDocument(txn, myDoc, theContext, null);
    //free resources?
    myDoc.delete();
    txn.commit();
    // free resources?
    txn.delete();
    } catch (XmlException e) {
    e.printStackTrace();
    if (txn != null) txn.abort();
    public void test2(String content) throws Exception {
    // UTC unix timestamp
    GregorianCalendar time = new GregorianCalendar(TimeZone.getTimeZone("UTC"));
    long stamp = time.getTimeInMillis();
    Transaction tn = null;
    TransactionConfig tc = new TransactionConfig();
    //tc.setNoWait(true);
    tn = myEnv.beginTransaction(null, tc);//
    XmlTransaction txn = null;
    try {
    txn = myManager.createTransaction(tn);
    XmlUpdateContext theContext = myManager.createUpdateContext();
    String URI = "http://watson.kmi.open.ac.uk/crawler#";
    String attrName = "created";
    XmlValue attrValue = new XmlValue(XmlValue.DATE_TIME, new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'").format(time.getTime()));
    // Get an XmlDocument
    XmlDocument myDoc = myManager.createDocument();
    // Set the document's name
    myDoc.setName("bar" + Long.toString(stamp));
    // @@@@ THIS IS THE DIFF TO TEST 1
    // Set the content
    myDoc.setContent(content);
    // Set the metadata
    myDoc.setMetaData(URI, attrName, attrValue);
    // Put the document into the container
    myContainer.putDocument(txn, myDoc, theContext, null);
    //free resources?
    myDoc.delete();
    txn.commit();
    // free resources?
    txn.delete();
    } catch (XmlException e) {
    e.printStackTrace();
    if (txn != null) txn.abort();
    public static void main(String[] args) throws Exception {
    Test1 test = new Test1();
    test.initialTasks();
    if (args.length > 0) {
    if ("test1".equals(args[0])) test.test1(args[1]);
    if ("test2".equals(args[0])) test.test2("<bar />");
    if ("test3".equals(args[0])) test.test2(
    "<rdf:RDF"
    + " xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' "
    + "xmlns:cd='http://www.recshop.fake/cd#'> "
    + "<rdf:Description"
    + " rdf:about='http://www.recshop.fake/cd/Empire Burlesque'>"
    + " <cd:artist>Bob Dylan</cd:artist>"
    + " <cd:country>USA</cd:country>"
    + " <cd:company>Columbia</cd:company>"
    + " <cd:price>10.90</cd:price>"
    + " <cd:year>1985</cd:year>"
    + "</rdf:Description></rdf:RDF>"
    } else {
    System.out.println("DB opened/created!");
    System.out.println("args:");
    System.out.println("test1 - for ading XML from a file (path as argument 2)");
    System.out.println("test2 - for ading XML from a string");
    System.out.println("test3 - for ading RDF/XML, namespace issue");
    test.finalTasks();
    }

  • NullPointerException at com.sun.t2k.T2KFontFactory.resolveFontFil

    Hellow everyone
    I face an exception when I start FXML-LoginDemo.jar
    the following
    My OS is Microsoft Windows XP [Version 5.1.2600] SP3 Japanese edition
    C:\D\JavaFX\JavaFX 2.1.0 SDK\javafx-samples-2.1.0-beta>java -version
    java version "1.7.0_04-ea"
    Java(TM) SE Runtime Environment (build 1.7.0_04-ea-b06)
    Java HotSpot(TM) Client VM (build 23.0-b06, mixed mode)
    C:\D\JavaFX\JavaFX 2.1.0 SDK\javafx-samples-2.1.0-beta>java -jar FXML-LoginDemo.jar
    java.lang.NullPointerException
    at com.sun.t2k.T2KFontFactory.resolveFontFiles(T2KFontFactory.java:828)
    at com.sun.t2k.T2KFontFactory.resolveWindowsFonts(T2KFontFactory.java:786)
    at com.sun.t2k.T2KFontFactory.getFullNameToFileMap(T2KFontFactory.java:1351)
    at com.sun.t2k.T2KFontFactory.getFontResource(T2KFontFactory.java:212)
    at com.sun.t2k.LogicalFont.getSlot0Resource(LogicalFont.java:174)
    at com.sun.t2k.LogicalFont.getDefaultAAMode(LogicalFont.java:300)
    at com.sun.t2k.LogicalFont.getStrike(LogicalFont.java:304)
    at com.sun.t2k.T2KFont.getStrike(T2KFont.java:70)
    at com.sun.javafx.font.PrismFontUtils.getFontMetrics(PrismFontUtils.java:14)
    at com.sun.javafx.font.PrismFontLoader.getFontMetrics(PrismFontLoader.java:434)
    at javafx.scene.text.Text.<init>(Text.java:105)
    at com.sun.javafx.scene.control.skin.TextFieldSkin.<init>(TextFieldSkin.java:92)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
    at javafx.scene.control.Control.loadSkinClass(Control.java:921)
    at javafx.scene.control.Control.impl_cssSet(Control.java:999)
    at javafx.scene.Node.impl_cssSet(Node.java:6493)
    at com.sun.javafx.css.StyleHelper.transitionToState(StyleHelper.java:755)
    at javafx.scene.Node.impl_processCSS(Node.java:6345)
    at javafx.scene.Parent.impl_processCSS(Parent.java:975)
    at javafx.scene.control.Control.impl_processCSS(Control.java:1026)
    at javafx.scene.Parent.impl_processCSS(Parent.java:982)
    at javafx.scene.Parent.impl_processCSS(Parent.java:982)
    at javafx.scene.Node.processCSS(Node.java:6313)
    at javafx.scene.Scene.doCSSPass(Scene.java:404)
    at javafx.scene.Scene.preferredSize(Scene.java:1208)
    at javafx.scene.Scene.impl_preferredSize(Scene.java:1258)
    at javafx.stage.Window.adjustSize(Window.java:139)
    at javafx.stage.Window.access$800(Window.java:50)
    at javafx.stage.Window$13.invalidated(Window.java:692)
    at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:88)
    at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:122)
    at javafx.stage.Window.setShowing(Window.java:744)
    at javafx.stage.Window.show(Window.java:759)
    at javafx.stage.Stage.show(Stage.java:129)
    at demo.App.start(App.java:73)
    at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:299)
    at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:153)
    at com.sun.javafx.application.PlatformImpl$3.run(PlatformImpl.java:120)
    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
    at com.sun.glass.ui.win.WinApplication$2$1.run(WinApplication.java:62)
    at java.lang.Thread.run(Thread.java:722)

    Hi guys,
    I'm pretty sure I found the problem.
    If there is a wrong url for a link in your JSF page it will throw this error in the log.
    in my case i was referring a javascript file in the page which doesn't exist at the path.
    So check all of your links on the page to make sure they are right. that should fix the problem.
    atleast it did in my case.
    Thanks
    Praveen
    Message was edited by:
    bpraveen

  • Com.sleepycat.je.log.LogException: (JE 3.3.62) java.io.IOException: No lock

    Hi
    From today on my hosted machine facing issue in starting Integrated weblogic server within Jdeveloper.
    m/c machine is oel5 64 bit.
    jdev version : Studio Edition Version 11.1.1.2.0
    I tried all sorts of trick like chmod 777 -R /tmp removing edit.lok file etc. Finally I completely installed jdev and then reinstalled it, but without any luck.
    Now I am getting below errors:
    During installation below is the warning message:
    ==
    download/ORA11G/jdevstudio11112install.bin
    Extracting 0%....................................................................................................100%
    Mar 19, 2012 3:42:13 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
    WARNING: Could not lock User prefs. Unix error code 37.
    Mar 19, 2012 3:42:13 AM java.util.prefs.FileSystemPreferences syncWorld
    WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
    Mar 19, 2012 3:42:43 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
    WARNING: Could not lock User prefs. Unix error code 37.
    Mar 19, 2012 3:42:43 AM java.util.prefs.FileSystemPreferences syncWorld
    WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
    ==
    After running jdev
    ====
    Mar 19, 2012 3:43:33 AM oracle.ideimpl.persistence.BerkeleyDBEnvironment getNameSpace
    SEVERE: Unable to open environment /.jdeveloper/system11.1.1.2.36.55.36/oracle.javatools.cache
    com.sleepycat.je.log.LogException: (JE 3.3.62) java.io.IOException: No locks available
    ====
    Once I try to run the application
    ==
    Mar 19, 2012 3:44:57 AM oracle.security.jps.internal.credstore.ssp.CsfWalletManager createWallet
    WARNING: Cannot persist the wallet. Reason java.io.IOException: No locks available.
    Application Application1 is bound to Server Instance IntegratedWebLogicServer
    Starting Server Instance IntegratedWebLogicServer
    Mar 19, 2012 3:47:39 AM oracle.jps.credstore
    WARNING: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password.
    Server Instance IntegratedWebLogicServer could not be started: Error starting Server Instance.
    ===
    Any suggestion ..., What might be wrong with my system or configuration. Note that it was working fine till Yesterday.

    I am also facing the same issue in my 64 bit linux machine. Any suggestions?
    Thanks.

  • Java.lang.NullPointerException at com.sun.mail.iap.Response.parse

    I am getting this error when I try to download a message using IMAP from exchange server
    java.lang.NullPointerException
         at com.sun.mail.iap.Response.parse(Response.java:99)
         at com.sun.mail.iap.Response.<init>(Response.java:68)
         at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:31)
         at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:105)
         at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:153)
         at com.sun.mail.iap.Protocol.command(Protocol.java:215)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:882)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:874)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:656)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:645)
    This error occurs intermittantly. I placed one large mail (around 600 MB) and few normal size mails on exchange server. In few testing runs, this error occured while downloading the large mail as well as one normal mail. In one test run, all mails got downloaded successfully.
    Could anyone please suggest the cause and resolution?
    Thanks.

    I turned on the session debugging. I am running my application on Linux, so the debugging info was moved to a log file. This log file is very large (around 1GB) and I am unable to open it.
    One more thing: I am trying Message.writeTo() method to download the message. If an OutOfMemoryError occurs, I catch it and try to download the message using GetInputStream. NullPointerException is occuring in both the cases.
    Exception stack trace with writeTo():
    java.lang.NullPointerException
         at com.sun.mail.iap.Response.parse(Response.java:99)
         at com.sun.mail.iap.Response.<init>(Response.java:68)
         at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:31)
         at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:105)
         at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:153)
         at com.sun.mail.iap.Protocol.command(Protocol.java:215)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:882)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:874)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:656)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:645)
         at com.sun.mail.imap.IMAPMessage.writeTo(IMAPMessage.java:536)
    Exception stack trace with getInputStream():
    java.lang.NullPointerException
         at com.sun.mail.iap.Response.parse(Response.java:99)
         at com.sun.mail.iap.Response.<init>(Response.java:68)
         at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:31)
         at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:105)
         at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:153)
         at com.sun.mail.iap.Protocol.command(Protocol.java:215)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:882)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:874)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:653)
         at com.sun.mail.imap.protocol.IMAPProtocol.peekBody(IMAPProtocol.java:637)
         at com.sun.mail.imap.IMAPMessage.loadHeaders(IMAPMessage.java:1055)
         at com.sun.mail.imap.IMAPMessage.getAllHeaders(IMAPMessage.java:642)
    First I try to download the headers in case of an OutOfMemoryError. The above trace shows that.
    Could anyone point out the problem and help resolving it?

  • RUNTIME_EXCEPTION NullPointerException: at com.sap.guid.GUID.parseHexGUID

    I have just started testing an end to end process that uses RFC Lookups on PI 7.1 ...
    when testing the mapping from the ESR in both message mapping and operational mapping, it works fine..
    when i run it end to end i get the following error:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">RUNTIME_EXCEPTION</SAP:Code>
      <SAP:P1>Thrown: java.lang.NullPointerException: at com.s</SAP:P1>
      <SAP:P2>ap.guid.GUID.parseHexGUID(GUID.java:1015) at com.</SAP:P2>
      <SAP:P3>sap.guid.GUIDGenerator.parseHexGUID(GUIDGenerator.</SAP:P3>
      <SAP:P4>java:111) at com.sap.aii.utilxi.misc.api.GUIDFac~</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>Runtime exception occurred during mapping</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    i can take the xml and run it perfectly in the ESR in both OM and MM mapping.....  any suggestions?  i believe all the config is there for the RFC Lookup...

    There was config missing in the interface determination in the ID.  Parameter assigned and tested.

  • Jaxb is giving NullPointerException  at com.sun.xml.bind.v2.model.impl.Prop

    Hi,
    I am getting null pointer exception , i dont whether it is due to jar mismatch or what ???
    I have a stand alone application which created java classes from one schema file and , i construct xml file by
    inputting some values. It works fine in my machine. But when i deploy it our product which has tomcat6 it
    gives the following exception.
    ava.lang.NullPointerException
         at com.sun.xml.bind.v2.model.impl.PropertyInfoImpl.calcXmlName(PropertyInfoImpl.java:287)
         at com.sun.xml.bind.v2.model.impl.PropertyInfoImpl.calcXmlName(PropertyInfoImpl.java:260)
         at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl.getTypes(ElementPropertyInfoImpl.java:100)
         at com.sun.xml.bind.v2.model.impl.RuntimeElementPropertyInfoImpl.getTypes(RuntimeElementPropertyInfoImpl.java:50)
         at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.size(ElementPropertyInfoImpl.java:42)
         at java.util.AbstractList$Itr.hasNext(AbstractList.java:341)
         at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:139)
         at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:49)
         at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:41)
         at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:189)
         at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:204)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl$1.run(JAXBContextImpl.java:343)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl$1.run(JAXBContextImpl.java:340)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:340)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:204)
         at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76)
         at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:55)
         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:589)
         at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210)
         at javax.xml.bind.ContextFinder.find(ContextFinder.java:381)
         at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
         at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
         at com.facetime.rtgsm.extractor.GenerateXml.GenerateXmlForSkypeManagementOnly(Unknown Source)
         at com.facetime.rtgsm.extractor.JDBCToXML.getXmlStringForModalities(Unknown Source)
         at com.facetime.rtgsm.publisher.MessagePublisherClient.sendMessage(Unknown Source)
         at com.facetime.rtgsm.publisher.MessagePublisherJob.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
    Any help would be be grately appreciated :)

    Check whether jaxb-ri.jar is there in your class path

  • NullPointerException at com.sun.faces.context.ExternalContextImpl.dispatch?

    Hi All,
    i got this Exception in the log of the application on the application server with big rate
    java.lang.NullPointerException at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
    at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    any idea???

    Hi guys,
    I'm pretty sure I found the problem.
    If there is a wrong url for a link in your JSF page it will throw this error in the log.
    in my case i was referring a javascript file in the page which doesn't exist at the path.
    So check all of your links on the page to make sure they are right. that should fix the problem.
    atleast it did in my case.
    Thanks
    Praveen
    Message was edited by:
    bpraveen

  • NullPointerException  at com.sun.scenario.effect

    Hi to all
    I meet this exception in my app. At the screen it seems like lost links to my graphics(no rendering some nodes)
    Are there some one to meet that exception too?
    java.lang.NullPointerException
            at com.sun.scenario.effect.impl.prism.ps.PPSDrawable.create(Unknown Sour
    ce)
            at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.createCompatibleIma
    ge(Unknown Source)
            at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.createCompatibleIma
    ge(Unknown Source)
            at com.sun.scenario.effect.impl.ImagePool.checkOut(Unknown Source)
            at com.sun.scenario.effect.impl.Renderer.getCompatibleImage(Unknown Sour
    ce)
            at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.getCompatibleImage(
    Unknown Source)
            at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.getCompatibleImage(
    Unknown Source)
            at com.sun.scenario.effect.Effect.getCompatibleImage(Unknown Source)
            at com.sun.javafx.sg.prism.NGNode.renderOpacity(Unknown Source)
            at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
            at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
            at com.sun.javafx.sg.BaseNode.render(Unknown Source)
            at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
            at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
            at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
            at com.sun.javafx.sg.BaseNode.render(Unknown Source)
            at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
            at com.sun.javafx.sg.prism.NGRegion.renderContent(Unknown Source)
            at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
            at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
            at com.sun.javafx.sg.BaseNode.render(Unknown Source)
            at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
            at com.sun.javafx.sg.prism.NGRegion.renderContent(Unknown Source)
            at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
            at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
            at com.sun.javafx.sg.BaseNode.render(Unknown Source)
            at com.sun.javafx.tk.quantum.ViewPainter.doPaint(Unknown Source)
            at com.sun.javafx.tk.quantum.AbstractPainter.paintImpl(Unknown Source)
            at com.sun.javafx.tk.quantum.PresentingPainter.run(Unknown Source)
            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
            at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
            at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
            at com.sun.prism.render.RenderJob.run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(Unknow
    n Source)
            at java.lang.Thread.run(Unknown Source)

    I think there are bugs in the underlying texture handling that are scheduled to be fixed for JavaFX 3.0 which might cause this issue. If that is in fact your issue, I'm not sure what the correct workaround is (perhaps forcing a software pipeline - which I don't know how to do - or simplifying your graphics processing).
    I think the jira issue to track this is:
    http://javafx-jira.kenai.com/browse/RT-15516
    "image data associated with cached nodes that are removed from a scene are not aggressively released"
    Essentially I think the issue is that texture memory on the video card is used up because the unused cached nodes are not aggressively garbage collected.
    I'd advise trying to create a simple test case to reproduce it (I know that might be difficult...) and post your test case (or your app if you can't create one) with reproduction instructions to http://javafx-jira.kenai.com. Although maybe even just posting the stack trace to jira will be enough for the developers to verify that the issue is a duplicate of RT-15516.
    I created a couple of seemingly unrelated jiras which ended up being classed as duplicates of the above jira.
    In both cases I was animating large graphics at high speeds.

  • NullPointerException at com.sun.jndi.ldap.Connection.run(Connection.java:52

    We are using the Sun jndi 1.2.1 files from a Java client to
    access the IBM SecureWay Directory 3.2 server. Our test case is
    retrieving entries using the ctx.getAttributes (String, String[])
    method. Occasionally we are receiving the following error.
    java.lang.NullPointerException
    at com.sun.jndi.ldap.Connection.run(Connection.java:525)
    at java.lang.Thread.run(Thread.java:481)
    The java.lang.NullPointerException is coming from the Sun JNDI file.
    Our program is not catching this exception.
    Has anyone seen this problem before and have any ideas on how this can be resolved?

    Download and use LDAP 1.2.3 or JDK 1.3.1.
    The problem should go away.

  • NullPointerException in com.sun.mail.iap.Response.parse

    Hey all. I am accessing an IMAP mail server from Solaris 8 using java 1.5.0-08, but I intermittently get the following exception:
    java.lang.NullPointerException
            at com.sun.mail.iap.Response.parse(Response.java:130)
            at com.sun.mail.iap.Response.<init>(Response.java:87)
            at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:48)
            at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:122)
            at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:230)
            at com.sun.mail.iap.Protocol.command(Protocol.java:263)
            at com.sun.mail.iap.Protocol.simpleCommand(Protocol.java:310)
            at com.sun.mail.imap.protocol.IMAPProtocol.close(IMAPProtocol.java:926)
            at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1000)
            at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:935)Any thoughts of what I am doing wrong?

    I'm just looking for more data to get
    a handle on the problem.I ran my program again, and got a NPE on another email. It is also big...
    A479 FETCH 856 (BODY[])
    * 856 FETCH (BODY[] {26497359}
    Return-Path: <[email protected]>
    ... some of the body ...
    BTW, the ebinder subcollection is not in the select list. Do I have to configure
    or create another foA480 CLOSE
    DEBUG: added an Authenticated connection -- size: 1
    java.lang.NullPointerException
            at com.sun.mail.iap.Response.parse(Response.java:130)
            at com.sun.mail.iap.Response.<init>(Response.java:87)
            at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:48)
            at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:122)
            at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:230)
            at com.sun.mail.iap.Protocol.command(Protocol.java:263)
            at com.sun.mail.iap.Protocol.simpleCommand(Protocol.java:310)
            at com.sun.mail.imap.protocol.IMAPProtocol.close(IMAPProtocol.java:926)
            at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1000)
            at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:935)
    A481 LIST "" shared
    java.lang.NullPointerException
            at com.sun.mail.iap.Response.parse(Response.java:130)
            at com.sun.mail.iap.Response.<init>(Response.java:87)
            at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:48)
            at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:122)
            at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:230)
            at com.sun.mail.iap.Protocol.command(Protocol.java:263)
            at com.sun.mail.imap.protocol.IMAPProtocol.doList(IMAPProtocol.java:799)
            at com.sun.mail.imap.protocol.IMAPProtocol.list(IMAPProtocol.java:776)
            at com.sun.mail.imap.IMAPFolder$1.doCommand(IMAPFolder.java:429)
            at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2387)
            at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2332)
            at com.sun.mail.imap.IMAPFolder.exists(IMAPFolder.java:427)
    ... lots of these ...
    A490 LIST "" shared
    rm or resource or something to solve this problem? please
    advice.
    (See attached file: private-xml.rtf)(See attached file: private-html.rtf)(See
    ... more body from the first email ...And this process of getting little chunks of data seems to continue on, interspersed with NPEs. It looks like some connection is not being closed.

  • Java.lang.NullPointerException   at com.sap.caf.eu.gp.ui.inst.CInstantiation.getProcessTemplate(CInstantiation.java:732)

    Hi I am getting the following error on link related to Guided procedure step only for few people not for every one. Once  i delete the browser cookies are cache it is working fine. Please  let me know , if any one could had same issue or if any one know the reason, it is completely showing related to Standard GP service related exception. Also this errors are not coming all the time consistently, it is happening randomly. but when u get the error if you delete the cookies from browser and log off and login again from portal it is working fine.
    Path to object does not exist at com.sap.nw.eu.gp, the whole lookup name is sap.com/com.sap.nw.eu.gp/GPService.
    com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at com.sap.nw.eu.gp, the whole lookup name is sap.com/com.sap.nw.eu.gp/GPService.
    at com.sap.engine.services.jndi.implserver.ServerContextImpl.getLastContainer(ServerContextImpl.java:278)
    at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:627)
    at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:344)
    at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:254)
    at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:271)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.sap.caf.eu.gp.ui.inst.CInstantiation.wdDoInit(CInstantiation.java:161)
    at com.sap.caf.eu.gp.ui.inst.wdp.InternalCInstantiation.wdDoInit(InternalCInstantiation.java:148)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:761)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:696)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:864)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
    at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1362)
    at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)
    at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
    at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:192)
    at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:150)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) 
    Exception occured during processing of Web Dynpro application sap.com/caf~eu~gp~ui~inst/AInstantiation. The causing exception is nested.
    [EXCEPTION]
    java.lang.NullPointerException
    at com.sap.caf.eu.gp.ui.inst.CInstantiation.getProcessTemplate(CInstantiation.java:732)
    at com.sap.caf.eu.gp.ui.inst.wdp.InternalCInstantiation.getProcessTemplate(InternalCInstantiation.java:203)
    at com.sap.caf.eu.gp.ui.inst.VInstantiation.dispatch(VInstantiation.java:182)
    at com.sap.caf.eu.gp.ui.inst.VInstantiation.onEventShowInstantiationView(VInstantiation.java:564)
    at com.sap.caf.eu.gp.ui.inst.wdp.InternalVInstantiation.wdInvokeEventHandler(InternalVInstantiation.java:291)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
    at com.sap.tc.webdynpro.progmodel.controller.Component.fireEvent(Component.java:285)
    at com.sap.caf.eu.gp.ui.inst.wdp.InternalCInstantiationInterface.wdFireEventShowInstantiationView(InternalCInstantiationInterface.java:174)
    at com.sap.caf.eu.gp.ui.inst.CInstantiationInterface.setTemplateId(CInstantiationInterface.java:116)
    at com.sap.caf.eu.gp.ui.inst.wdp.InternalCInstantiationInterface.setTemplateId(InternalCInstantiationInterface.java:129)
    at com.sap.caf.eu.gp.ui.inst.WInstantiationInterfaceView.onPlugDefault(WInstantiationInterfaceView.java:83)
    at com.sap.caf.eu.gp.ui.inst.wdp.InternalWInstantiationInterfaceView.wdInvokeEventHandler(InternalWInstantiationInterfaceView.java:105)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingInterfaceView.invokeEventHandler(DelegatingInterfaceView.java:85)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:162)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:375)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:761)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:696)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:864)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
    at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1362)
    at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)
    at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
    at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:192)
    at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:150)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

    Govardan,
    Thanks for the reply. We don't have any custom code related to GP or CAF. We created the GP Process and in the process, we attached the PCD objects to the callable object to call.
    In the entire error trace it is referring only sap standard classes only. Also we haven't done any customization Except GP Process creation as i mentioned above.
    com.sap.caf.eu.gp.ui.inst.CInstantiation.getProcessTemplate(CInstantiation.java:732),
    if you look at my initial report , there are two exceptions i have mentioned. before coming the above error i have observed the following error in the log file, First it is logging the following error and then next showing the above error. Looks like GPService is not able to lookup .
    Path to object does not exist at com.sap.nw.eu.gp, the whole lookup name is  sap.com/com.sap.nw.eu.gp/GPService.
    com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at com.sap.nw.eu.gp, the whole lookup name is sap.com/com.sap.nw.eu.gp/GPService.
    at com.sap.engine.services.jndi.implserver.ServerContextImpl.getLastContainer(ServerContextImpl.java:278)
    at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:627)
    at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:344)
    at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:254)
    at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:271)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.sap.caf.eu.gp.ui.inst.CInstantiation.wdDoInit(CInstantiation.java:161)
    at com.sap.caf.eu.gp.ui.inst.wdp.InternalCInstantiation.wdDoInit(InternalCInstantiation.java:148)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:761)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:696)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:864)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
    at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1362)
    at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)
    at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
    at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:192)
    at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:150)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) 
    Thanks

  • Java.lang.NullPointerException at com.evermind.server.ObjectReferenceCleane

    I am getting the below error when the server is started. Can any one let me know why do we get this error?
    13/01/13 23:33:28.432 10.1.3.5.0 Started
    13/01/14 00:46:53.915 Internal server error
    java.lang.NullPointerException
    at com.evermind.server.ObjectReferenceCleaner.resetApplicationLogger(ObjectReferenceCleaner.java:260)
    at com.evermind.server.ObjectReferenceCleaner.cleanupApplicationLogger(ObjectReferenceCleaner.java:167)
    at com.evermind.server.ObjectReferenceCleaner.loaderDestroyed(ObjectReferenceCleaner.java:94)
    at oracle.classloader.EventDispatcher.loaderDestroyed(EventDispatcher.java:254)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1187)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1126)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1069)
    at com.evermind.server.ApplicationStateRunning.destroyClassLoaders(ApplicationStateRunning.java:1201)
    at com.evermind.server.Application.stateCleanUp(Application.java:3766)
    at com.evermind.server.Application.destroy(Application.java:802)
    at com.evermind.server.ApplicationServer.destroyApplications(ApplicationServer.java:2337)
    at com.evermind.server.ApplicationServer.destroy(ApplicationServer.java:2124)
    at com.evermind.server.ApplicationServerShutdownHandler.run(ApplicationServerShutdownHandler.java:93)
    at java.lang.Thread.run(Thread.java:662)
    13/01/14 00:48:42.413 10.1.3.5.0 Started

    I am getting the below error when the server is started. Can any one let me know why do we get this error?
    13/01/13 23:33:28.432 10.1.3.5.0 Started
    13/01/14 00:46:53.915 Internal server error
    java.lang.NullPointerException
    at com.evermind.server.ObjectReferenceCleaner.resetApplicationLogger(ObjectReferenceCleaner.java:260)
    at com.evermind.server.ObjectReferenceCleaner.cleanupApplicationLogger(ObjectReferenceCleaner.java:167)
    at com.evermind.server.ObjectReferenceCleaner.loaderDestroyed(ObjectReferenceCleaner.java:94)
    at oracle.classloader.EventDispatcher.loaderDestroyed(EventDispatcher.java:254)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1187)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1126)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1069)
    at com.evermind.server.ApplicationStateRunning.destroyClassLoaders(ApplicationStateRunning.java:1201)
    at com.evermind.server.Application.stateCleanUp(Application.java:3766)
    at com.evermind.server.Application.destroy(Application.java:802)
    at com.evermind.server.ApplicationServer.destroyApplications(ApplicationServer.java:2337)
    at com.evermind.server.ApplicationServer.destroy(ApplicationServer.java:2124)
    at com.evermind.server.ApplicationServerShutdownHandler.run(ApplicationServerShutdownHandler.java:93)
    at java.lang.Thread.run(Thread.java:662)
    13/01/14 00:48:42.413 10.1.3.5.0 Started

  • NullPointerException at com.sap.ip.me.smartsync.data.AbstractRow.getSyncKey

    Dear all,
    I have created one mobile application,with SyncBo,which
    contain the getlist , getdetail and create wrapper function modules.(Using MDK 2.5 , server SP 13,Studio SP 13)
    This create wrapper function module is internaly using some BAPI's , because of that , when the frame work calls the get detail  function module after the create ,
    the data coming is  not complete. The key field selection and mapping is perfect (Its is working fine).
    (one of the internally using function module has 10 second delay)
    Because of this or commit work associated with BAPI, i am not getting  sufficient data first, as i described above.
    but after some time , in the next syncronization  im getting the expected data.
    if not wait , after sync, i am getting unexpected exception at the time of viewing the newly created data.
    this is the Exception , that i got (below)
    ==============================================
    java.lang.NullPointerException
         at com.sap.ip.me.smartsync.data.AbstractRow.getSyncKey(AbstractRow.java:302)
         at com.sap.ip.me.smartsync.data.SyncBoProxy.getSyncKey(SyncBoProxy.java:178)
         at com.sap.ip.me.smartsync.data.SyncBoCollectionImpl.(SyncBoCollectionImpl.java:30)
         at com.sap.ip.me.smartsync.data.SyncBoListImpl.(SyncBoListImpl.java:30)
         at com.sap.ip.me.smartsync.data.SyncBoDataFacadeImpl.getSyncBos(SyncBoDataFacadeImpl.java:146)
    ==========================================
      please help me to resolve this problem
                                          Regards
                                          Kishor G

    hello kishor,
    did you apply any patch for sp13?
    patch 09 is the latest for sp 13. check on
    note number 905518.
    there are some fixes which could be related
    to this problem.
    regards
    jo

Maybe you are looking for

  • SXI_CACHE throws error while activating; but error does not exist anymore

    Hi everybody, when I try to activate a BPM in sxi_cache. sxi_cache throws an error due to a step that does not exist anymore. What can I do? Thanks a lot Regards Mario

  • Suspend to ram stopped working with Acer Aspire 5930G - Arch64

    Suspend to ram recently stopped working on my laptop running Arch64. When ever I press the suspend to ram button in kde4 simply nothing happens, no screen flashing or error messages of any kind. I tried to install the pm-utils package and run pm-susp

  • Sorting sheet music by song number

    I have sheet music in individual scanned files.  I can sort them by name, date modified, file size and file type.  Except for the file name, I want to manually/individually change the items in any of the above columns so I can enter the song number a

  • Formulas and Groups

    Post Author: vondee CA Forum: Crystal Reports I have a report grouped by year, with a percent total for each year that is calculated in a formula from running totals: 2004 - XX% 2005 - XX% 2006 - XX% 2007- XX% I want to add a formula next to the perc

  • SRM - SUS no transaction committed

    We are implementing ECC to SUS for Direct Materiall and SRM - SUS for indirect Material.  ECC to SUS is working for all processes ( Vendor replication, PO, SAR, PO confirmation, ASN, Invoice). SRM- SUS is not working. XML is send successfully from SR