NPE Exception while getting mutable object

I have an application (Model + ViewController). The ViewController is deployed as a jar file. The other application depends on the first project jar. The second application is a simple web application that responds to REST query. The first call is working fine. The second call throws an exception (NPE), and all following calls are working fine. I don't really understand the exception, what should I look for?
SEVERE: Exception while getting mutable object
java.lang.NullPointerException
        at oracle.mds.internal.persistence.NamespaceRulesImpl.<init>(NamespaceRulesImpl.java:123)
        at oracle.mds.internal.persistence.NamespaceRules.getNamespaceRulesObj(NamespaceRules.java:72)
        at oracle.mds.internal.util.ChangeUtil.convertToMOEvents(ChangeUtil.java:134)
        at oracle.mds.internal.notifications.EventNotificationManager.handleChanges(EventNotificationManager.java:354)
        at oracle.mds.internal.notifications.EventNotificationManager.handlePChanges(EventNotificationManager.java:251)
        at oracle.mds.core.MOState.signalStale(MOState.java:1185)
        at oracle.mds.core.MOState.signalStale(MOState.java:644)
        at oracle.mds.core.MOState.checkStalenessDocFromBuilder(MOState.java:739)
        at oracle.mds.core.MOState.getIsStaleLastModified(MOState.java:559)
        at oracle.mds.core.MOContent.getIsStaleLastModified(MOContent.java:277)
        at oracle.mds.core.ChainedMOContent.getIsStaleLastModified(ChainedMOContent.java:142)
        at oracle.mds.core.MetadataObject.isStale(MetadataObject.java:818)
        at oracle.adf.share.jndi.MDSBackingStore.obtainMetadataObject(MDSBackingStore.java:517)
        at oracle.adf.share.jndi.MDSBackingStore.getMOBean(MDSBackingStore.java:572)
        at oracle.bc4j.mbean.RuntimeMXBeanImpl.init(RuntimeMXBeanImpl.java:128)
        at oracle.bc4j.mbean.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:118)
        at oracle.bc4j.mbean.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:109)
        at oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack.contextInitialized(BC4JConfigLifeCycleCallBack.java:160)
        at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
        at weblogic.servlet.internal.WebAppServletContext.reloadServletClassLoader(WebAppServletContext.java:3106)
        at weblogic.servlet.internal.FilterWrapper.reloadFilter(FilterWrapper.java:63)
        at weblogic.servlet.internal.FilterWrapper.checkForReload(FilterWrapper.java:104)
        at weblogic.servlet.internal.FilterWrapper.getFilter(FilterWrapper.java:41)
        at weblogic.servlet.internal.FilterChainImpl.add(FilterChainImpl.java:35)
        at weblogic.servlet.internal.FilterManager.getFilterChain(FilterManager.java:232)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3727)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Nov 25, 2013 1:44:58 PM oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack contextInitialized
WARNING: com/example/model/module/common/bc4j.xcfg: java.lang.NullPointerException

The applications already existed when I started working on them, but I don't think the model projects were renamed or moved. I changed the original warning message "com/example/model/module/common/bc4j.xcfg". The warning message points to the correct bc4j.xml files.

