2 Replies Latest reply on Nov 10, 2001 6:06 AM by 3004

    Error in Exraction Tool - Error E001

    3004

      Hi,
      I am encountering the following error while using extract tool of
      iMT

      E001 Error detected: ObjectType [<type>], Name [<name>]

      In particular this is happening for the buttons and HREFs where
      the value of source fields is mapped to a AutoUserSessionObject
      or vice versa.

      yeah the work around would be remove the mapping and then
      run the extract tool but we have a lot of pages with such
      mappings... Does anybody know the alternatives???

      Thanks,
      Divakar








        • 1. Re: [iPlanet-JATO] Re: Error in Exraction Tool - Error E001
          3004

          Divakar,

          The iMT has been tested successfully against situations where HREF utilize
          AutoSessionObjects as both source and targets. In theory that should not be a
          problem.

          Are you sure that the version of the project which you are attempting to pass
          through the iMT is ok? Specifically, can you open the project up in the
          NetDynamics Studio and view the Source Field and Target Field properties of the
          HREF in question. We have seen some situations where the property values
          themselves seem to have lost their integrity. By integrity, I mean that the
          Source Field and Target Field property values should appear in the Studio as
          "field names" not as long integers.

          Also, you say that you have this same situation in many places within the
          Project. Are all such cases generating the same error?

          What type of Object is the AutoSessionObject? Is is a String, Integer, or some
          other custom class?



          ----- Original Message -----
          From: padiyar@y...
          Sent: Friday, November 09, 2001 11:53 AM
          Subject: [iPlanet-JATO] Re: Error in Exraction Tool - Error E001


          Here it is

          TRACE: Entering: -> [Page], Name [pgReassign]

          ERROR: <E001> Error detected: ObjectType [Href], Name
          [ChangeAssignee]



          java.lang.NullPointerException

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpCommandXmlAdapter.addSourc
          eOrTargetFields(CSpCommandXmlAdapter.java:358)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpCommandXmlAdapter.addAttri
          butes(CSpCommandXmlAdapter.java:193)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpCommonHrefXmlAdapter.addAt
          tributes(CSpCommonHrefXmlAdapter.java:53)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpHrefXmlAdapter.addAttribut
          es(CSpHrefXmlAdapter.java:88)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpHrefXmlAdapter.extract
          (CSpHrefXmlAdapter.java:54)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpFileBasedXmlAdapter.writeO
          bjectsList(CSpFileBasedXmlAdapter.java:415)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpDataDrivenVisualXmlAdapter
          .addAttributes(CSpDataDrivenVisualXmlAdapter.java:80)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpCommonRepeatedXmlAdapter.a
          ddAttributes(CSpCommonRepeatedXmlAdapter.java:54)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpRepeatedXmlAdapter.addAttr
          ibutes(CSpRepeatedXmlAdapter.java:80)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpRepeatedXmlAdapter.extract
          (CSpRepeatedXmlAdapter.java:46)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpFileBasedXmlAdapter.writeO
          bjectsList(CSpFileBasedXmlAdapter.java:415)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpDataDrivenVisualXmlAdapter
          .addAttributes(CSpDataDrivenVisualXmlAdapter.java:80)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpCommonPageXmlAdapter.addAt
          tributes(CSpCommonPageXmlAdapter.java:54)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpCommonHtmlPageXmlAdapter.a
          ddAttributes(CSpCommonHtmlPageXmlAdapter.java:81)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpPageXmlAdapter.addAttribut
          es(CSpPageXmlAdapter.java:88)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpPageXmlAdapter.extract
          (CSpPageXmlAdapter.java:50)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpProjectXmlAdapter.addPageE
          lements(CSpProjectXmlAdapter.java:787)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpProjectXmlAdapter.addChild
          Elements(CSpProjectXmlAdapter.java:259)

          at
          com.iplanet.moko.netdyn.extract.adapters.CSpProjectXmlAdapter.extract
          (CSpProjectXmlAdapter.java:131)

          at com.iplanet.moko.netdyn.extract.PseudoCP.createProjectNode
          (PseudoCP.java:435)

          at com.iplanet.moko.netdyn.extract.PseudoCP.createProjectNodes
          (PseudoCP.java:406)

          at com.iplanet.moko.netdyn.extract.PseudoCP.extract
          (PseudoCP.java:208)

          at com.iplanet.moko.netdyn.extract.PseudoCP.extract
          (PseudoCP.java:167)

          at com.iplanet.moko.netdyn.tools.ExtractTool.invoke
          (ExtractTool.java:142)

          at com.iplanet.moko.tools.gui.ToolInvocationThread.run
          (ToolInvocationThread.java:110)

          TRACE: Exiting: <- [Page], Name [pgReassign], Status [Success]


          Thanks,
          Divakar


          --- In iPlanet-JATO@y..., "Craig V. Conover" <craig.conover@s...>
          wrote:
          Was there a stack trace with this error?
          If so, please submit to use.
          thanks
          craig


          padiyar@y... wrote:
          Hi,
          I am encountering the following error while using extract tool of
          iMT

          E001 Error detected: ObjectType [<type>], Name [<name>]

          In particular this is happening for the buttons and HREFs where
          the value of source fields is mapped to a AutoUserSessionObject
          or vice versa.

          yeah the work around would be remove the mapping and then
          run the extract tool but we have a lot of pages with such
          mappings... Does anybody know the alternatives???

          Thanks,
          Divakar

          For more information about JATO, please visit:
          http://developer.iplanet.com/tech/appserver/framework/index.jsp



          Choose from 1000s of job listings!


          For more information about JATO, please visit:
          http://developer.iplanet.com/tech/appserver/framework/index.jsp







          [Non-text portions of this message have been removed]


          • 2. Re: Error in Exraction Tool - Error E001
            3004

            Hi Mike,
            I just opened the project in Netdynamics 5.0 to see the links,
            and everything looked ok.. and again ran the extraction tool
            and it went thru fine.
            Dont know what was happening earlier though!!

            Yes, earlier we were getting the error in all the places
            where ever we had HREFs and Buttons with AutoUserSessionObject
            mapping.

            Thanks,
            Divakar


            --- In iPlanet-JATO@y..., "Mike Frisino" <Michael.Frisino@S...> wrote:
            Divakar,

            The iMT has been tested successfully against situations where HREF
            utilize AutoSessionObjects as both source and targets. In theory that
            should not be a problem.
            >
            Are you sure that the version of the project which you are
            attempting to pass through the iMT is ok? Specifically, can you open
            the project up in the NetDynamics Studio and view the Source Field
            and Target Field properties of the HREF in question. We have seen
            some situations where the property values themselves seem to have
            lost their integrity. By integrity, I mean that the Source Field and
            Target Field property values should appear in the Studio as "field
            names" not as long integers.
            >
            Also, you say that you have this same situation in many places
            within the Project. Are all such cases generating the same error?
            >
            What type of Object is the AutoSessionObject? Is is a String,
            Integer, or some other custom class?
            >
            >
            >
            ----- Original Message -----
            From: padiyar@y...
            Sent: Friday, November 09, 2001 11:53 AM
            Subject: [iPlanet-JATO] Re: Error in Exraction Tool - Error E001


            Here it is

            TRACE: Entering: -> [Page], Name [pgReassign]

            ERROR: <E001> Error detected: ObjectType [Href], Name
            [ChangeAssignee]



            java.lang.NullPointerException

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpCommandXmlAdapter.addSourc
            eOrTargetFields(CSpCommandXmlAdapter.java:358)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpCommandXmlAdapter.addAttri
            butes(CSpCommandXmlAdapter.java:193)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpCommonHrefXmlAdapter.addAt
            tributes(CSpCommonHrefXmlAdapter.java:53)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpHrefXmlAdapter.addAttribut
            es(CSpHrefXmlAdapter.java:88)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpHrefXmlAdapter.extract
            (CSpHrefXmlAdapter.java:54)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpFileBasedXmlAdapter.writeO
            bjectsList(CSpFileBasedXmlAdapter.java:415)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpDataDrivenVisualXmlAdapter
            .addAttributes(CSpDataDrivenVisualXmlAdapter.java:80)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpCommonRepeatedXmlAdapter.a
            ddAttributes(CSpCommonRepeatedXmlAdapter.java:54)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpRepeatedXmlAdapter.addAttr
            ibutes(CSpRepeatedXmlAdapter.java:80)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpRepeatedXmlAdapter.extract
            (CSpRepeatedXmlAdapter.java:46)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpFileBasedXmlAdapter.writeO
            bjectsList(CSpFileBasedXmlAdapter.java:415)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpDataDrivenVisualXmlAdapter
            .addAttributes(CSpDataDrivenVisualXmlAdapter.java:80)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpCommonPageXmlAdapter.addAt
            tributes(CSpCommonPageXmlAdapter.java:54)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpCommonHtmlPageXmlAdapter.a
            ddAttributes(CSpCommonHtmlPageXmlAdapter.java:81)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpPageXmlAdapter.addAttribut
            es(CSpPageXmlAdapter.java:88)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpPageXmlAdapter.extract
            (CSpPageXmlAdapter.java:50)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpProjectXmlAdapter.addPageE
            lements(CSpProjectXmlAdapter.java:787)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpProjectXmlAdapter.addChild
            Elements(CSpProjectXmlAdapter.java:259)

            at
            com.iplanet.moko.netdyn.extract.adapters.CSpProjectXmlAdapter.extract
            (CSpProjectXmlAdapter.java:131)

            at
            com.iplanet.moko.netdyn.extract.PseudoCP.createProjectNode
            (PseudoCP.java:435)

            at
            com.iplanet.moko.netdyn.extract.PseudoCP.createProjectNodes
            (PseudoCP.java:406)

            at com.iplanet.moko.netdyn.extract.PseudoCP.extract
            (PseudoCP.java:208)

            at com.iplanet.moko.netdyn.extract.PseudoCP.extract
            (PseudoCP.java:167)

            at com.iplanet.moko.netdyn.tools.ExtractTool.invoke
            (ExtractTool.java:142)

            at com.iplanet.moko.tools.gui.ToolInvocationThread.run
            (ToolInvocationThread.java:110)

            TRACE: Exiting: <- [Page], Name [pgReassign], Status [Success]


            Thanks,
            Divakar


            --- In iPlanet-JATO@y..., "Craig V. Conover" <craig.conover@s...>
            wrote:
            Was there a stack trace with this error?
            If so, please submit to use.
            thanks
            craig


            padiyar@y... wrote:
            Hi,
            I am encountering the following error while using extract
            tool of
            iMT

            E001 Error detected: ObjectType [<type>], Name [<name>]

            In particular this is happening for the buttons and HREFs
            where
            the value of source fields is mapped to a
            AutoUserSessionObject
            or vice versa.

            yeah the work around would be remove the mapping and then
            run the extract tool but we have a lot of pages with such
            mappings... Does anybody know the alternatives???

            Thanks,
            Divakar

            For more information about JATO, please visit:
            http://developer.iplanet.com/tech/appserver/framework/index.jsp
            >>>
            >>>
            >>>
            >>>
            >
            >
            >
            >
            >
            Choose from 1000s of job listings!


            For more information about JATO, please visit:
            http://developer.iplanet.com/tech/appserver/framework/index.jsp



            Service.
            >
            >
            >
            [Non-text portions of this message have been removed]