|
Home > Archive > BizTalk Server General > February 2005 > Custom Pipeline Unhandled Exception Error
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Custom Pipeline Unhandled Exception Error
|
|
| fheinema 2005-02-08, 5:51 pm |
| I am testing a custom pipeline using the pipeline.exe utility and getting the
following error...
Unhandled Exception: System.NullReferenceException: Object reference not set
to
an instance of an object.
at
Microsoft.Test.BizTalk.PipelineObjects.NativeMethods.FormatMessage(Int32 d
wFlags, HandleRef lpSource, Int32 dwMessageId, Int32 dwLanguageId,
StringBuilder
lpBuffer, Int32 nSize, IntPtr[]& arguments)
at
Microsoft.Test.BizTalk.PipelineObjects.Utilities.GetErrorMessage(Exception
e)
at Microsoft.Test.BizTalk.Tools.Pipeline.Main(String[] args)
The error is happening in the disassembler once I add the schema to the
document schemas collection. It is a cXML document and I am using a schema
generated from Fulfill.dtd found on the cXML.org site. I can get the
document through the pipeline if I do not set the disassembler to have any
document schemas associated with it and I set it to allow unrecognized
messages.
I have not seen this error before and I know the file validates against the
schema without a problem. Has anyone seen this error before?
--
Fred Heinemann
| |
| fheinema 2005-02-09, 5:49 pm |
| I have done some more testing just trying to use the validator in the
pipeline and am seeing the following error....
Error
Source: XML validator
Message: XML Validator cannot retrieve document specification
by
using this name: "E2OpenSchemasAndMaps.Fulfill+cXML, E2OpenSchemasAndMaps,
Versi
on=1.0.0.1, Culture=neutral, PublicKeyToken=0d7c192d5dcdc075".
HRESULT: c0c02102
I have also tried removing the disassembler and validator altogether and the
pipeline spits out the cXML without a problem. I need to use the
disassembler or validator just to validate the incoming document and for the
promoted propeties to log in HAT. Any ideas? I am out stuck...
"fheinema" wrote:
> I am testing a custom pipeline using the pipeline.exe utility and getting the
> following error...
> Unhandled Exception: System.NullReferenceException: Object reference not set
> to
> an instance of an object.
> at
> Microsoft.Test.BizTalk.PipelineObjects.NativeMethods.FormatMessage(Int32 d
> wFlags, HandleRef lpSource, Int32 dwMessageId, Int32 dwLanguageId,
> StringBuilder
> lpBuffer, Int32 nSize, IntPtr[]& arguments)
> at
> Microsoft.Test.BizTalk.PipelineObjects.Utilities.GetErrorMessage(Exception
> e)
> at Microsoft.Test.BizTalk.Tools.Pipeline.Main(String[] args)
>
> The error is happening in the disassembler once I add the schema to the
> document schemas collection. It is a cXML document and I am using a schema
> generated from Fulfill.dtd found on the cXML.org site. I can get the
> document through the pipeline if I do not set the disassembler to have any
> document schemas associated with it and I set it to allow unrecognized
> messages.
>
> I have not seen this error before and I know the file validates against the
> schema without a problem. Has anyone seen this error before?
>
>
> --
> Fred Heinemann
| |
| XUEZHAI NI 2005-02-14, 8:46 pm |
| when you run the pipeline.exe with you pipeline, did you include the schema
files?
--------------------
| Thread-Topic: Custom Pipeline Unhandled Exception Error
| thread-index: AcUOIdv/MZKlvadTRp2qwCI7f9SaPw==
| X-WBNR-Posting-Host: 208.248.33.30
| From: "=?Utf-8?B?ZmhlaW5lbWE=?=" <fheinema@discussions.microsoft.com>
| Subject: Custom Pipeline Unhandled Exception Error
| Date: Tue, 8 Feb 2005 13:05:03 -0800
| Lines: 28
| Message-ID: <A4D2E0A4-08AC-4D9D-9521-3FE3D68FE3F7@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.biztalk.general
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
| Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.general:24411
| X-Tomcat-NG: microsoft.public.biztalk.general
|
| I am testing a custom pipeline using the pipeline.exe utility and getting
the
| following error...
| Unhandled Exception: System.NullReferenceException: Object reference not
set
| to
| an instance of an object.
| at
| Microsoft.Test.BizTalk.PipelineObjects.NativeMethods.FormatMessage(Int32 d
| wFlags, HandleRef lpSource, Int32 dwMessageId, Int32 dwLanguageId,
| StringBuilder
| lpBuffer, Int32 nSize, IntPtr[]& arguments)
| at
| Microsoft.Test.BizTalk.PipelineObjects.Utilities.GetErrorMessage(Exception
| e)
| at Microsoft.Test.BizTalk.Tools.Pipeline.Main(String[] args)
|
| The error is happening in the disassembler once I add the schema to the
| document schemas collection. It is a cXML document and I am using a
schema
| generated from Fulfill.dtd found on the cXML.org site. I can get the
| document through the pipeline if I do not set the disassembler to have
any
| document schemas associated with it and I set it to allow unrecognized
| messages.
|
| I have not seen this error before and I know the file validates against
the
| schema without a problem. Has anyone seen this error before?
|
|
| --
| Fred Heinemann
|
| |
| fheinema 2005-02-15, 5:50 pm |
| Yes I include the pipeline, schema and the btproj file.
"XUEZHAI NI" wrote:
> when you run the pipeline.exe with you pipeline, did you include the schema
> files?
>
>
> --------------------
> | Thread-Topic: Custom Pipeline Unhandled Exception Error
> | thread-index: AcUOIdv/MZKlvadTRp2qwCI7f9SaPw==
> | X-WBNR-Posting-Host: 208.248.33.30
> | From: "=?Utf-8?B?ZmhlaW5lbWE=?=" <fheinema@discussions.microsoft.com>
> | Subject: Custom Pipeline Unhandled Exception Error
> | Date: Tue, 8 Feb 2005 13:05:03 -0800
> | Lines: 28
> | Message-ID: <A4D2E0A4-08AC-4D9D-9521-3FE3D68FE3F7@microsoft.com>
> | MIME-Version: 1.0
> | Content-Type: text/plain;
> | charset="Utf-8"
> | Content-Transfer-Encoding: 7bit
> | X-Newsreader: Microsoft CDO for Windows 2000
> | Content-Class: urn:content-classes:message
> | Importance: normal
> | Priority: normal
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> | Newsgroups: microsoft.public.biztalk.general
> | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> | Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
> | Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.general:24411
> | X-Tomcat-NG: microsoft.public.biztalk.general
> |
> | I am testing a custom pipeline using the pipeline.exe utility and getting
> the
> | following error...
> | Unhandled Exception: System.NullReferenceException: Object reference not
> set
> | to
> | an instance of an object.
> | at
> | Microsoft.Test.BizTalk.PipelineObjects.NativeMethods.FormatMessage(Int32 d
> | wFlags, HandleRef lpSource, Int32 dwMessageId, Int32 dwLanguageId,
> | StringBuilder
> | lpBuffer, Int32 nSize, IntPtr[]& arguments)
> | at
> | Microsoft.Test.BizTalk.PipelineObjects.Utilities.GetErrorMessage(Exception
> | e)
> | at Microsoft.Test.BizTalk.Tools.Pipeline.Main(String[] args)
> |
> | The error is happening in the disassembler once I add the schema to the
> | document schemas collection. It is a cXML document and I am using a
> schema
> | generated from Fulfill.dtd found on the cXML.org site. I can get the
> | document through the pipeline if I do not set the disassembler to have
> any
> | document schemas associated with it and I set it to allow unrecognized
> | messages.
> |
> | I have not seen this error before and I know the file validates against
> the
> | schema without a problem. Has anyone seen this error before?
> |
> |
> | --
> | Fred Heinemann
> |
>
>
| |
| fheinema 2005-02-15, 5:50 pm |
| Yes I include the pipeline, schema and the btproj file.
"XUEZHAI NI" wrote:
> when you run the pipeline.exe with you pipeline, did you include the schema
> files?
>
>
> --------------------
> | Thread-Topic: Custom Pipeline Unhandled Exception Error
> | thread-index: AcUOIdv/MZKlvadTRp2qwCI7f9SaPw==
> | X-WBNR-Posting-Host: 208.248.33.30
> | From: "=?Utf-8?B?ZmhlaW5lbWE=?=" <fheinema@discussions.microsoft.com>
> | Subject: Custom Pipeline Unhandled Exception Error
> | Date: Tue, 8 Feb 2005 13:05:03 -0800
> | Lines: 28
> | Message-ID: <A4D2E0A4-08AC-4D9D-9521-3FE3D68FE3F7@microsoft.com>
> | MIME-Version: 1.0
> | Content-Type: text/plain;
> | charset="Utf-8"
> | Content-Transfer-Encoding: 7bit
> | X-Newsreader: Microsoft CDO for Windows 2000
> | Content-Class: urn:content-classes:message
> | Importance: normal
> | Priority: normal
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> | Newsgroups: microsoft.public.biztalk.general
> | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> | Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
> | Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.general:24411
> | X-Tomcat-NG: microsoft.public.biztalk.general
> |
> | I am testing a custom pipeline using the pipeline.exe utility and getting
> the
> | following error...
> | Unhandled Exception: System.NullReferenceException: Object reference not
> set
> | to
> | an instance of an object.
> | at
> | Microsoft.Test.BizTalk.PipelineObjects.NativeMethods.FormatMessage(Int32 d
> | wFlags, HandleRef lpSource, Int32 dwMessageId, Int32 dwLanguageId,
> | StringBuilder
> | lpBuffer, Int32 nSize, IntPtr[]& arguments)
> | at
> | Microsoft.Test.BizTalk.PipelineObjects.Utilities.GetErrorMessage(Exception
> | e)
> | at Microsoft.Test.BizTalk.Tools.Pipeline.Main(String[] args)
> |
> | The error is happening in the disassembler once I add the schema to the
> | document schemas collection. It is a cXML document and I am using a
> schema
> | generated from Fulfill.dtd found on the cXML.org site. I can get the
> | document through the pipeline if I do not set the disassembler to have
> any
> | document schemas associated with it and I set it to allow unrecognized
> | messages.
> |
> | I have not seen this error before and I know the file validates against
> the
> | schema without a problem. Has anyone seen this error before?
> |
> |
> | --
> | Fred Heinemann
> |
>
>
| |
| XUEZHAI NI 2005-02-21, 8:48 pm |
| would you send me you solution as zip file?
use my alias and send to microsoft.com without the online
thanks
Ni
--------------------
| Thread-Topic: Custom Pipeline Unhandled Exception Error
| thread-index: AcUTcNgUlASYUWSUTPGdQ6VGSMbdJQ==
| X-WBNR-Posting-Host: 208.248.33.30
| From: "=?Utf-8?B?ZmhlaW5lbWE=?=" <fheinema@discussions.microsoft.com>
| References: <A4D2E0A4-08AC-4D9D-9521-3FE3D68FE3F7@microsoft.com>
<$i7AL9vEFHA.2152@TK2MSFTNGXA01.phx.gbl>
| Subject: RE: Custom Pipeline Unhandled Exception Error
| Date: Tue, 15 Feb 2005 07:13:03 -0800
| Lines: 68
| Message-ID: <05F46C70-E2B9-4DDA-AD0F-3AB2F57E73D6@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.biztalk.general
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
| Path: TK2MSFTNGXA01.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:11237
| X-Tomcat-NG: microsoft.public.biztalk.general
|
| Yes I include the pipeline, schema and the btproj file.
|
| "XUEZHAI NI" wrote:
|
| > when you run the pipeline.exe with you pipeline, did you include the
schema
| > files?
| >
| >
| > --------------------
| > | Thread-Topic: Custom Pipeline Unhandled Exception Error
| > | thread-index: AcUOIdv/MZKlvadTRp2qwCI7f9SaPw==
| > | X-WBNR-Posting-Host: 208.248.33.30
| > | From: "=?Utf-8?B?ZmhlaW5lbWE=?=" <fheinema@discussions.microsoft.com>
| > | Subject: Custom Pipeline Unhandled Exception Error
| > | Date: Tue, 8 Feb 2005 13:05:03 -0800
| > | Lines: 28
| > | Message-ID: <A4D2E0A4-08AC-4D9D-9521-3FE3D68FE3F7@microsoft.com>
| > | MIME-Version: 1.0
| > | Content-Type: text/plain;
| > | charset="Utf-8"
| > | Content-Transfer-Encoding: 7bit
| > | X-Newsreader: Microsoft CDO for Windows 2000
| > | Content-Class: urn:content-classes:message
| > | Importance: normal
| > | Priority: normal
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| > | Newsgroups: microsoft.public.biztalk.general
| > | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
| > | Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| > | Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.general:24411
| > | X-Tomcat-NG: microsoft.public.biztalk.general
| > |
| > | I am testing a custom pipeline using the pipeline.exe utility and
getting
| > the
| > | following error...
| > | Unhandled Exception: System.NullReferenceException: Object reference
not
| > set
| > | to
| > | an instance of an object.
| > | at
| > |
Microsoft.Test.BizTalk.PipelineObjects.NativeMethods.FormatMessage(Int32 d
| > | wFlags, HandleRef lpSource, Int32 dwMessageId, Int32 dwLanguageId,
| > | StringBuilder
| > | lpBuffer, Int32 nSize, IntPtr[]& arguments)
| > | at
| > |
Microsoft.Test.BizTalk.PipelineObjects.Utilities.GetErrorMessage(Exception
| > | e)
| > | at Microsoft.Test.BizTalk.Tools.Pipeline.Main(String[] args)
| > |
| > | The error is happening in the disassembler once I add the schema to
the
| > | document schemas collection. It is a cXML document and I am using a
| > schema
| > | generated from Fulfill.dtd found on the cXML.org site. I can get the
| > | document through the pipeline if I do not set the disassembler to
have
| > any
| > | document schemas associated with it and I set it to allow
unrecognized
| > | messages.
| > |
| > | I have not seen this error before and I know the file validates
against
| > the
| > | schema without a problem. Has anyone seen this error before?
| > |
| > |
| > | --
| > | Fred Heinemann
| > |
| >
| >
|
| |
| XUEZHAI NI 2005-02-28, 5:53 pm |
| Hi, Fred:
after looked at your solution:
following steps below will resolve your issue:
1. load your solution to the VS,
2. open the fulfill.xsd schema and select the root element, then go
to the property window and set the “root reference” to “cXML”
3. build success the E2OpenSchemaAndMaps project,
4. open the E2OpenReceivePipeline.btp, click the xml disassembler and
go the property window, set the “document schemas” property to
“E2OpenSchemaAndMaps.Fullfill,…….”
5. build success the E2OpenPipeline project,
6. deploy both projects, (make sure set both project property
“redeployment” to “true”, if you try to deploy several times)
7. then go the biztalk explorer
8. create a one-way receive port(ReceivePort1), then add a new
receive location to it, make sure the following set correct;
a. transport type: File
b. Address(URI): C:\in
c. Receive handler: BiztalkServerApplication
d. Receive pipeline: E2OpenPipeline.E2OpenReceivePipeline…..
9. create new one way send port, make sure the following set
correct;
a. transport type: File
b. Address(URI): C:\out
c. Filters: “BTS.ReceivePortName == ReceivePort1
10. then enlist/start the sendport and enable the receiveport
11. may need to go to biztalk administration to make sure the host is
running, the send port and receive port are enabled or started
12. put your xml instance to the C:\in folder
13. check the C:\out,
it should works.
Thanks
Ni
--------------------
| X-Tomcat-ID: 46306715
| References: <A4D2E0A4-08AC-4D9D-9521-3FE3D68FE3F7@microsoft.com>
<$i7AL9vEFHA.2152@TK2MSFTNGXA01.phx.gbl>
<05F46C70-E2B9-4DDA-AD0F-3AB2F57E73D6@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: XUEZHAIN@ONLINE.MICROSOFT.COM (XUEZHAI NI)
| Organization: Microsoft
| Date: Tue, 22 Feb 2005 02:08:36 GMT
| Subject: RE: Custom Pipeline Unhandled Exception Error
| X-Tomcat-NG: microsoft.public.biztalk.general
| Message-ID: <coFktNIGFHA.400@TK2MSFTNGXA02.phx.gbl>
| Newsgroups: microsoft.public.biztalk.general
| Lines: 99
| Path: TK2MSFTNGXA02.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.biztalk.general:24824
| NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
|
| would you send me you solution as zip file?
| use my alias and send to microsoft.com without the online
|
| thanks
| Ni
| --------------------
| | Thread-Topic: Custom Pipeline Unhandled Exception Error
| | thread-index: AcUTcNgUlASYUWSUTPGdQ6VGSMbdJQ==
| | X-WBNR-Posting-Host: 208.248.33.30
| | From: "=?Utf-8?B?ZmhlaW5lbWE=?=" <fheinema@discussions.microsoft.com>
| | References: <A4D2E0A4-08AC-4D9D-9521-3FE3D68FE3F7@microsoft.com>
| <$i7AL9vEFHA.2152@TK2MSFTNGXA01.phx.gbl>
| | Subject: RE: Custom Pipeline Unhandled Exception Error
| | Date: Tue, 15 Feb 2005 07:13:03 -0800
| | Lines: 68
| | Message-ID: <05F46C70-E2B9-4DDA-AD0F-3AB2F57E73D6@microsoft.com>
| | MIME-Version: 1.0
| | Content-Type: text/plain;
| | charset="Utf-8"
| | Content-Transfer-Encoding: 7bit
| | X-Newsreader: Microsoft CDO for Windows 2000
| | Content-Class: urn:content-classes:message
| | Importance: normal
| | Priority: normal
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| | Newsgroups: microsoft.public.biztalk.general
| | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
| | Path: TK2MSFTNGXA01.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
| | Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:11237
| | X-Tomcat-NG: microsoft.public.biztalk.general
| |
| | Yes I include the pipeline, schema and the btproj file.
| |
| | "XUEZHAI NI" wrote:
| |
| | > when you run the pipeline.exe with you pipeline, did you include the
| schema
| | > files?
| | >
| | >
| | > --------------------
| | > | Thread-Topic: Custom Pipeline Unhandled Exception Error
| | > | thread-index: AcUOIdv/MZKlvadTRp2qwCI7f9SaPw==
| | > | X-WBNR-Posting-Host: 208.248.33.30
| | > | From: "=?Utf-8?B?ZmhlaW5lbWE=?="
<fheinema@discussions.microsoft.com>
| | > | Subject: Custom Pipeline Unhandled Exception Error
| | > | Date: Tue, 8 Feb 2005 13:05:03 -0800
| | > | Lines: 28
| | > | Message-ID: <A4D2E0A4-08AC-4D9D-9521-3FE3D68FE3F7@microsoft.com>
| | > | MIME-Version: 1.0
| | > | Content-Type: text/plain;
| | > | charset="Utf-8"
| | > | Content-Transfer-Encoding: 7bit
| | > | X-Newsreader: Microsoft CDO for Windows 2000
| | > | Content-Class: urn:content-classes:message
| | > | Importance: normal
| | > | Priority: normal
| | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| | > | Newsgroups: microsoft.public.biztalk.general
| | > | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
| | > | Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| | > | Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.general:24411
| | > | X-Tomcat-NG: microsoft.public.biztalk.general
| | > |
| | > | I am testing a custom pipeline using the pipeline.exe utility and
| getting
| | > the
| | > | following error...
| | > | Unhandled Exception: System.NullReferenceException: Object
reference
| not
| | > set
| | > | to
| | > | an instance of an object.
| | > | at
| | > |
| Microsoft.Test.BizTalk.PipelineObjects.NativeMethods.FormatMessage(Int32 d
| | > | wFlags, HandleRef lpSource, Int32 dwMessageId, Int32 dwLanguageId,
| | > | StringBuilder
| | > | lpBuffer, Int32 nSize, IntPtr[]& arguments)
| | > | at
| | > |
| Microsoft.Test.BizTalk.PipelineObjects.Utilities.GetErrorMessage(Exception
| | > | e)
| | > | at Microsoft.Test.BizTalk.Tools.Pipeline.Main(String[] args)
| | > |
| | > | The error is happening in the disassembler once I add the schema to
| the
| | > | document schemas collection. It is a cXML document and I am using
a
| | > schema
| | > | generated from Fulfill.dtd found on the cXML.org site. I can get
the
| | > | document through the pipeline if I do not set the disassembler to
| have
| | > any
| | > | document schemas associated with it and I set it to allow
| unrecognized
| | > | messages.
| | > |
| | > | I have not seen this error before and I know the file validates
| against
| | > the
| | > | schema without a problem. Has anyone seen this error before?
| | > |
| | > |
| | > | --
| | > | Fred Heinemann
| | > |
| | >
| | >
| |
|
|
|
|
|
|
|