Similar Messages

  • Exception while getting the server instance. Stateless bean problem

    Hi,
    New to OC4J, I'm moving an ear that was running ok under jboss.
    1- The wep app deploys. This is a piece of code inside the init() method of a struts plugin:
         System.out.println("0");
         AddressFacadeHome addressFacadeHome = HomeFactory.getAddressFacadeHome();
         System.out.println("1.0");
         AddressFacade addressFacade = addressFacadeHome.create();
         System.out.println("1.5");
    2- The code is run when the web app is initialized. This is the error message I get. system.out show that the error occurs on addressFacadeHome.create().
    AddressFacade is a remote/local stateless bean. HomeFactory returns the jndi lookup/narrow of the remote object.
    0
    1.0
    caught exception while getting the server instance null
    java.lang.NullPointerException
    com.evermind.security.User com.evermind.server.ThreadState.getCurrentUser()
    ThreadState.java:637
    com.evermind.security.User com.evermind.server.ThreadState.getUser()
    ThreadState.java:371
    fda.common.address.ejb.interfaces.AddressFacade AddressFacadeHome_StatelessSessionHomeWrapper7.create(
    AddressFacadeHome_StatelessSessionHomeWrapper7.java:66
    void fda.web.oaa.struts.plugin.ApplicationInit.init(org.apache.struts.action.ActionServlet, org.apache
    .struts.config.ModuleConfig)
    void org.apache.struts.action.ActionServlet.initModulePlugIns(org.apache.struts.config.ModuleConfig)
    ActionServlet.java:1105
    void org.apache.struts.action.ActionServlet.init()
    ActionServlet.java:468
    void javax.servlet.GenericServlet.init(javax.servlet.ServletConfig)
    GenericServlet.java:258
    com.evermind.server.http.ServletInstanceInfo com.evermind.server.http.HttpApplication.loadServlet(com.
    evermind.util.ByteString)
    HttpApplication.java:1956
    com.evermind.server.http.ServletInstanceInfo com.evermind.server.http.HttpApplication.findServlet(com.
    evermind.util.ByteString)
    HttpApplication.java:4355
    void com.evermind.server.http.HttpApplication.initPreloadServlets()
    HttpApplication.java:4455
    void com.evermind.server.http.HttpApplication.initDynamic(com.evermind.server.http.HttpApplicationConf
    ig)
    HttpApplication.java:662
    void com.evermind.server.http.HttpApplication.<init>(com.evermind.server.Application, com.evermind.ser
    ver.http.HttpSite, com.evermind.server.http.HttpApplicationConfig, java.lang.String, java.lang.String, boolean
    My guess is that it's a jaas issue (because i see security and getCurrentUser), but at init time, no user is authenticated.
    Any clue would be very much appreciated. Let me know if I can provide anything else, such as deployment descriptors.
    Thanks,
    Christophe.

    After spending some time on this, I looked at the source code for com.evermind.server.ThreadState
    This is the code that throws the exception:
    if(applicationThread != null && applicationThread.httpHandler != null && applicationThread.servletInfo != null)
    try
    server = applicationThread.httpHandler.request.getApplication().getApplication().getServer();
    catch(Throwable t)
    System.out.println("caught exception while getting the server instance " + t.getMessage());
    t.printStackTrace(System.out);
    It looks like this method expects a httpRequest, and would find null because I'm in the servlet.init()
    (at least, that's my interpretation)
    I tested my code (the remoteFacade.create()) inside of a jsp, and it worked...
    So, the next logical question is:
    Can I make EJB calls from within the init method of a servlet? (or more specifically from a struts plugin, which I believe should be more or less the same thing)
    If so, do I need to take extra steps?
    Again, any experience/help on this will be much appreciated.
    Thanks,
    Christophe.

  • MySQL issue: Exception while getting MetaDataInfo

    Hi Folks,
    Our application is starting MySQL internally during startup.
    Sometimes, I get the following exception and MySQL doesn't start:
    [09 Jul 2007 14:05:35:733] Exception while getting MetaDataInfo : Can't create/write to file 'C:\DOCUME~1\sridhar\LOCALS~1\Temp\#sql_884_0.MYI' (Errcode: 13)
    [09 Jul 2007 14:05:35:733] java.sql.SQLException: Can't create/write to file 'C:\DOCUME~1\sridhar\LOCALS~1\Temp\#sql_884_0.MYI' (Errcode: 13)
    [09 Jul 2007 14:05:35:748]      at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
    [09 Jul 2007 14:05:35:748]      at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)
    [09 Jul 2007 14:05:35:748]      at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
    [09 Jul 2007 14:05:35:748]      at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
    [09 Jul 2007 14:05:35:748]      at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)
    [09 Jul 2007 14:05:35:748]      at com.mysql.jdbc.Connection.execSQL(Connection.java:3047)
    [09 Jul 2007 14:05:35:748]      at com.mysql.jdbc.Statement.executeQuery(Statement.java:1166)
    [09 Jul 2007 14:05:35:748]      at com.mysql.jdbc.DatabaseMetaData$2.forEach(DatabaseMetaData.java:2046)
    [09 Jul 2007 14:05:35:748]      at com.mysql.jdbc.DatabaseMetaData$IterateBlock.doForAll(DatabaseMetaData.java:76)
    [09 Jul 2007 14:05:35:748]      at com.mysql.jdbc.DatabaseMetaData.getColumns(DatabaseMetaData.java:1920)
    [09 Jul 2007 14:05:35:748]      at com.adventnet.nms.store.relational.MetaDataInfo.getMetaDataInfo(MetaDataInfo.java:355)
    [09 Jul 2007 14:05:35:748]      at com.adventnet.nms.store.relational.RelationalUtil.initMetaInfo(RelationalUtil.java:1251)
    [09 Jul 2007 14:05:35:748]      at com.adventnet.nms.store.relational.RelationalUtil.initMetaInfo(RelationalUtil.java:1240)
    [09 Jul 2007 14:05:35:748]      at com.adventnet.nms.startnms.NmsMainBE.main(NmsMainBE.java:361)
    [09 Jul 2007 14:05:35:748] Exception while getting MetaDataInfo : Can't create/write to file
    If any of you have seen the same, please do let me know what can be the problem and how to overcome the same.
    Thanks much,
    Sandeep

    Hi,
    I do have the permission. I've logged in as admin.
    There was another related mail thread that says it may be to do with Virus Scan settings on the machine:
    http://forum.java.sun.com/thread.jspa?threadID=5061757&messageID=9333692
    Will try the solution provided there.
    Thanks,
    Sandeep

  • Exception while getting MarketData - in FBS

    I successfully deployed FBS on JDeveloper. However when i try running the app, i get the following msg while going for ControllerServlet. :
    oracle.otnsamples.ibfbs.admin.exception.AdminHelperException: Exception while getting MarketData : oracle.otnsamples.ibfbs.admin.exception.AdminHelperException: SQLException while getting Symbols list : java.sql.SQLException: ORA-00942: table or view does not exist
    Stack Trace :
    oracle.otnsamples.ibfbs.admin.exception.AdminHelperException: Exception while getting MarketData : oracle.otnsamples.ibfbs.admin.exception.AdminHelperException: SQLException while getting Symbols list : java.sql.SQLException: ORA-00942: table or view does not exist at oracle.otnsamples.ibfbs.admin.helper.StockSymbolHelper.getStockRatesandNews(StockSymbolHelper.java:369) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at oracle.otnsamples.ibfbs.control.RequestProcessor.processRequest(RequestProcessor.java:274) at oracle.otnsamples.ibfbs.control.ControllerServlet.process(ControllerServlet.java:121) at oracle.otnsamples.ibfbs.control.ControllerServlet.doGet(ControllerServlet.java:174) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.otnsamples.ibfbs.control.AccessControlFilter.doFilter(AccessControlFilter.java:217) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)
    Can anyone suggest a solution.

    Did you follow step no 1 in the setup list. ??
    http://www.oracle.com/technology/sample_code/tutorials/fbs/over/setup.htm
    and you should be using same db user account in the database configuration file.

  • Getting the exception : Exception while getting default policy provider

    Using WLST, I shutdown a server, HomePageServer_1 which is part of a cluster, HomePageCluster, successfully. But I am unable to re-start it wither using WLST or admin console. I am getting the following error as per managed server log :
    +The dynamic loading of the OPSS java security policy provider class oracle.security.jps.internal.policystore.JavaPolicyProvider failed due to problem inside OPSS java security policy provider. Exception was thrown when loading or setting the JPSS policy provider. Enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1394)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    Truncated. see log file for complete stacktrace
    +Caused By: oracle.security.jps.JpsRuntimeException: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:269)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:261)
    The following snippet is from AdminServer log :
    +<Apr 24, 2010 4:02:39 PM PDT> <Error> <oracle.jps.policymgmt> <BEA-000000> <Error reading java policies for Application: cn=systempolicy,cn=apmdomain,cn=JPSContext,cn=d8b2d, Reason: oracle.security.jps.service.policystore.PolicyStoreException: javax.naming.CommunicationException: stakb09.us.oracle.com:3060 [Root exception is java.net.ConnectException: Connection refused]>+
    Please provide any workarounds/suggestions.

    what you can try to do is edit the config.xml file (located in the ${DOMAIN_HOME}/config directory).
    Look for the security configuration, realm elements. Just below realm you can add the default authenticator, for example,
    <security-configuration>
        <name>base_domain</name>
        <realm>
          <sec:authentication-provider xsi:type="wls:default-authenticatorType"></sec:authentication-provider>
          <sec:authentication-provider xsi:type="wls:default-identity-asserterType">
            <sec:active-type>AuthenticatedUser</sec:active-type>
          </sec:authentication-provider>
    </security-configuration>

  • Error while getting data objects for instance

    Hello Expert,
    I am getting some weird error - whenever there is a new process is triggered and I check context Data, I get following error -
    "Error while getting data objects for instance processinstanceid"
    Thanks is advance
    Priya

    Hi Priya,
    this is a known issue in the xml processing of the Java Virtual Machine. Please refer to the SAP Note for this issue: 1949395
    This should solve your issue.
    Best regards,
    Stefan

  • Watched folder error - "Exception while getting principal from Directory manager"

    Hi! I've been having problems with a LiveCycle ES installation.
    I've configured a watched folder that starts a process with an Office
    Document, converts it to PDF and applies a Rights Management Policy.
    It runs on behalf of an Active Directory user.
    Sometimes it works flawlessly, but most of the time it fails, giving a
    ridiculously long failure log with the longest trace stacks I've ever
    seen in life... resumed:
    =======================
    ALC-DSC-600-000: com.adobe.idp.dsc.provider.service.scheduler.impl.SchedulerRuntimeException : Failure to invoke the job [watched_folder_endpoint_name]
    Caused by: ALC-FEP-011-000: com.adobe.idp.dsc.service.file.impl.FileProviderRuntimeException: Failed to get the context on behalf of user [username], domain [company_domain] for watch folder [watched_folder_endpoint_name]
    Caused by: | [com.adobe.idp.um.api.impl.AuthenticationManagerImpl] errorCode:16386 errorCodeHEX:0x4002 message:Exception while getting principal from Directory manager| [IDPLoggedException] errorCode:12801 errorCodeHEX:0x3201 message:Exception while getting principal from Directory manager
    chainedException:javax.ejb.TransactionRolledbackLocalException: null;
    CausedByException is:
    nullchainedExceptionMessage:null; CausedByException is:
    null chainedException
    trace:javax.ejb.TransactionRolledbackLocalException: null;
    CausedByException is:
    null
    =======================
    I vaguely suspect is the server's clock going out of sync with the domain controller's clock, but I tried everything I knew of about it with no consistent results.
    It's LiveCycle 8.0.1 SP2 installed on a Windows 2003 Server.
    Manual install, JBoss Clustered configuration (the second node is actually turned off for the time being)
    SQL Server 2005 as backend Database
    Users on Active Directory on a Windows 2003 Server -which is a "copy" of the main domain controller.
    Watched folder is in a mounted share of another Windows 2003 Server acting as fileserver.
    Any clue will be greatly appreciated!!

    Hello,
    sorry in advance for my english. i am beginning in Adobe LiveCycle and i think that you can help me : i want to configure a watched folder to automatically convert in pdf file and apply a right management policy. Can you tell me how you configure it ? many thanks in advance. regards

  • Exception while getting InitialContext

    Hello,
    I am facing the following exception while trying to get the Initial Context. Following
    is the snippet of code that I use for getting the Context -
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");p.
    put(Context.PROVIDER_URL, url);
    if (user != null) {
    p.put(Context.SECURITY_PRINCIPAL, user);
    if (password == null)
    password = "";
    p.put(Context.SECURITY_CREDENTIALS, password);
    return new InitialContext(p);
    The following is the exception that I encounter -
    javax.naming.AuthenticationException. Root exception is java.lang.SecurityException:
    attempting to add an object which is not an instance of java.security.Principal
    to a Subject's Principal Set
    Am i missing anything. Thanks for your time.
    Please see attached the trace file for details of the exception
    Thanks,
    Ashutosh Shinde
    [trace.txt]

    I think this happens when you have JAAS classes in the classpath - check
    your classpath and make sure
    weblogic.jar is in front.
    "Ashutosh Shinde" <[email protected]> wrote in message
    news:3d7765ec$[email protected]..
    >
    Hello,
    I am facing the following exception while trying to get the InitialContext. Following
    is the snippet of code that I use for getting the Context -
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");p.
    put(Context.PROVIDER_URL, url);
    if (user != null) {
    p.put(Context.SECURITY_PRINCIPAL, user);
    if (password == null)
    password = "";
    p.put(Context.SECURITY_CREDENTIALS, password);
    return new InitialContext(p);
    The following is the exception that I encounter -
    javax.naming.AuthenticationException. Root exception isjava.lang.SecurityException:
    attempting to add an object which is not an instance ofjava.security.Principal
    to a Subject's Principal Set
    Am i missing anything. Thanks for your time.
    Please see attached the trace file for details of the exception
    Thanks,
    Ashutosh Shinde--
    Dimitri

  • Java null pointer exception while getting a segment DFF handle

    Hi,
    my requirement is to make a field mandatory based upon a dff segment value (Y/N). i override PFR since segment is a poplist on the page (and poplists don't fire any event)
    i searched in the "view source" of the page and found that segment id is ActFlexField0
    when i click on save button i got "java null pointer exception"
    here is code:
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean) throws OAException
    +{+
    +//get a handle to AM+
    OAApplicationModule am;
    am = oapagecontext.getRootApplicationModule();
    oapagecontext.writeDiagnostics(this,"Root AM=>"oapagecontext.getApplicationModule(oawebbean).getName() ,1);+
    if(oapagecontext.getParameter("applyCreActBut") != null || oapagecontext.getParameter("saveDtlBut") != null)
    +{+
    +/*Conditional mandatoryness of IdContribuente field*/+
    +// first, find the flexfield's handle+
    OADescriptiveFlexBean oaDFF;
    oaDFF = (OADescriptiveFlexBean)oawebbean.findIndexedChildRecursive("ActFlexField");
    +//oaDFF.processFlex(oapagecontext);+
    oapagecontext.writeDiagnostics(this, "Niccal: i got DFF handle", 1);
    +//oapagecontext.writeDiagnostics(this, "Niccal: oamcb value is:"+oaDFF.getAttributeValue(), 1);+
    +/*+
    RenderingContext con = (RenderingContext) oapagecontext.getRenderingContext();
    Enumeration x= null;
    x= oaDFF.getChildNames(con);
    oapagecontext.writeDiagnostics(this, "After getChild", 1);
    while(x.hasMoreElements())
    +{+
    String aParamName = (String)x.nextElement();
    oapagecontext.writeDiagnostics(this, "Niccal: DFF segment names are:"aParamName, 1);+
    +//OAWebBean dffbeans=(OAWebBean)oaDFF.findChildRecursive(aParamName);+
    +}+
    +//oaDFF.mergeSegmentsWithParent(oapagecontext);+
    OAMessageChoiceBean oamcb = (OAMessageChoiceBean)oaDFF.findChildRecursive("ActFlexField0");
    +//String sIsForeign = (String)oaDFF.getAttributeValue("Attribute1");+
    +//oapagecontext.writeDiagnostics(this, "Niccal: Attribute1 is:"+sIsForeign, 1);+
    oapagecontext.writeDiagnostics(this, "Niccal: before if", 1);it's urgent
    any help appreciated
    thanx
    N

    hi Keerthi,
    thank you.
    i tried with below code but still unsuccesfully
         +     oaDFF = (OADescriptiveFlexBean)oawebbean.findIndexedChildRecursive("ActFlexField");+
    oapagecontext.writeDiagnostics(this, "Niccal: i got DFF handle", 1);
    OAMessageTextInputBean mtib = (OAMessageTextInputBean)oaDFF.findChildRecursive("ActFlexField0");
    oapagecontext.writeDiagnostics(this, "Niccal: before if", 1);
    i am able to print 1° comment line but not second. so i think it's something wrong getting the segment handle.
    anyway i'm not able to reach your suggested if statement because execution stops before.
    Infact, if i comment line :OAMessageTextInputBean mtib = (OAMessageTextInputBean)oaDFF.findChildRecursive("ActFlexField0");
    page doesn't give error and saves data.
    any suggestion appreciated,
    thanx,
    N

  • Class cast exception while casting FTPConnectionFactory object

    Hi
    I have SOA Suite Advanced installation - 10.1.3.4 MLR#5.
    I have developed a BPEL which polls an FTP site using a JCA FTPConnectionFactory registered in JNDI - eis/Ftp/My_Ftp.
    If file is present, then BPEL doesnt fetchs it... instead calls a java program through WSIF binding.
    In java program i am retrieving the JNDI object - eis/Ftp/My_Ftp.. casting it to oracle.tip.adapter.ftp.FTPConnectionFactory and get the FTP host and credentials.
    Now using those details i mannually create an FTP Connection and retieve the file.
    This program worked for sure... but recently when i tried the same i got the ClassCastException while casting java.lang.Object got from JNDI to oracle.tip.adapter.ftp.FTPConnectionFactory. I havnt changed any thing on server since... could not understand why this issue has cropped now.
    After lot of research the issue seems due to different Classloaders. JNDI object was loaded by ClassLoaderA and in my java program it is being loaded by ClassLoaderB.
    And these two classloaders dont share classes with each other.
    This is the code:
    InitialContext ctx = new InitialContext();
    Object jndiFTPObj = ctx.lookup("eis/Ftp/My_Ftp");
    System.out.println("Got Object from JNDI is: "+jndiFTPObj+" ClassLoader - "+jndiFTPObj.getClass().getClassLoader());
    // it prints -- Got Object from JNDI is: oracle.tip.adapter.ftp.FTPConnectionFactory@1aa3bbc ClassLoader - FtpAdapter:0.0.0
    FTPConnectionFactory ftpConF = (oracle.tip.adapter.ftp.FTPConnectionFactory)jndiFTPObj;
    // here i get error -- java.lang.ClassCastException: oracle.tip.adapter.ftp.FTPConnectionFactory
    Thinking of RMI/IIOP i even tried:
    FTPConnectionFactory ftpConF = (FTPConnectionFactory)PortableRemoteObject.narrow(ctx.lookup("eis/Ftp/My_Ftp"), FTPConnectionFactory.class);
    it didnt solve the error.
    I tried loading the class using the same loader as:
    Class.forName("oracle.tip.adapter.ftp.FTPConnectionFactory",true,jndiFTPObj.getClass().getClassLoader());
    even that didnt solve the error.
    If any body has some idea... pls help
    Thanks
    Inder

    Issue was due to ClassLoaders... tried to use the same classloader... but couldnt.
    Eventually solved it by using Java Reflection.
    Thx

  • Nullpointer exception while custom cloning objects

    We are seeing the following exception, any ideas?
    java.lang.NullPointerException
    at
    oracle.toplink.internal.queryframework.MapContainerPolicy.addInto(MapContainerPolicy.java:98)
    at
    oracle.toplink.internal.queryframework.ContainerPolicy.addInto(ContainerPolicy.java:72)
    at
    com.integral.persistence.CloneBuilderC.setAttributeValue(CloneBuilderC.java:318)
    at
    com.integral.persistence.CloneBuilderC.iterate(CloneBuilderC.java:153)
    at
    oracle.toplink.internal.descriptors.DescriptorIterator.internalIterateReferenceObject(DescriptorIterator.java:155)
    at
    com.integral.persistence.CloneBuilderC.iterateReferenceObjectForMapping(CloneBuilderC.java:266)
    at
    oracle.toplink.mappings.CollectionMapping.iterateOnElement(CollectionMapping.java:742)
    at
    oracle.toplink.mappings.CollectionMapping.iterateOnRealAttributeValue(CollectionMapping.java:756)
    at
    oracle.toplink.internal.descriptors.DescriptorIterator.iterateValueHolderForMapping(DescriptorIterator.java:299)
    at
    oracle.toplink.internal.indirection.BasicIndirectionPolicy.iterateOnAttributeValue(BasicIndirectionPolicy.java:223)
    at
    oracle.toplink.mappings.ForeignReferenceMapping.iterate(ForeignReferenceMapping.java:828)
    at
    oracle.toplink.internal.descriptors.ObjectBuilder.iterate(ObjectBuilder.java:2310)
    at
    oracle.toplink.internal.descriptors.DescriptorIterator.iterateReferenceObjects(DescriptorIterator.java:282)
    at
    com.integral.persistence.CloneBuilderC.iterateReferenceObjectForMapping(CloneBuilderC.java:273)
    at
    oracle.toplink.mappings.CollectionMapping.iterateOnElement(CollectionMapping.java:742)
    at
    oracle.toplink.mappings.CollectionMapping.iterateOnRealAttributeValue(CollectionMapping.java:756)
    at
    oracle.toplink.internal.descriptors.DescriptorIterator.iterateValueHolderForMapping(DescriptorIterator.java:299)
    at
    oracle.toplink.internal.indirection.BasicIndirectionPolicy.iterateOnAttributeValue(BasicIndirectionPolicy.java:223)
    at
    oracle.toplink.mappings.ForeignReferenceMapping.iterate(ForeignReferenceMapping.java:828)
    at
    oracle.toplink.internal.descriptors.ObjectBuilder.iterate(ObjectBuilder.java:2310)
    at
    oracle.toplink.internal.descriptors.DescriptorIterator.iterateReferenceObjects(DescriptorIterator.java:282)
    at
    oracle.toplink.internal.descriptors.DescriptorIterator.startIterationOn(DescriptorIterator.java:458)
    at
    com.xxxx.persistence.CloneBuilderC.buildClone(CloneBuilderC.java:73)

    I have given the method descirption below:
    public void iterateReferenceObjectForMapping( Object referenceObject, DatabaseMapping mapping )
    if ( !( shouldCascadeAllParts() || ( shouldCascadePrivateParts() ) ) )
    return;
    // When using wrapper policy in EJB the iteration can stop in certain cases,
    // this is because EJB forces beans to be registered anyway and clone identity can be violated
    // and the violated clones references to session objects should not be traversed.
    if ( ( !shouldIterateOverWrappedObjects() )
    && ( mapping.getReferenceDescriptor() != null )
    && ( mapping.getReferenceDescriptor().hasWrapperPolicy() ) )
    return;
    if ( referenceObject == null )
    return;
    setCurrentMapping( mapping );
    setCurrentDescriptor( getDescriptorFor( referenceObject ) );
    if ( shouldCascadePrivateParts() && !shouldCascadeAllParts() && !mapping.isPrivateOwned() )
    iterateNonPrivatePart( referenceObject );
    return;
    // Check if already processed.
    if ( getVisitedObjects().containsKey( referenceObject ) )
    iteratePreviouslyVisitedObject( referenceObject );
    return;
    getVisitedObjects().put( referenceObject, referenceObject );
    internalIterateReferenceObject( referenceObject );
    if ( shouldBreak() )
    setShouldBreak( false );
    return;
    iterateReferenceObjects( referenceObject );
    This used to work OK in toplink 10g we are seeing this problem only with toplink 11x

  • Jsr 88: Exception while getting instance of DeploymentManager

    Guys,
    I am trying to get an instance of DeploymentManager using jsr 88. The following two lines are the codes but I am getting the exception below. I have checked many times that the URL is okay and the credentials are absolutely okay. I have never got any help from any website/google search/forums, since this seems to be an advanced/latest concept. If you have any solution, please post here.
    DeploymentFactoryManager dfm=DeploymentFactoryManager.getInstance();
                   DeploymentManager MyconnectedManager = dfm.getDeploymentManager("http://127.0.0.1/console","weblogic","weblogic");
    Exception:
    javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: Could not get DeploymentManager
    at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(DeploymentFactoryManag
    er.java:120)
    at Deploy_Ind.main(Deploy_Ind.java:45)
    Thanks,
    Guru & Gunjan
    [email protected]

    Guys,
    Found out the way. Here's the code:
    import javax.enterprise.deploy.shared.factories.DeploymentFactoryManager;
    import javax.enterprise.deploy.spi.DeploymentManager;
    import javax.enterprise.deploy.spi.factories.DeploymentFactory;
    import java.util.jar.JarFile;
    import java.io.*;
    import weblogic.deploy.api.spi.factories.internal.*;
    import javax.enterprise.deploy.model.*;
    import javax.management.remote.JMXServiceURL;
    import java.util.jar.*;
    class WebLogic{
         public static void main(String args[]) throws Exception
              // Get the DeploymentFactory implementation class from the MANIFEST.MF file.
              // This is like the Driver class which would be different for different app servers
              JarFile webDeployJar = new JarFile(new File("wldeploy.jar"));
              java.util.jar.Manifest manifestFile = webDeployJar.getManifest();
              Attributes attributes = manifestFile.getMainAttributes();
              String key = "J2EE-DeploymentFactory-Implementation-Class";
              String className = attributes.getValue(key);
              // Get an instance of the DeploymentFactoryManager
    DeploymentFactoryManager dfm = DeploymentFactoryManager.getInstance();
              // Create an instance of the WebLogic Application Server DeploymentFactory.
              Class deploymentFactory = Class.forName(className);
              DeploymentFactory deploymentFactoryInstance = (DeploymentFactory) deploymentFactory.newInstance();
              // Register the DeploymentFactory instance with the DeploymentFactoryManager.
              dfm.registerDeploymentFactory(deploymentFactoryInstance);
              DeploymentFactory[] dfs=dfm.getDeploymentFactories();
              /* for (int i=0;i<dfs.length ;i++ )
                   System.out.println(dfs.getDisplayName());
                   System.out.println(dfs[i].getProductVersion());
                   System.out.println(dfs[i].handlesURI("deployer:WebLogic"));
              DeploymentManager deploymentManager = dfs[0].getDeploymentManager("deployer:WebLogic:t3://localhost:7001","weblogic","weblogic");
    So, I am taking my dukes back.
    Guru

  • StackOverFlow Exception while getting the context

    Here is my problem.
    Environment : WLS 4.5.1 SP 9
    We are hosting a set of servlets in our environment. We started seeing problems in the recent past that after sometime, WLS Server throws StackOverFlow Exception for getInitialContext:
    getInitialContext method :
    private Context getInitialContext(String urlValue) throws Exception {
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.T3InitialContextFactory");
    p.put(Context.PROVIDER_URL, urlValue);
    return new InitialContext(p);
    The service runs for 2 to 3 hours, after all of a sudden, it fails with the following exception.
    Our service fails at different place in our application, but all related to getting the initial context.
    Any help would be appreciated.
    Thanks
    Siva
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.lang.System.getProperty(Compiled Code)
    at weblogic.jndi.Environment.getProperty(Compiled Code)
    at weblogic.jndi.Environment.getProviderClient(Compiled Code)
    at weblogic.jndi.Environment.getSecurityUser(Compiled Code)
    at weblogic.jndi.toolkit.WLContextStub.<init>(Compiled Code)
    at weblogic.common.internal.ClassTableEntry.newInstance(Compiled Code)
    at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(Compiled Code)
    at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(Compiled Code)
    at weblogic.common.internal.WLObjectInputStreamBase.readObject(Compiled Code)
    at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(Compiled Code)
    at weblogic.rmi.extensions.AbstractInputStream2.readObject(Compiled Code)
    at weblogic.jndi.internal.RemoteContextFactoryImpl_WLStub.getContext(Compiled Code)
    at weblogic.jndi.internal.RemoteContextFactoryImpl_ServiceStub.getContext(Compiled Code)
    at weblogic.jndi.WLInitialContextFactory.newContext(Compiled Code)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(Compiled Code)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(Compiled Code)
    at javax.naming.spi.NamingManager.getInitialContext(Compiled Code)
    at javax.naming.InitialContext.getDefaultInitCtx(Compiled Code)
    at javax.naming.InitialContext.<init>(Compiled Code)
    at sbs.ebservices.EBTBean.server.EBTBean.getInitialContext(Compiled Code)
    at sbs.ebservices.EBTBean.server.EBTBean.getPutSchedule(Compiled Code)
    at sbs.ebservices.EBTBean.server.EBTBeanEOImpl.getPutSchedule(Compiled Code)
    at sbs.ebservices.EBTBean.server.EBTBeanEOImpl_ServiceStub.getPutSchedule(Compiled Code)
    at sbs.ebservices.servlet.GetPutSchedule.doPost(Compiled Code)
    at sbs.ebservices.servlet.EBServletAdaptor.doGet(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
    at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)

    We are using JDK117.
    Rob Woollen <[email protected]> wrote:
    What JDK are you using? The stack overflow occurs in JDK code not WLS
    code.
    -- Rob
    Sivakumar Anna wrote:
    Here is my problem.
    Environment : WLS 4.5.1 SP 9
    We are hosting a set of servlets in our environment. We started seeing problems in the recent past that after sometime, WLS Server throws StackOverFlow Exception for getInitialContext:
    getInitialContext method :
    private Context getInitialContext(String urlValue) throws Exception {
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.T3InitialContextFactory");
    p.put(Context.PROVIDER_URL, urlValue);
    return new InitialContext(p);
    The service runs for 2 to 3 hours, after all of a sudden, it fails with the following exception.
    Our service fails at different place in our application, but all related to getting the initial context.
    Any help would be appreciated.
    Thanks
    Siva
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.util.Properties.getProperty(Compiled Code)
    at java.lang.System.getProperty(Compiled Code)
    at weblogic.jndi.Environment.getProperty(Compiled Code)
    at weblogic.jndi.Environment.getProviderClient(Compiled Code)
    at weblogic.jndi.Environment.getSecurityUser(Compiled Code)
    at weblogic.jndi.toolkit.WLContextStub.<init>(Compiled Code)
    at weblogic.common.internal.ClassTableEntry.newInstance(Compiled Code)
    at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(Compiled Code)
    at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(Compiled Code)
    at weblogic.common.internal.WLObjectInputStreamBase.readObject(Compiled Code)
    at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(Compiled Code)
    at weblogic.rmi.extensions.AbstractInputStream2.readObject(Compiled Code)
    at weblogic.jndi.internal.RemoteContextFactoryImpl_WLStub.getContext(Compiled Code)
    at weblogic.jndi.internal.RemoteContextFactoryImpl_ServiceStub.getContext(Compiled Code)
    at weblogic.jndi.WLInitialContextFactory.newContext(Compiled Code)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(Compiled Code)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(Compiled Code)
    at javax.naming.spi.NamingManager.getInitialContext(Compiled Code)
    at javax.naming.InitialContext.getDefaultInitCtx(Compiled Code)
    at javax.naming.InitialContext.<init>(Compiled Code)
    at sbs.ebservices.EBTBean.server.EBTBean.getInitialContext(Compiled Code)
    at sbs.ebservices.EBTBean.server.EBTBean.getPutSchedule(Compiled Code)
    at sbs.ebservices.EBTBean.server.EBTBeanEOImpl.getPutSchedule(Compiled Code)
    at sbs.ebservices.EBTBean.server.EBTBeanEOImpl_ServiceStub.getPutSchedule(Compiled Code)
    at sbs.ebservices.servlet.GetPutSchedule.doPost(Compiled Code)
    at sbs.ebservices.servlet.EBServletAdaptor.doGet(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
    at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)

  • Getting Exception while getting SOAP connection

    When I execute the below codes
    import javax.xml.soap.*;
    import javax.xml.*;
    import java.io.*;
    import java.net.*;
    public class Main {
    public static void main(String[] args) {
    // TODO code application logic here
    String uddiServer = "http://uddi.ibm.com/beta/inquiryapi";
    try {
    SOAPConnectionFactory scf =
    SOAPConnectionFactory.newInstance();
    SOAPConnection connection = scf.createConnection();
    MessageFactory msgFactory = MessageFactory.newInstance();
    SOAPMessage msg = msgFactory.createMessage();
    SOAPEnvelope envelope = msg.getSOAPPart().getEnvelope();
    SOAPBody body = envelope.getBody();
    body.addChildElement(
    envelope.createName("find_service", "",
    "urn:uddi-org:api_v2"))
    .addAttribute(envelope.createName("generic"), "2.0")
    .addAttribute(envelope.createName("maxRows"), "100")
    .addChildElement(envelope.createName("name"))
    .addTextNode("Federal Government Service");
    URL endpoint = new URL(uddiServer);
    msg.saveChanges();
    System.out.println("\n---- Request Message ----\n");
    msg.writeTo(System.out);
    SOAPMessage reply = connection.call(msg, endpoint);
    System.out.println("\n\nReceived reply from: "+endpoint);
    System.out.println("\n---- Reply Message ----\n");
    reply.writeTo(System.out);
    System.out.println();
    connection.close();
    } catch (Exception ex) {
    ex.printStackTrace();
    }When executing the above codes I am getting following exceptions
    - java.io.IOException:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.ClassCastException: org.apache.axis.message.MessageElement
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace: java.lang.ClassCastException: org.apache.axis.message.MessageElement
    at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:173)
    at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:509)
    at org.apache.axis.message.MessageElement.output(MessageElement.java:783)
    at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:270)
    at org.apache.axis.Message.writeTo(Message.java:440)
    at soap_call.Main.main(Main.java:41)
    java.lang.ClassCastException: org.apache.axis.message.MessageElement
    at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
    at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:272)
    at org.apache.axis.Message.writeTo(Message.java:440)
    at soap_call.Main.main(Main.java:41)
    Caused by: java.lang.ClassCastException: org.apache.axis.message.MessageElement
    at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:173)
    at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:509)
    at org.apache.axis.message.MessageElement.output(MessageElement.java:783)
    at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:270)
    ... 2 more
    - Configuration file read-only so engine configuration changes will not be saved.
    javax.xml.soap.SOAPException: Error invoking operation:
    java.lang.ClassCastException: org.apache.axis.message.MessageElement
    at org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:110)
    at soap_call.Main.main(Main.java:42)
    Caused by: Error invoking operation:
    java.lang.ClassCastException: org.apache.axis.message.MessageElement
    at org.apache.axis.client.Call.invoke(Call.java:1768)
    at org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:105)
    ... 1 moreCan any one help me solve this exception?

    crazyideas wrote:Did you try googling for it? Next time please try looking for it before you ask. It shows that you do not put in any effort.
    [https://jax-rpc.dev.java.net/]
    Follow the instructions after you download the binaries.Hi, thanks for your help. After using the new version of jar files I could compile & run without any problems.Can you please tell me? how you have found that the version was the only problem in the above code?

  • Graphical Mapping Error: Unexpected Exception-While saving Mapping Object

    Hello Experts,
    I am unable to save Message Mapping in PI7.11 with following version details:
    Version
    Service Pack:03
    Release:NW711_03_REL
    We already had this issue before but after applying Service Path it got resolved.. but now again its giving the same issue.. can any one came accross such issue?? any solution? we are in the critical development stage and wondering for solution.
    Thanks
    Rajeev

    Hello,
    Try to check locked objects in NetWeaver administrator <pi_host>:<pi_port>/nwa on Intagration Repository Tab. If your MM object locked just unlock them and try to save again.
    BR,
    Dzmitry

Maybe you are looking for