[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2397
  • Last Modified:

"A null reference pointer was passed to the stub"

Our app is built in Delphi and Fortran but I'm not sure that is relevant, so I'm just posting it here:

Anyone know what this error means?

1780 A null reference pointer was passed to the stub. RPC_X_NULL_REF_POINTER

It's happening on 2/3 XP SP1 machines, not sure what the difference between the two machine's is.

TIA
0
Popeyediceclay
Asked:
Popeyediceclay
  • 2
  • 2
1 Solution
 
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
A null reference pointer is a parameter passed via an API call where the API call does it's processing, and returns a value in that parameter.  Hence, it's null when you pass it, and has a value when you get it back.

Maybe in your specific case, an API call had a parameter that had a NULL in it, and it should have had a value.

Hope this helps.
-Jim
0
 
cookreCommented:
One would normally diagnose that as a program problem.  The fly in that ointment, however, is that the program works on one of the three boxes.

Is there any remoting involved?  
Do the results vary if the programs are run simultaneously, or not?
If simultaneous, are there any common files, or does it matter which runs first?

There are any number of possible external causes, or it could still be a program problem that requires certain conditions for the error to occur.

A bit more info about the operating environment will hellp ferret out the problem.



0
 
PopeyediceclayAuthor Commented:
I dont have specs of the environment, it's at a client site.  I imagine it is an environment issue that differs between the three machines.  However, I suppose it would be best to fix this issue at the program level to avoid the need to repair 2/3 of all machines that install the application.  Fortran seems to have issues with long file names and spaces within paths, I think it has something to do with that.  Still waiting on what parameters are being passed to the API, should give us a better explanation of what's different about the machines.
0
 
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
In Windows there is a win32api.txt file (either ships with your pc, or you can download from msdn.microsoft.com) that contains all API calls.  I would guess that there is a similar one for Delphi and Fortran, perhaps off of their websites.

Thanks for the grade.  Good luck on your project.
-Jim
0
 
PopeyediceclayAuthor Commented:
Thanks Jim
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now