NullReferenceException error
2. I created a validator for Sourcing Approvals (type 5012) where I want to get EntityViewerSections for the SourcedSpecification of the Sourcing Approval in context. I get a NullReferenceException error (i.e. Object reference not set to an instance of an object) for the code below. Any ideas what is causing the NullReferenceException?
protected override bool Validate_Internal(IValidationContext ctx, object propVal)
try
var sourcingApproval = ctx.ValidationTarget.As<ISourcingApproval>();
var sourcedSpec = sourcingApproval.SourcedSpecification;
if (sourcedSpec is IIngredientSpecification)
IEntityViewerConfig vc = null;
vc = new IngredientParentViewerConfig();
var specSections = vc.GetEntityViewerSections(sourcedSpec, null);
catch (Exception ex)
var errorId = EventLogWriter.AddEntry("{0}".F(ex.ToString()), EventLogEntryType.Error);
AddValidationError(m_bReport, ctx, "An error has occured in ScrmRestrictedIngredientsValidator. Error Id #{0} has been assigned as the Id error. Please use this error Id #{0} when refering to this error.".F(errorId), GetType());
return ctx.ErrorCount == 0;
Edited by: user12207415 on Oct 26, 2012 9:35 AM
so i found the missing line i needed for the configsections node and put it in the srcm web.config. i'm now able to call the GetEntityViewerSections without error but now i'm getting another NullReferenceException (stack trace is at the bottom). here's the line of code it's happening on. any ideas as to why?
var specSections = vc.GetEntityViewerSections(sourcedSpec, null);
var formulationSpecs = (new ArrayList(specSections)
.Cast<IEntityViewerSection>()
.SelectMany(entityViewerSection => entityViewerSection.Items.Cast<IEntityViewerItem>(),
(entityViewerSection, item) => PdmGateway.GetBaseSpecByPkid(item.PKID))
.Where(x => x is IFormulationSpecification)
.Where(SpecWorkflowTagEvaluator.IsSpecApproved))
.ToArray();
Here's what GetBaseSpecByPkid does:
public IBaseSpec GetBaseSpecByPkid(string pkid)
return pkid == "" ? null : GetIXDataObject<IBaseSpec>(pkid);
Here's the stack trace:
at Xeno.Prodika.Services.ServiceManager.Xeno.Prodika.Services.IServiceManager.get_Item(String key)
at Oracle.Agile.PlmProcess.PLM4PExtensionUtils.Common.ServiceHelper.get_ClassScopedSpecService()
at Oracle.Agile.PlmProcess.PLM4PExtensionUtils.Workflow.SpecWorkflowTagEvaluator.IsSpecApproved(IBaseSpec baseSpec)
at System.Linq.Enumerable.<>c__DisplayClassf`1.<CombinePredicates>b__e(TSource x)
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Tyson.Pdm.Validator.Lib.ScrmValidators.ScrmRestrictedIngredientsValidator.Validate_Internal(IValidationContext ctx, Object propVal) in c:\PDMProjects\Prodika.Extensions\Dev\Trunk\Tyson.Pdm.Validator.Lib\ScrmValidators\ScrmRestrictedIngredientsValidator.cs:line 63
Similar Messages
-
Error in connecting with Netweaver2004s Preview
I'm a new guy in this area.
After some days working , I finally installed NW04s preview correctly on windows2003.
Now I've installed .Net2003 , PDK for .net2003 , Protal Runtime and SAP .NET Connector 2.0.
According to tutorials of Portal Development Kit for Microsoft .Net , I could deploy "Hello world" on NW04 and also see the result page.
But when I follow the sample -- "Accessing SAP NetWeaver Systems. Tutorial 1: Simple Find", I can't make the step 2 --Configuring the Proxy correctly.
The error is as follows:
(1)Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx
(2)Connect to SAP gateway failed
Connect_PM GWHOST=10.10.10.10, GWSERV=sapgw00, ASHOST=10.10.10.10, SYSNR=00
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached (host Hostname, service 3300)
TIME Tue Apr 10 22:13:50 2007
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -10
MODULE nixxi_r.cpp
LINE 8688
DETAIL NiPConnect2
SYSTEM CALL SiPeekPendConn
ERRNO 10061
ERRNO TEXT WSAECONNREFUSED: Connection refused
COUNTER 1
PS: Loopback IP: 10.10.10.10 255.0.0.0Hi Deven,
how are you doing today ?
as you are new here, i will ask for patience in resolving the issues, as it might be a while before we can nail this,and as we have a bit of confusion in the thread, lets work from the beginning...
before you start using NPDK and connect to other SAP systems using NCo generated Proxies, lets take it step by step :-
1> Create a proxy using NCo
for this you will need to :
a> install NCo
b> create a ASP.NET project
c> chose a ABAP system (R/3, ECC5, ECC6) to communicate with
d> chose a RFC to consume
e> consume it
f> perfom a successful rfc invocation cycle
http://help.sap.com/saphelp_nw2004s/helpdata/en/51/d5470940fd564b888f4beb9523fa6c/content.htm
once you have performed this,
you need to check your NPDK config settings, in your scenario, because the Hello World is being displayed and not a control, the ASP.NET engine is not reachable from the portal side,
(the System.Write does not invoke ASP.NET and writes to the response buffer directly) however the control needs to be rendered by ASP.NET, which is not found ..
com.sap.portal.dotnet.framework.iViewProcessorService needs to be running and configured as per :
http://service.sap.com/installnw2004s -> - Installation - Clients -> Installation - PDK for .NET, "Configuring Portal-Side Settings" section
note 800842 is the central one which will allow you to drill down to any errors in config settings
--- I can get close to http://localhost:50000, and do some configrations as administrator.
--- client? I don't understand. Is not the localhost?
client for the backend system, eg r3, ecc5 ...
localhost / servername for portal ep6, ep7
When I use SAP component like "Label", it will show the "System.NullReferenceException" error.
ASP.NET cannot be found by the iViewProcessor Service
When I use "SAP Proxy Wizard", I found that, on the "Add SAPClient" window the is no option in the select list.
please elaborate
with respect,
amit -
Sharepoint Foundation 2013 Installation fails to provision Central Admin web app
Hello, I'm attempting to install SPF 2013 as a standalone instance on Windows Server 2012, and all goes fine until step 7/10 of the config wizard, when I get the below error:
Failed to provision the SharePoint Central Administration Web Application.
An exception of type System.NullReferenceException was thrown. Additional exception information: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.SharePoint.Administration.SPAspSiteMapFile.MergeAspSiteMapFiles(XmlDocument xmldocSiteMap, String strSrcFilePath, String strMergeFilePattern)
at Microsoft.SharePoint.Administration.SPAspSiteMapFile.Copy(String strSrcDir, String strSrcDirPrevious, String strSrcLeaf, String strDestDir, Boolean bMergeMaps, Boolean bBackupExistingFile)
at Microsoft.SharePoint.Administration.SPWebApplication.CopyAppDomainDirectories(DirectoryInfo vrPath, OverwriteSetting overwrite)
at Microsoft.SharePoint.Administration.SPAdministrationWebApplication.InstallFiles(DirectoryInfo virtualDirectoryPath, String validationKey, String decryptionKey)
at Microsoft.SharePoint.Administration.SPWebApplication.Provision()
at Microsoft.SharePoint.Administration.SPAdministrationWebApplication.Provision()
at Microsoft.SharePoint.Administration.SPWebServiceInstance.Provision()
at Microsoft.SharePoint.PostSetupConfiguration.CentvalAdministrationSiteTask.ProvisionAdminVs()
at Microsoft.SharePoint.PostSetupConfiguration.CentralAdministrationSiteTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
The admin.sitemap file is there in the _app_bin directory, so it's not clear why the procedure is failing with the NullReferenceException error. Any tips on this are much appreciated!Hi Jeroen
I am getting the same error when creating a new web application. where are steps 8 to 10 you followed?
Application error when access /_admin/extendvs.aspx, Error=Object reference not set to an instance of an object. at Microsoft.SharePoint.Administration.SPAspSiteMapFile.MergeAspSiteMapFiles(XmlDocument
xmldocSiteMap, String strSrcFilePath, String strMergeFilePattern) at Microsoft.SharePoint.Administration.SPAspSiteMapFile.Copy(String strSrcDir, String strSrcDirPrevious, String strSrcLeaf, String strDestDir, Boolean bMergeMaps, Boolean
bBackupExistingFile) at Microsoft.SharePoint.Administration.SPWebApplication.CopyAppDomainDirectories(DirectoryInfo vrPath, OverwriteSetting overwrite) at Microsoft.SharePoint.Administration.SPWebApplication.Provision()
at Microsoft.SharePoint.ApplicationPages.ExtendVirtualServerPage.BtnSubmit_Click(Object sender, EventArgs e) at System.... 11d8a99c-8ffc-20b8-9467-
ViewStateLog: Failed to write to the velocity cache:
http:/_layouts/15/error.aspx?ErrorText=Object reference not set to an instance of an object.&ErrorCorrelationId=11d8a99c-8ffc-20b8-9467-a8070aa333a8&IsDlg=1 4cd8a99c-8f37-20b8-9467-a392743b8825 -
Hi,
(1) I am trying to get the data from a database table and import into a text file.
(2) If the record set have the data then it runs ok
(3) when the record set not having any data it is giving the below error
Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
Could you please let me know why this is happening?
Any help would be appriciated
Thanks,
SIVYou might ask them over here.
http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral%2Ccsharpgeneral%2Cvcgeneral&filter=alltypes&sort=lastpostdesc
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
We are using Sharepoint 2010 and Infopath 2010. In my form, I have a Managed Metadata field that I need to test for a Null value. I found, with the help of this forum's participatns, that a [field]_Changed event for one MMD field runs multiple
time because of the underlying XML elements (Terms, TermInfo, TermName, TermId). So I'm trying to figure out how to test the XML to see when the TermName has a value. By doing this, I hope to limit when the additional code in my form runs, i.e.
I'll only trigger it when TermName is not null.
Just to test for null/empty (before doing anything that calls the addtional code) when I run this code, it completes correctly but always shows a message box:
Dim strTest As String = Me.CreateNavigator.SelectSingleNode("/pr:properties/p:properties/documentManagement/ns2:h2b59c4ae4144c01973b1d8571d217ad", Me.NamespaceManager).InnerXml
If String.IsNullOrEmpty(strTest) Then
Else
MessageBox.Show("This is the value of the States InnerXML " & strTest)
End If
But when I run this code, I get a "NullReferenceException was not handled by user code. Object reference not set to an instance of an object" at the "Dim strTest..." line:
Dim strTest As String = Me.CreateNavigator.SelectSingleNode("/pr:properties/p:properties/documentManagement/ns2:h2b59c4ae4144c01973b1d8571d217ad/pc:Terms/pc:TermInfo/pc:TermName", Me.NamespaceManager).InnerXml
If String.IsNullOrEmpty(strTest) Then
Else
MessageBox.Show("This is the value of the States InnerXML " & strTest)
End If
Can any one explain why drilling down like this gives me this error? And can you tell me how to get around it so I can limit how many times the code in my Infopath form needs to run?
Thanks in advance. Carol.Never mind, I think I've got it figured out. When I do it this way, I get to the If Not...Nothing at the correct time. Thanks for sending me down the correct path, Scott. Carol.:
Dim
firstStr As
String =
String.Empty
Dim xNav
As XPathNavigator = MainDataSource.CreateNavigator()
Dim xFirst
As XPathNavigator = xNav.SelectSingleNode("/pr:properties/p:properties/documentManagement/ns2:h2b59c4ae4144c01973b1d8571d217ad/pc:Terms/pc:TermInfo/pc:TermName",
Me.NamespaceManager)
If
Not xFirst
Is
Nothing
Then
Dim strxFirst
As
String = xFirst.InnerXml
MessageBox.Show(
"Value of InnerXML " & strxFirst)
Else
MessageBox.Show(
"Empty or Null")
End
If -
Hi,
Environment: Windows server 2008 R2 , Sharepoint2010
Getting the below error while uploading a document. Below is the stack trace.
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Office.RecordsManagement.PolicyFeatures.ApplicationPages.UploadPage.GetEditFormUrl(SPWeb web, SPList currentList, SPFolder currentFolder, SPContentTypeId id, String comments, SPFile spfile, String sourceUrl, HttpRequest request)
at Microsoft.Office.RecordsManagement.PolicyFeatures.ApplicationPages.UploadPage.GetEditFormUrl(SPFile spfile)
at Microsoft.Office.RecordsManagement.PolicyFeatures.ApplicationPages.UploadPage.OnSubmit(Object o, EventArgs e)
at Microsoft.Office.RecordsManagement.PolicyFeatures.ApplicationPages.UploadExPage.OnSubmit(Object o, EventArgs e)
at System.Web.UI.HtmlControls.HtmlInputButton.OnServerClick(EventArgs e)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Still new in sharepoint, so no idea where to start. Please advice.
Thanks.Hi Alex,
Do you have any update?
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Error while creating a new action in Oracle Process Builder 10gR3.
Hi,
After creating a process in Oracle Process Builder 10gR3 when I am creating a
new action then the following exception is occuring :
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an
object.
at Stellent.IBPM.Actions.ActionsToolbox.Load()
at Stellent.IBPM.Actions.SelectActionForm.ActionModuleSelectForm_Load(Object
sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1891 (QFEN-1.050727-1800)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
ActionLoader
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/ActionLoader/1.0.0.0__3fc10cde1afe6713/Acti\
onLoader.dll
BomInterop
Assembly Version: 1.0.0.0
Win32 Version: 8.0.0.382
CodeBase: file:///D:/Program%20Files/Stellent/IBPM/BomInterop.DLL
Stellent.IBPM.Builder
Assembly Version: 1.0.0.0
Win32 Version: 8.0.0.382
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Stellent.IBPM.Builder/1.0.0.0__3fc10cde1afe\
6713/Stellent.IBPM.Builder.dll
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/Sy\
stem.Drawing.dll
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
Stellent.IBPM.Actions
Assembly Version: 1.0.0.0
Win32 Version: 8.0.0.382
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Stellent.IBPM.Actions/1.0.0.0__3fc10cde1afe\
6713/Stellent.IBPM.Actions.dll
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1891 (QFEN-1.050727-1800)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e\
089/System.Windows.Forms.dll
Infragistics2.Win.UltraWinTabControl.v6.2
Assembly Version: 6.2.20062.34
Win32 Version: 6.2.20062.34
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Infragistics2.Win.UltraWinTabControl.v6.2/6\
.2.20062.34__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinTabControl.v6.2.dll
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50\
a3a/System.Configuration.dll
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System\
.Xml.dll
Infragistics2.Win.v6.2
Assembly Version: 6.2.20062.34
Win32 Version: 6.2.20062.34
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Infragistics2.Win.v6.2/6.2.20062.34__7dd5c3\
163f2cd0cb/Infragistics2.Win.v6.2.dll
Infragistics2.Shared.v6.2
Assembly Version: 6.2.20062.34
Win32 Version: 6.2.20062.34
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Infragistics2.Shared.v6.2/6.2.20062.34__7dd\
5c3163f2cd0cb/Infragistics2.Shared.v6.2.dll
Infragistics2.Win.Misc.v6.2
Assembly Version: 6.2.20062.34
Win32 Version: 6.2.20062.34
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Infragistics2.Win.Misc.v6.2/6.2.20062.34__7\
dd5c3163f2cd0cb/Infragistics2.Win.Misc.v6.2.dll
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.Hi Deena,
This error:
"[2012-07-10T14:50:30.005+05:30] [wls_ods1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JXkC9dU3FClqwsJb6G1FyhO000003D,0] [APP: odsm#11.1.1.2.0] Server Exception during PPR, #7[[
javax.servlet.ServletException: Could not initialize class com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub"
is known issue
Go to metalink, article: Unable To Connect To OVD 11g Webinterface Using ODSM. [ID 1282757.1]
You need to apply that patch.
I hope this helps,
Thiago Leoncio. -
Error while executing the WorkBook
Hi,
While executing WorkBook, I am facing an error "A critical program error has occured. The program will now terminate.Please refer to the trace for further information".
When I check in the trace, the error description is "System.NullReferenceException: Object reference not set to an instance of an object."
Can someone plese guide me on how to solve this issue !!
Thanks & Regards
Seshendra ReddyHi,
Make sure you have .NET framework 2.0 with latest Service Packs installed on your system. Also try and see if you will be able to run the report by having more selections for restricting the data to a minimum. This is because, BI 7, uses more memory than what BW3.5 used to use. This inturn results in some reports not to run for same selection for which we could get back result in BW3.5
Thanks,
KR
Edited by: KR on Jan 20, 2009 3:59 PM -
Hi All,
When we do a test-outlookconnectivity -protocol:http the result is a success but then we get the following:
ClientAccessServer ServiceEndpoint Scenario
Result Latency
(MS)
xxxxxxxxxxxx... xxxxxxxxxxxxxx Autodiscover: Web service request. Success 46.80
WARNING: An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance
of an object.
Object reference not set to an instance of an object.
+ CategoryInfo : NotSpecified: (:) [Test-OutlookConnectivity], NullReferenceException
+ FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTask
So it looks like it's not completing successfully.
I can't find anything on this in particular, and don't really know how to go about solving it - We are fully up to date, Exchange 2010 Sp2 with Rollup 5-v2
Any help appreciated!hi,
I have the same issue also on Exchange 2010 SP2 RU5v2
I ran your command and get the below
[PS] C:\Installs\report\Activesync>Test-OutlookConnectivity -Protocol:http |FL
RunspaceId : ebd2c626-1634-40ad-a17e-c9a713d1a62b
ServiceEndpoint : autodiscover.domain.com
Id : Autodiscover
ClientAccessServer : CAS01.domain.com
Scenario : Autodiscover: Web service request.
ScenarioDescription :
PerformanceCounterName :
Result : Success
Error :
UserName : Gazpromuk.intra\extest_645e41faa55f4
StartTime : 8/21/2013 4:08:50 PM
Latency : 00:00:00.1250048
EventType : Success
LatencyInMillisecondsString : 125.00
Identity :
IsValid : True
WARNING: An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance of an object.
Object reference not set to an instance of an object.
+ CategoryInfo : NotSpecified: (:) [Test-OutlookConnectivity], NullReferenceException
+ FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTask
Any help would be greatly appreciated, I also get random failures of OWA, EAS and web services, very frustrating
I have no errors in the app event log
thanks
Faisal Saleem Windows Systems Analyst 07595781867 -
I performed an inplace upgrade on my sharepoint 2007 installation and post the upgrade while trying to browse the document libraries on the site i get the following Error. HAs anyone encountered a similair error?? What could be the cause and resolution
for this
Any pointers/solution appreciated.
Description: An
unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception
Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source
Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack
Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Microsoft.SharePoint.WebPartPages.ListViewWebPart.PrepareContentTypeFilter(SPList list, Hashtable[] excludedTransformers) +682
Microsoft.SharePoint.WebPartPages.ListViewWebPart.GenerateDocConvScriptBlock(SPWeb web, SPList list) +482
Microsoft.SharePoint.WebPartPages.XsltListViewWebPart.OnPreRender(EventArgs e) +571
Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.OnPreRender(EventArgs e) +78
System.Web.UI.Control.PreRenderRecursiveInternal() +11032094
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3393
Version
Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955
My SharePoint Blog
http://dhireny.blogspot.comHow to be in my case??
[NullReferenceException: Object reference not set to an instance of an object.]
Microsoft.SharePoint.WebPartPages.ListViewWebPart.PrepareContentTypeFilter(SPList list, Hashtable[] excludedTransformers) +694
Microsoft.SharePoint.WebPartPages.ListViewWebPart.GenerateDocConvScriptBlock(SPWeb web, SPList list) +482
Microsoft.SharePoint.WebPartPages.XsltListViewWebPart.OnPreRender(EventArgs e) +571
Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.OnPreRender(EventArgs e) +78
System.Web.UI.Control.PreRenderRecursiveInternal() +11141054
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3393 -
SharePoint 2013 March Update Installation Error: Failed to install application content files
Hi,
I've been trying to install SharePoint 2013 March Update. After installing when I ran the configuration wizard, I get the following error:
Task applicationcontent has failed with an unknown exception
Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.SharePoint.Administration.SPAspConfigurationFile.ApplyActionToXmlDocument(XmlDocument xdAction, XmlDocument xd, String sourceFileName, SupportedXmlDocutmentActions supportedActions)
at Microsoft.SharePoint.Administration.SPAspConfigurationFile.MergeWebConfig(XmlDocument xdWebConfig, String fileMask)
at Microsoft.SharePoint.Administration.SPWebService.ApplyApplicationContentToLocalServer()
at Microsoft.SharePoint.PostSetupConfiguration.ApplicationContentTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
Has anyone found the issue?
Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.comThis is very painful situation .I was stuck on this till 2days and did goggling a lot.But didn't get the solution .I tried so many ways but no success .So finally I removed all the config and XML files from the C:\Program Files\Common Files\microsoft shared\Web
Server Extensions\15\CONFIG and run the PSConfig wizard again.This time got success finally .really unexpected. -
Hi,
Since I installed a few updates, that I can't access the sharepoint the same way. I always get errors when trying to access the majority of the pages.
I already removed the update suggested on other threads (KB2844286), but everything remains the same.
I always receive errors like this one:
Error
An unexpected error has occurred.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 65ef1cb8-1cbf-40ee-b79b-05db15ca6dbb
what can I do? The Sharepoint 2010 is located on a virtual partition of our server, running Windows Server 2008 Standard edition SP1.
When I try to access administration tools it happens the same error, and I don't know what I can do more.
Please help me.
best regards,
Jorge GuimarãesI followed some tips, to trace the error, allowing some trace debug, and got this:
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties() +134
Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_PartitionIDs() +44
Microsoft.Office.Server.Administration.UserProfileApplicationProxy.IsAvailable(SPServiceContext serviceContext) +329
Microsoft.Office.Server.WebControls.MyLinksRibbon.get_PortalAvailable() +44
Microsoft.Office.Server.WebControls.MyLinksRibbon.EnsureMySiteUrls() +60
Microsoft.Office.Server.WebControls.MyLinksRibbon.get_PortalMySiteUrlAvailable() +15
Microsoft.Office.Server.WebControls.MyLinksRibbon.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +65
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2427
Version Information: Microsoft .NET Framework Version:2.0.50727.5477; ASP.NET Version:2.0.50727.5479 -
Search Problem with SharePoint 2010: Get Internal server error when doing search
Hi,
Am getting Internal server error, corelation id.. when I use the search functionality in SP2010.
I've installed Sharepoint 2010 trial version on windows server 2008 r2 and the database server used is a SQL server 2008 R2.
I got the following messages with ULs viewer for the relative Corelation ID:
Process
Product
Category
Level
Message
w3wp.exe (0x1808)
SharePoint Foundation
Monitoring
High
Leaving Monitored Scope (Search Statistics). Execution Time=404.4175
w3wp.exe (0x1808)
SharePoint Server
General
Medium
Constructed a new async cache named Location Configuration Cache
w3wp.exe (0x1808)
SharePoint Server Search
Administration
High
'SharePoint_SearchApplicationProxy', location cache:
Refreshing location cache
w3wp.exe (0x1808)
SharePoint Server Search
Administration
High
SharePoint_SearchApplicationProxy', location cache: Exception while fetching
location configuration data. StackTrace: Microsoft.SharePoint.SPEndpointAddress
NotFoundException: There are no addresses available for this application.
at Microsoft.SharePoint.SPRoundRobinServiceLoadBalancer.BeginOperation()
at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.
GetLocationConfigurations(Int64& lastUpdate, Boolean& useCrawlProxy)
at
Microsoft.Office.Server.Search.Administration.LocationConfigurationCollection.
PopulateCollection()
at Microsoft.Office.Server.Search.Administration.
LocationConfigurationCollection.Init()
at Microsoft.Office.Server.Search.
Administration.LocationConfigurationCollection..ctor(SearchServiceApplicationProxy
searchAdmin)
at Microsoft.Office.Server.Search.Administration.LocationCache.
FetchLocationConfigurationData()
w3wp.exe (0x1808)
SharePoint Server Search
Query
Unexpected
CoreResultsWebPart::OnInit: Exception initializing: System.NullReferenceException:
Object reference not set to an instance of an object.
at Microsoft.Office.Server.
Search.WebControls.CoreResultsWebPart.SetPropertiesOnQueryReader()
at
Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e)
w3wp.exe (0x1808)
SharePoint Server Search
Query
Exception
Internal server error exception: System.NullReferenceException: Object reference
not set to an instance of an object.
at Microsoft.Office.Server.Search.WebControls
.CoreResultsWebPart.SetPropertiesOnQueryReader()
at Microsoft.Office.Server.
Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e) System.
NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.
SetPropertiesOnQueryReader()
at Microsoft.Office.Server.Search.WebControls.
CoreResultsWebPart.OnInit(EventArgs e)
w3wp.exe (0x1808)
SharePoint Server
Unified Logging Service
Monitorable
Watson bucket parameters: SharePoint Server 2010, ULSException14, 06175311
"sharepoint server search", 0e00129b "14.0.4763.0", 17853a8f "microsoft.
office.server.search", 0e00129a "14.0.4762.0", 4bad937d "sat mar 27 09:11:25
2010", 0000320d "0000320d", 0000002d "0000002d", 4a6d3421 "nullreferenceexception"
, 67316a39 "g1j9"
w3wp.exe (0x1808)
SharePoint Foundation
Monitoring
High
Leaving Monitored Scope (Search Action Links OnInit). Execution Time=395.3955
w3wp.exe (0x1808)
SharePoint Foundation
Monitoring
High
Leaving Monitored Scope (Add WebPart with error#4). Execution Time=527.8118
w3wp.exe (0x1808)
SharePoint Foundation
Monitoring
High
Leaving Monitored Scope (Add WebParts). Execution Time=3601.2636
w3wp.exe (0x1808)
Web Content Management
Publishing
Medium
Caught a thread abort exception in TemplateRedirectionPage.ProcessRequest,
the exception may be expected. stack trace=
at System.Web.UI.Page.
ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean
includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at
System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.SEARCHRESULTS_ASP
X__1518441470.ProcessRequest(HttpContext context)
at Microsoft.SharePoint.
Publishing.TemplateRedirectionPage.ProcessRequest(HttpContext context)
w3wp.exe (0x1808)
SharePoint Foundation
Monitoring
Medium
Leaving Monitored Scope (Request (GET:http://nestestsp:25943/Pages/results.aspx
?k=home%20nesintranet)). Execution Time=3811.6724
Can anybody help me find a solution for this issue.
ThanksAfter making sure that all services are up and running, I had to deactive and activate the "SharePoint Server Site Search" web site collection feature. Then the search started working for the time being.
However, it throws the error again after 8 to 9 hours. This has been happening for last couple of weeks. I also came to know from my windows server team that they moved the AD from one place to another. Since then I am having this issue.
The log file has the following error:
CoreResultsWebPart::OnInit: Exception initializing: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.SetPropertiesOnQueryReader()
at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e)
Internal server error exception: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.SetPropertiesOnQueryReader()
at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e) System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.SetPropertiesOnQueryReader()
at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e)
Harish Vajja -
I currently am using PPT to expose data from a Microsoft Analysis Server cube. The cube is wide open and requires no permissions to access.
The behavior of my filters is odd as sometimes they work perfectly fine, and other times I receive the following error upon report run:
Unable to get filter values.
An unexpected error occurred. Error 10828. Additional details have been logged for your administrator.
I have looked at the ULS logs and found the following:
An unexpected error occurred. Error 10828. Exception details: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.PerformancePoint.Scorecards.Server.PmServer.QueryTimeIntelligenceInternal(DataSource dataSource, DateTime currentTime, String formula)
at Microsoft.PerformancePoint.Scorecards.Server.PmServer.QueryTimeIntelligence(RepositoryLocation dataSourceLocation, DateTime currentTime, String formula)
An exception occurred while rendering a Web control. The following diagnostic information might help to determine the cause of this problem: Microsoft.PerformancePoint.Scorecards.BpmException: Unable to get filter values. PerformancePoint Services
error code 20700.
This is odd to me, as I can trick the report to run by changing the date filters to another day, then back to the original days that error'ed out and everything is fine. Some guidance would be appreciated.Hi,
Do you mean that you have Office 2007 and Office 2010 both installed in you computer?
Based on my test, I copy a Access 2010 database into a computer only installed Offic 2007, then using Excel 2007 to import Access database data, no error occurred.
So double click the Access database to see whether the databased is opened with Access 2007 or Access 2010. If it is opened with Access 2010, then try to save it as Access 2007 to
check the issue.
Jaynet Zhang
TechNet Community Support -
Summary Network Report Generation Error
I am running SBS 2011 and have recently stopped getting the Network Summary Reports. When I go into the log I see the following error:
2014-05-12T03:15:00.245868 : ***************** Starting GenerateMonitoringReport task... *****************
2014-05-12T03:15:00.246868 : Generating Summary Network Report...
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.FirewallInformation.GetFirewallStatusFromMonitoringStore(String computerName)
at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.ReportGenerator.GenerateSecuritySectionSecurityCenterPart(ReportSection section)
at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.ReportGenerator.GenerateSecuritySection()
at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.ReportGenerator.GenerateReport(ReportConfiguration config)
at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.GenerateReportTask.Run()
at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.SBSTask.StartTheTaskStub()
This error happens every time the report is generated. Any help resolving this would be much appreciated.Hi Rory Christian,
Would you please let me confirm whether it’s SBS 2011 Essentials or SBS 2011 Standard?
If it’s SBS 2011 Essentials, and you have installed Update Rollup 2. Please use following Hotfix and check
if help you to solve this issue.
You receive the warning "Computer Monitoring Error"
in Windows Small Business Server 2011 Essentials after you install Update Rollup 2
If this issue still persists or it’s SBS 2011 Standard, please run
SBS BPA and fix all that it can find. Then monitor the result. Meanwhile, please open Event Viewer and check if you can find more clues.
If any update, please feel free to let me know.
Hope this helps.
Best regards,
Justin Gu
Maybe you are looking for
-
Handling quotes with ${param.CurrentName}
I've read many posts on this topic, but cannot find a solution that works for my problem. I have 2 JSP pages. JSP 1 has text field CurrentName. JSP2 tries to capture that value and store it:<input type="hidden" name="CurrentName" id="CurrentName" val
-
I am in India and i haven't received the amber update till yet. Why??
-
Fixed Assets: Changing Category, Depreciation, life
hi i have an requirement where we need to change asset category, depreciation method, no depreciation and life(1 month). And want to make total depreciation to zero. Ex: Asset#A1 already depreciated some amount. Original category X and degault rules
-
How do you count I/O points in Lookout?
I'm fully aware of how to count points in a SCADA system when the system is straight forward. But I'm a bit confused when it comes to using ASCII Text object to bring in a string of data that contains ALL info at a particular station. Or using DDE to
-
LR V1.2 Having problems using the find Command
Have just recently started using lightroom and so far managing most applications imported a series of photos and after import added keywords to them using the find function I cannot get images to appear. What seems to happen is that in the keyword ta