Documentum Captiva Designer Error : System.NullReferenceException: Object reference not set to an instance of an object - captiva

I am working on Captiva designer for a flow where I need to take help of C# scripting.
From the time I have added the custom script I am getting the following error when opening the flow
And when I click on "delete external script", flow opens, however on doing any activity like compiling the flow or setting up, it shows the following error!
Even after clicking "continue", it gets stuck at the following screen
System.NullReferenceException: Object reference not set to an instance of an object.
at Emc.InputAccel.ScriptingHost.ScriptingHost.BuildProjectInternal(String projName)
Earlier I was able to resolve it by following hotfix, but its not correct way and also it stopped working now!
"whenever I launch the flow, I would go to custom script, and delete whatever code I wrote(only method and class names would remain, which were created by Captiva itself). Then after saving it, I was able to compile it successfully. Then I would paste my custom code back into the script section and same code would compile magically!!"
Note: I am pretty much aware of the Null Point Exception and checked everything in the code, even if it is related to the custom code, it should not be coming when I cleared the custom code. So Ideally something is wrong in some configuration only, But can't find anything.

Related

Protoge error while using reasoner : MalformedLiteralException: Literal"C:\Program Files"^^<http://www.w3.org/2001/XMLSchema#anyURI>is malformed

I have created an Ontology and have run the reasoner successfully. However upon adding a data property called isLocatedExternally and associating it with individual x
and running the reasoner I get the following error
MalformedLiteralException: Literal"C:\Program Files"^^<http://www.w3.org/2001/XMLSchema#anyURI>is malformed.
I am trying to assign the individual to the file being stored locally on my PC.
Is there any fundamental step I am missing?
I had initially had my file on the cloud and thought storing the file on my PC would help but that did not change anything.
Below is the screenshot of the error and the data property created.
What I am trying to do is to use the technique below for assigning an external source to an individual.
So far, based on the comments, I have tried
1- file:///C:\Program%20Files
2- file://C:\Program%20Files
3- File://C:\Program%20Files
4- C:\Program%20Files
Here is the reasoning error that arises when I run the reasoner when assigning the individual to an external file using anyURI
file:///C/Program%20Files resolved the issue. However this raises another issue which is when I change to this address, and lookup for this address in the file explorer in the windows OS, it cannot find the path and gives the following error:
Windows cannot find "file:///C/Program%20Files".Check the spelling
and try again
Now the IRI does not direct the individual to an existing folder
Based on my personal experience you need to retry with other reasoners and see if that helps

"ERROR: General failure building project output groups" while creating Set Up project in Visual Studio 2019

I made a Windows Form App for borehole heat exchangers simulation, consisting only of one Form. When trying to build a set up project to install the app, I constantly get an error in the building. Message appears like below, and 4 times each message. All this is using Visual Studio 2019 updated.
ERROR: General failure building project output groups
ERROR: Unrecoverable build error - 0x80004005
I checked that every image used in the app are in the source file, that I have done the building in the right order, but every time I create a project output, no .xml file appears.
Although I think it should be not an issue, the program also created a Form1.resx file that sends a message (not an error, neither a warning) Object reference not set to an instance of an object. I donĀ“t remember creating such thing. I tried to erase it and almost got my app deleted.
Does anybody now what can be the problem and how to fix it?
Mainly my process consisted in building classes that represent different modellings of a borehole heat exchanger. I then made the program build an "borehole" object of the certain class you choose in a ComboBox. I had no fundamentals whatsoever in coding so maybe this is not the way I should do that, maybe it shouldn't be classes. The app works perfectly on debugging mode.
Public Class Modelo2D
Inherits ModeloNTU
Public ReadOnly Property Calor2D As Double
Is there a problem in this?

Event Log giving Type Mismatch & Incorrect Syntax errors due to Excel Spreadsheet Export in Classic ASP

thanks again for being here!
We have been having this issue for a while but never spent the time to address it.
When we print a page as an excel file through:
Response.ContentType="application/vnd.ms-excel"
We get a download window, as we should, in order to receive the resulting file.
If I save the file rather than open it, my server Event Logs show no error.
When the Open option is chosen, a loading bar appears.
This loading bar seems to be re-querying the page/re-running the asp, because the error we receive boils down to a null variable used in a sql query that is requesting a querystring.
http://s13.postimage.org/5mmkubzlj/ss2.jpg
Do I need to change the method of exporting this data to excel? Is there something I'm missing that will allow Excel to see that the file has already completed processing? Very confused as to what to do here.
Thoughts? Experiences? Thanks again!

How can I get details about a Silverlight code generation exception?

I'm getting the following error now when I build my Silverlight Business Application:
The code generator
'Microsoft.ServiceModel.DomainServices.Tools.CSharpCodeDomClientCodeGenerator'
encountered a fatal exception and
could not generate code for project
'C:\Software\ProjectPartCenterAdmin\Alpha\Latest
Version\ProjectPartCenterAdmin\ProjectPartCenterAdmin.csproj':
Exception has been thrown by the
target of an invocation.
I DID ABSOLUTELY NOTHING TO MY CODE since it last worked! All I did was a clean rebuild of the application. Is there a way to get the details on what the exception was? I am dead in the water until i can figure this out.
Oh, and by the way, I hate code generation! I've had endless problems with RIA Services and I'm trying my best to do things "the right way"; that is, no hacks.
Edit:
I've also been getting a similar warning:
The following exception occurred
creating the MEF composition
container:
Unable to load one or more
of the requested types. Retrieve the
LoaderExceptions property for more
information.
The default code
generator will be used.
I've been getting this for some time now, and have ignored it because the application seems to be working fine.
Also, when I remove my CustomValidation attributes the exception goes away. But the warnings do not.
First, you need to check if there were custom validation errors in the project. I had the same issue but when I realized that I had two validation result methods with the same name! and change it, the built was successfull.

Sample Data Not Appearing During Runtime

I have a RadGrid with sample data being used. The problem i am facing is that, even after i changed the design time data context mode(that is, changed "d:DataContext" to "DataContext"), i am unable to see the sample data during runtime, though the filter symbol appears in the column headers during runtime. In such a case, when i click the filter symbol, no data is shown in the filter criteria either. What could be causing this issue, and how can it be solved? Thanx!
Depending on how you are managing your sample data, you sample data may not be compiled into your application. If you used Blend to create your sample data, click on the data source gear icon in the Data tab to show "Data source options". Just check "Enable when running application".
If you used Visual Studio, check inside your csproj file and look for the tag DesignTimeOnly. A file in the section will not be compiled into your application and therefore won't be available at run-time. Otherwise it will appear as a normal Page.
I had the same issue and was able to resolve it by unchecking and then re-checking "Enable When Running Application" on my sample data source.

Resources