• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

wloeppky
#1 Posted : Tuesday, August 14, 2007 4:36:32 PM(UTC)
wloeppky

Rank: Member

Joined: 8/13/2007(UTC)
Posts: 15

Using web services, we have an export from our database to BV. Before adding a new product we use the web method Catalog_InternalProduct_FindByBvin to see if the product is already there. This had been working fine for at least several weeks, then suddenly started failing with an error "Object reference not set to an instance of an object". The code surrounding this call has not changed so wondering what may be causing this error. Other calls to the web service are still working as before, for example reading vendors, manufacturers. Just this one call seems to fail now.


Thanks
Andy Miller
#2 Posted : Tuesday, August 14, 2007 6:13:56 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
The most likely cause is that one of the related objects is missing. For example if the product was based on a ProductType that has been deleted, then you will get this (at least that is what I remember).
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
wloeppky
#3 Posted : Wednesday, August 15, 2007 9:30:49 AM(UTC)
wloeppky

Rank: Member

Joined: 8/13/2007(UTC)
Posts: 15

That is what I was thinking as well. To check this we cleared all products off the web site and then tried a simple FindByBvin knowing there were no items on the web site. We still got the error. I double checked in the admin area and in the database, there were no records in bvc_product table. I imported the wsdl again just to make sure nothing had changed in the related methods and they all were the same. We continue to search for an answer, very puzzling.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2025 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012