Getting null in document object Help me

DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
               DocumentBuilder builder = factory.newDocumentBuilder();
               InputSource inputSource = new InputSource();
               inputSource.setCharacterStream(new StringReader("<?xml version=\"1.0\"?><address></address>"));
               System.out.println(inputSource);
               Document doc = builder.parse(inputSource);
Getting doc object as null. CAn anyone please find out what could be the error in my code?

This works:
     * Get DOM document from a string containing XML.
     * @param inputStream InputStream to read XML content from.
     * @return DOM document or null if failed.
     * @throws Exception if failed.
    static public Document toDocument(InputStream inputStream) throws Exception {
        Document result = null;
        if (inputStream != null) {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
//            factory.setValidating(true);  //needs error handler
            factory.setNamespaceAware(true);
            DocumentBuilder db = factory.newDocumentBuilder();
            result = db.parse(new InputSource(inputStream));
        }//else: input unavailable
        return result;
    }//toDocument()

Similar Messages

  • VBScript : the Document object help

    Hello everybody
    I am unable run following script using the current browsers.
    please help
    <script language="vbscript" type="text/vbscript">
    var1 = 10
    var2 = 20
    Sum = var1 + var2
    document.write("The Sum of two numbers"&_
    "var1 and var2 is " & Sum)
    </script>
    the document object is giving no results.

    Not a good script.  You need to learn how to use HTML.  Running a script like that wil lusually not work.
    Start here: http://www.w3schools.com/
    <script language="vbscript" type="text/vbscript">
    Sub window_onload()
    var1 = 10
    var2 = 20
    Sum = var1 + var2
    document.write "The Sum of two numbers var1 and var2 is " & Sum
    End Sub
    </script>
    ¯\_(ツ)_/¯

  • Getting Namespace From Document Object

    In my JSP I have an Document that contains the contents of an xsl file. I want to search for a specific variable element and then replace its contents with some new value. I think the problem I'm having though relates to namespaces. When calling method selectSingleNode I think I need to pass the namespace node as the 3rd parameter. I'm not sure how to get that though. I know there's a method getNamespaceURI but that returns a string instead of the node. Is there any way to get the namespace node?
    <%
    Document xslDoc = myClass.loadTheXml((new File("test.xsl"))); // assume loadTheXML works correctly
    Node node = XPathAPI.selectSingleNode(xslDoc.getDocumentElement(), "/xsl:stylesheet/xsl:variable[@name='myVariable']");
    %>

    public static Node selectSingleNode(Node contextNode,
                                        java.lang.String str,
                                        Node namespaceNode)The namespaceNode parameter in the selectSingleNode is a Node of the type namespace, for example
    http://exist.sourceforge.net/api/org/exist/memtree/NamespaceNode.html
    http://www.jdocs.org/jaxen/1.0/api/org/jaxen/dom/NamespaceNode.html

  • Getting null pointer exception(please help me...its urgent)

    hi,
    I have cretaed ajar file on desk top which also includes a .jpg file and .txt.When i run my jar in the desktop it is runninig fine.But when i have placed this jar on my pocket pc and tried to run it ,nullpointerexception is raised at the place where iam accessing jpg and txt files...
    eg:
    Image img=Toolkit.getDefaultToolkit.createImage("home.jpg");
    could anyone can solve my problem.
    Thanks and Regards

    Image
    img=Toolkit.getDefaultToolkit.createImage("home.jpg");On pocketpc/java the current directory is set to "\". So if you have "home.jpg" this file is searched in "\home.jpg", not in the directory from which the apps was started.
    prusak

  • Generic way to get Document object for CS products

    Just going through the CS SDK documentation it appears, for each product - Photoshop, InDesign, Illustrator, InCopy - one has to
    get hold of a Document object that is tied to each product. In other words com.adobe.illustrator.Document for Illustrator and so on.
    It would be a life saver to have a base Document class that provides common properties across al CS products, ad have product
    specific Document class inherit from the common Document base class. That way developers could write more generic code
    that doesn't need to couple with the specific application so tightly. Is there such a class already ? Didn't find it in the CS SDK docs
    or the sdk itself.
    Also beyond the 4 products (Photoshop, InDesign, Illustrator, InCopy) how does one get hold of Document object for Flash Pro etc.
    Are there plans to add ActionScript support beyond the 4 products ?  There are ~ 15 products in CS and it seems we need to now use
    CS SDK and the old C++ sdk for the unsupported products in CS SDK, make sit hard to write apps that are cross platform and
    work seemlessly with all CS products.
    Oliver A @ Evolphin
    http://www.evolphin.com

    In Computer Science we say all problems can be solved by one more level of indirection . While each product has
    different scripting models, why can't a generic base class bridge them via a delegation pattern that invokes the product specific document method
    for common properties like document path, document folder etc. Product specific methods can be implemented as they are now I am just
    talking about common methods.
    For e.g.
       com.adobe.product.Document.getDocumentPath() ----> via derived clas soverride will call photoshop.Document.getDocumentPath()
    If generic base class is hard to implement how about a common interface to shield us from product specific details when not needed ?
    What we need is a generic interface or abstract class that provides gettters for common properties. This is OOPS 101, am I missing something
    here ?
    Again I am not saying this will work fo rall properties just for a few common properties would be a good start..
    Oliver @ A
    http://www.evolphin.com

  • How do i get rid of type error null is an object on my iphone ? It keeps popping up on my yahoo, please help ?

    How do i get rid of type error null is an object on my iphone ? It keeps popping up on my yahoo, its driving me mad, please help.

    That's probably a Javascript error in what Yahoo is producing. Contact Yahoo and inform them of the problem.

  • How do I get the object help text into my document (report)?

    Post Author: ehskalm
    CA Forum: Desktop Intelligence Reporting
    I want to display the object help text (the "description" field in the object properties in the universe) in my report, but I can not find any function for that? Anyone who knows? BO version is 5.1.

    Post Author: hvanderkolk
    CA Forum: Desktop Intelligence Reporting
    All information about the classes and objects in a universe are stored in the repository database (universe domain). To get that information in your report you need to create a query on the repository database.
    For an overview of all objectnames and descriptions that would be:
    SELECT  WA_UNV_OBJECT.OBJ_NAME,  WA_OBJECT_HELP.OBJ_DATAVALUEFROM  (WA_UNV_OBJECT RIGHT OUTER JOIN WA_OBJECT_HELP ON (WA_OBJECT_HELP.OBJECT_ID=WA_UNV_OBJECT.OBJECT_ID  AND  WA_OBJECT_HELP.UNIVERSE_ID=WA_UNV_OBJECT.UNIVERSE_ID) ) 
    Note: this if from BO6.5 using SQL server 2000 for the repository database.

  • WAD - Tab Strips - document.getElementById(...)  is null or no object

    Hello to everybody,
    i  have a problem with the wad, i would like to create a tab strip, i have copied the HTML Coding from another blog. When i started the Query i alway receive the message "document.getElementById(...) ist Null oder kein Object". What can i do ? I have the IE 6.0 on my system.
    Thanks for any help
    Detlev
    Coding:

    Hi,
    It has nothing to do with IE 6.0. Javascript is not written within function like function set_actual_tab(). Can you please paste the code here.
    Regards,
    Mona

  • Getting Error while creating Document object  after  parsing XML String

    Hi All,
    I have been trying to parse an XML string using the StringReader and InputSource interface but when I am trying to create Document Object using Parse() method getting error like
    [Fatal Error] :2:6: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    seorg.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    Please find the code below which i have been experimenting with:
    import java.io.BufferedReader;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.io.StringReader;
    import java.util.List;
    import java.util.*;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    import java.io.*;
    public class TestMain {
         public static void main(String[] args) {
              String file = "";
              file = loadFileContent("C:\\Test.xml");
              System.out.println("contents >> "+file);
              parseQuickLinksFileContent(file);
    public static void parseQuickLinksFileContent(String fileContents) {
    PWMQuickLinksModelVO objPWMQuickLinksModelVO = new PWMQuickLinksModelVO();
         try {
    DocumentBuilderFactory factory =           DocumentBuilderFactory.newInstance();
         DocumentBuilder builder = factory.newDocumentBuilder();
         StringReader objRd = new StringReader(fileContents);
         InputSource objIs = new InputSource(objRd);
         Document document = builder.parse(objIs); // HERE I am getting Error.
         System.out.println(document.toString());
    What is happening while I am using builder.parse() method ???
    Thanks,
    Rajendra.

    Getting following error
    [Fatal Error] :2:6: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    seorg.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.

  • How to get File  object from Document Object . ?

    In conventional Dom Parsing we pass file to DocumentBuilder to get Document Object .
      File file = new File("c:\\MyXMLFile.xml");
      DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
      DocumentBuilder db = dbf.newDocumentBuilder();
      Document doc = db.parse(file); // gOT Document here . My problem is how do i get File object back from Document . If i have Document object with mi.
    Please consider above code as example i dont have File object in my code . i am using Xhive DB API where i get Document directly from API method .
    I need to convert this Document to File to get size of file
    Please suggest solution on this
    Edited by: AmitChalwade123456 on Dec 5, 2008 6:10 AM

    Hello Guys any views on this topic

  • Getting error while processing EDIFACT-D96A-ORDERS.. Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND

    Hi Anuj & All,
        I'm trying to create an outbound scenario with EDIFACT-D96A-ORDERS. A simple SOA composite application polling data from DB and through B2B adapter 'send' option provides data to B2B system.
    Set up two partner profiles like this,
    Host:
    Name: HTP
    EDI Group ID: HTP
    EDI Interchange ID: Interchange Sen
    EDI Interchange ID Qualifier: 01
    Remote:
    Name: RTP
    EDI Group ID: RTP
    EDI Interchange ID: Interchange Rec
    EDI Interchange ID Qualifier: 01
    Other settings are as usual. Delivery channel of generic file created on RTH.
    Now, few documents settings on B2B console are like this,
    D96A-> Interchange tab
    Create UNA: Never
    ORDERS-> Transaction
    Functional Group Identifier Code: ORDERS
    Controlling Agency: UN
    - other properties are unchanged.
    On SOA side, the bpel invoke activity which calls B2B adapter has following properties:
    <invoke name="InvokeOrders"
      inputVariable="InvokeOrders_send_InputVariable"
      partnerLink="D96A.ORDERS" portType="ns2:send_ptt"
      operation="send" bpelx:invokeAsDetail="no">
    <bpelx:inputProperty name="b2b.toTradingPartnerIdType"
        expression="'NAME'"/>
    <bpelx:inputProperty name="b2b.toTradingPartnerId"
        expression="'RTP'"/>
    <bpelx:inputProperty name="b2b.messageType" expression="1"/>
    <bpelx:inputProperty name="b2b.messageId" variable="messageID"/>
    <bpelx:inputProperty name="b2b.fromTradingPartnerIdType"
        expression="'NAME'"/>
    <bpelx:inputProperty name="b2b.fromTradingPartnerId"
        expression="'HTP'"/>
    <bpelx:inputProperty name="b2b.documentTypeName"
        expression="'ORDERS'"/>
    <bpelx:inputProperty name="b2b.documentProtocolVersion"
        expression="'D96A'"/>
    <bpelx:inputProperty name="b2b.documentProtocolName"
        expression="'EDIFACT'"/>
    <bpelx:inputProperty name="b2b.documentDefinitionName"
        expression="'ORDERS_def'"/>
    <bpelx:inputProperty name="b2b.conversationId"
        variable="ConversationID"/>
    </invoke>
    The error I'm getting on B2B Console->Reports->Business Message, while running this is,
    Error Code B2B-50547
    Error Description Machine Info: (htp01310-vm01.htp.com) Description: Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
    Error Level ERROR_LEVEL_COLLABORATION
    Error Severity ERROR
    Error Text Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
    Note: On Manage Deployment Tab I've checked the agreement is in active state.
    -- Business Message (Result):--
    State: MSG_ERROR
    Document Type: ORDERS
    Agreement: <blank>
    Sender: HTP
    Receiver: <blank>
    -- Application Message (Result):--
    Sender Id Type: NAME
    Sender Value: TCS
    Receiver Id Type: NAME
    Receiver Value: ORCL
    Document Type: ORDERS
    Document Definition: ORDERS_def
    Document Protocol Name: EDIFACT
    Document Protocol Version: D96A
    Direction: OUTBOUND
    State: MSG_COMPLETE
    - Can anybody please shoot some pointer on how to resolve this? Please let me know if you need further configuration details which I've not mentioned here.
    Regards,
    - @bhijit

    Hi Mariusz,
        Thanks for your reply. Yes I think so, probably you're right. But finest trace level doesn't give much clues on "wrong mapped" data. Anyway, here is the detail log. Please don't forget to point out if you find something interesting.
    #### <Error> <oracle.soa.b2b.engine> <htp01310-vm01.htp.com> <soa_server1> <Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms
    > <<anonymous>> <BEA1-0D3F5ABAC0B2E50C6CCB> <449b4b64fa2729cc:59737e36:146f08831ee:-8000-0000000000127da6> <1404379704092> <BEA-000000> <Error -:  B2B-50547:  Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
      at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
      at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
      at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
      at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
      at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
      at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
      at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Error -:  B2B-50547:  Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
      at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
      at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
      at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
      at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
      at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
      at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
      at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    >
    #### <Error> <oracle.soa.b2b.engine> <htp01310-vm01.htp.com> <soa_server1> <Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms
    > <<anonymous>> <BEA1-0D3F5ABAC0B2E50C6CCB> <449b4b64fa2729cc:59737e36:146f08831ee:-8000-0000000000127da6> <1404379704569> <BEA-000000> <Error -:  B2B-50547:  Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
      at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
      at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
      at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
      at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
      at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
      at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
      at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Error -:  B2B-50547:  Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
      at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
      at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
      at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
      at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
      at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
      at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
      at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    >
    Rgds,
    - Abhijit
    P.S. - Can you please check what is the value of "Functional Group Identifier Code" for D96A ORDERS.

  • I have just reinstalled Adobe Acrobat X1 and I can't save any PDF's that are emailed to me. I just get "This document could not be saves. There is a problem reading this document (21)" and then when I click OK i get "insufficient data for image"  Help!

    I have just reinstalled Adobe Acrobat X1 and I can't save any PDF's that are emailed to me. I just get "This document could not be saves. There is a problem reading this document (21)" and then when I click OK i get "insufficient data for image"  Help!

    More information about this issue can be found here:
    https://forums.adobe.com/thread/1672655
    A "quick" fix that worked for me was to uninstall Adobe... then download the base install for Adobe Reader 11.0.
    Then download each of the individual updates and run them sequentially. 
    I've installed back up to the last security update which is version 08 and have been able to do normal Save As operations.
    You will have to disable automatic updates in order to stay at version 08 until Adobe resolves this issue in a later release.
    http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Windows
    Adobe Reader 11.0 - Multilingual (MUI) installer    AdbeRdr11000_mui_Std
    Adobe Reader 11.0.01 update - Multilingual (MUI) installer    AdbeRdrUpd11001_MUI.msp
    Adobe Reader 11.0.02 update - All languages    AdbeRdrSecUpd11002.msp
    Adobe Reader 11.0.03 update - Multilingual (MUI) installer    AdbeRdrUpd11003_MUI.msp
    Adobe Reader 11.0.04 update - Multilingual (MUI) installer    AdbeRdrUpd11004_MUI.msp
    Adobe Reader 11.0.05 security update - All languages    AdbeRdrSecUpd11005.msp
    Adobe Reader 11.0.06 update - Multilingual (MUI) installer    AdbeRdrUpd11006_MUI.msp
    Adobe Reader 11.0.07 update - Multilingual (MUI) installer    AdbeRdrUpd11007_MUI.msp
    Adobe Reader 11.0.08 security update - All languages    AdbeRdrSecUpd11008.msp

  • Record Management: get logical document object from physical doc. object

    Hello,
    I'd like to get logical document from physical document (sdok object - stricture containing class and objid).
    There is BAPI for "opposite direction": SDOK_LOIO_PHYSICAL_OBJECT_GET. By this FM I can get physical document's sdok object from logical document's sdok object.
    Can anybody tell me BAPI's name for it?
    I tried SDOK_PHIO_LOGICAL_OBJECT_GET, but this BAPI doesn't exist.
    Best regards,
    Josef Motl

    Josef,
    There are I don't believe there are any bapi's for this. You probably have to do this via ABAP OO. Create an object of the type CL_SRM_DOCUMENT. This is your logical (LOIO) object of your document. You have to enter the documentclass and the objectid of the document. This class has a method get_variant. This variant is your fysical (PHIO) object of the document. Use version and variant 0 so you will get the latest version object of your document.
    If this isn't the answer, can you please explain where do you get the fysical object from if you haven't got the logical first?
    Regards,
    Tjalling-Jan

  • How to get document object on kBeforeOpenDocSignalResponderService

    Hi ,
    I want to change the document on kBeforeOpenDocSignalResponderService.
    I have tried following code on kBeforeCloseDocSignalResponderService
    case kBeforeCloseDocSignalResponderService:
    InterfacePtr<IDocumentSignalData> documentSignalData(signalMgr, UseDefaultIID());
    if (!documentSignalData)
          CAlert::ErrorAlert("documentSignalData is Nil");
         break;
    UIDRef documentUIDRef = documentSignalData->GetDocument();
    if (documentUIDRef.GetDataBase() == nil)
          break;
    InterfacePtr<IDocument> document(documentUIDRef, UseDefaultIID());
    if(document == nil)
         break;
    but here i am not able to get document object.
    Is there any way to achieve it.
    Please suggest some way
    Thanks,

    Hi Pooja_IDDev,
    void MyImpl::Respond(ISignalMgr* signalMgr)
         do{
              ServiceID serviceTrigger = signalMgr->GetServiceID();
              InterfacePtr<IDocumentSignalData> docData(signalMgr, IDocumentSignalData::kDefaultIID); //kDocumentSignalMgrBoss
              if(docData == nil)
                   break;
              UIDRef doc = docData->GetDocument();
         }while(kFalse);
    Best regards,
    Oleg

  • I uninstalled Photoshop Elements 12 from my computer and now when I'm trying to re-install I'm getting an error message "Object already exist".  Can anyone help?

    I unistalled Photoshop Elements 12 from my computer and now when I'm trying to re-install I'm getting an error message "object already exist".  Any suggestions on how to correct this?

    jgbrph
    If your program is Photoshop Elements 12, then you have posted in the wrong forum. Your thread is now in the Adobe Premiere Elements Forum (video editing).
    Please re-post your question in the Adobe Photoshop Elements Forum or wait for a moderator here to see your thread here and move it from here to there.
    Photoshop Elements
    While you are making your move, consider
    a. what computer operating system is involved...if we assume Windows
    b. have you checked Control Panel/Programs to assure that the program is no longer listed as an installed program?
    If it is no longer installed, you might want to consider a free ccleaner run through (regular cleaner and registry cleaner parts) to get
    rid of any leftovers from incomplete installs and uninstalls. Then reinstall with antivirus and firewall(s) disabled.
    ATR

Maybe you are looking for