Add on: Object reference not set to an instance of an object
This message only appears when each user first installs the add on or every time the add on is started manually. If it is automatically started it does not happen. It does not happen in debug mode either.
The add-on still runs and works normally after the message is responded to (but the same message may appear between 2 to 7 times before you can clear it).
I'd appreciate any help - I'm completely baffled.
I'm using Visual Studio 2003 and used the B1DE install wizard to create the installer package and the .ard file. I am also using the DI & use the single-sign on procedure to connect to the application.
SAP VERSION: 2005A (6.80.123) SP: 00 PL: 07
THANKS!!
John,
Although I do not remember this being an issue, you are on an older Patch Level for Business One 2005A. The latest patch level for Business One 2005A, if you are not on 2005A SP01, is Patch Level 11. You may want to download this and make sure that you uninstall and re-install the updated DI API on the workstation.
HTH,
Eddy
Similar Messages
-
I am working on a standalone install Sharepoint 2013 (no Active Directory). I found newsfeed feature is not available and checked Distributed Cache service is stopped. When start it “cacheHostInfo is null” is returned.
I checked the Windows service “AppFabric caching service” is stopped because the default identity “Network Service” not work. Then I change the AppFabric service identity to use “.\administrator” (which is also the sp farm administrator) and the service can
be started.
However the “cacheHostInfo is null” when try to start Distributed Cache service in central admin.
I searched on web and found this blog: http://rakatechblog.wordpress.com/2013/02/04/sharepoint-2013-spdistributedcacheserviceinstance-cachehostinfo-is-null/
I tried to run the script but it return error:
Add-SPDistributedCacheServiceInstance : Object reference not set to an
instance of an object.
At C:\root\ps\test.ps1:8 char:13
+ $whatever = Add-SPDistributedCacheServiceInstance
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Share…ServiceInstance:
SPCmdletAddDist…ServiceInstance) [Add-SPDistributedCacheServiceInstance]
, NullReferenceException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletAddDistr
ibutedCacheServiceInstance
I am not sure what went wrong. Please give me some idea? Thank you for any comment!Can you deploy Active Directory as installing without is not a supported installation scenario - http://support.microsoft.com/kb/2764086.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Object Reference Not Set To An Instance Of An Object - Outlook Add-In - Add-In Express
Hi,
My Add-In has been developed in VS2010 using the Add-In Express pack.
Its a very simple add-in that shows an IT support ticket email detailing PC information. To use it, following installing the add-in, the user must select the tab in outlook and click on the Send IT Support Email button which will generate an Outlook Email
Template with specific information about the PC that I pull using VB.
It works fine in Windows 7 & 8, but throws an 'Object Reference Not Set To An Instance Of An Object' exception in Windows XP. Screenshot is shown below:
The code is below
Imports System.Runtime.InteropServices
Imports System.ComponentModel
Imports System.Drawing
Imports System.Windows.Forms
Imports AddinExpress.MSO
Imports System.Object
Imports System.Net
Imports System.Environment
Imports System.Net.NetworkInformation
Imports System.Windows.Forms.Application
Imports Microsoft.Office.Interop.Outlook
Imports outlook = Microsoft.Office.Interop.Outlook
'Add-in Express Add-in Module
<GuidAttribute("735B7BC8-DD2F-44D8-BC37-30D86769C065"), ProgIdAttribute("$safeprojectname$.AddinModule")> _
Public Class AddinModule
Inherits AddinExpress.MSO.ADXAddinModule
#Region " Add-in Express automatic code "
'Required by Add-in Express - do not modify
'the methods within this region
Public Overrides Function GetContainer() As System.ComponentModel.IContainer
If components Is Nothing Then
components = New System.ComponentModel.Container
End If
GetContainer = components
End Function
<ComRegisterFunctionAttribute()> _
Public Shared Sub AddinRegister(ByVal t As Type)
AddinExpress.MSO.ADXAddinModule.ADXRegister(t)
End Sub
<ComUnregisterFunctionAttribute()> _
Public Shared Sub AddinUnregister(ByVal t As Type)
AddinExpress.MSO.ADXAddinModule.ADXUnregister(t)
End Sub
Public Overrides Sub UninstallControls()
MyBase.UninstallControls()
End Sub
#End Region
Public Shared Shadows ReadOnly Property CurrentInstance() As AddinModule
Get
Return CType(AddinExpress.MSO.ADXAddinModule.CurrentInstance, AddinModule)
End Get
End Property
Private Sub AddInModule_AddInInitiatize(ByVal sender As Object, ByVal e As EventArgs) _
Handles MyBase.AddinInitialize
'Outlook 2010 = 14
If Me.HostMajorVersion >= 14 Then
AdxOlExplorerCommandBar1.UseForRibbon = False
End If
End Sub
Public ReadOnly Property OutlookApp() As Outlook._Application
Get
Return CType(HostApplication, Outlook._Application)
End Get
End Property
'Gets the MAC Address from the NIC Information
Function getMacAddress()
Dim nics() As NetworkInterface = _
NetworkInterface.GetAllNetworkInterfaces
Return nics(0).GetPhysicalAddress.ToString
End Function
Sub CreateTemplate()
Dim sHostName As String
Dim sDomain As String
Dim sUserName As String
Dim sOS As String
Dim s64 As String
Dim sMAC As String
Dim host As String = System.Net.Dns.GetHostName()
Dim LocalHostaddress As String = System.Net.Dns.GetHostEntry(host).AddressList(1).ToString()
Dim MyItem As Outlook.MailItem
'Finds the PC Number
sHostName = Environ$("computername")
'Finds the Domain
sDomain = Environ$("userdomain")
'Finds the Username logged into the PC
sUserName = (Environment.UserDomainName & "\" & Environment.UserName)
'Finds the Operating System
sOS = (My.Computer.Info.OSFullName)
'Shows the results collected from the getMacAddress Function in the sMac variable
sMAC = getMacAddress()
'Finds the Architecture of the Operating System - x86 or x64
If (Environment.Is64BitOperatingSystem) Then
s64 = ("64bit")
Else
s64 = ("32bit")
End If
'Creates a Template Email
MyItem = OutlookApp.CreateItem(Outlook.OlItemType.olMailItem)
'Configures the Sender as [email protected]
MyItem.To = "[email protected]"
'Shows the template
MyItem.Display()
'Shows all of the string in the Email Body
MyItem.HTMLBody = String.Concat("<b><u>IT SUPPORT TICKET</u></b>", "<br/><br/>", "<tr><b>PC Number: </b></tr>", sDomain, "\", sHostName, "<b></b>", "<br/><br/>", "<b>Username: </b>", sUserName, "<b></b>", "<br/><br/>", "<b>OS Version: </b>", sOS, s64, "<b></b>", "<br/><br/>", "<b>IP Address: </b>", LocalHostaddress, "<b></b>", "<br/><br/>", "<b>MAC Address: </b>", sMAC, "<b></b>", "<br/><br/>", "<b>Comment:</b>", "<br/>", "<i>Please give a brief description of your problem attaching a screen shot if possible</i>", "<br/><br/>") & MyItem.HTMLBody
End Sub
Private Sub AdxRibbonButton1_OnClick(ByVal sender As Object, ByVal control As IRibbonControl, ByVal pressed As Boolean) Handles AdxRibbonButton1.OnClick
'Runs CreateTemplate
CreateTemplate()
End Sub
Private Sub AdxCommandBarButton1_Click(ByVal sender As Object) Handles AdxCommandBarButton1.Click
'Runs CreateTemplate
CreateTemplate()
End Sub
End Class
I would appreciate any help with this whatsoever as I am pulling my hair out!!
Many Thanks!!
ChrisHi,
Welcome to MSDN forum.
I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
and Visual Studio Editor.
Because your Add-in is developed using Add-in Express which is third-party, I suggest consulting Add-in Express forum:
http://www.add-in-express.com/forum/index.php for better support.
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hi, My name is Leonard and I am studying SQL. I have downloaded the newest MS SQL 2012 and also MS 2012 Hyper-V. I have set a MS 2012 Hyper-V on a laptop with AMD Turion 64 X2 and 3G of RAM (Planing
to add more to max at 8G).
Following the instructions in the free online
Administering Microsoft SQL Server 2012 Databases” Training Kit, I have set 6 virtual machines as instructed in the Training Kit. While the installation of the MS Server Core 2008 R2 SP1 completed with no
problem, the same cannot be said for the SQL Server 2012 installation. I have encountered an error that I have not seen anyone address in any of the SQL web forums.
After running the unattended setup instruction (Setup.exe /qs /ACTION=Install /FEATURES=SQLEngine /INSTANCENAME=MSSQLSERVER
/SQLSVCACCOUNT="Njowa\Pa$$worD>" /SQLSVCPASSWORD=" Pa$$worD” /SQLSYSADMINACCOUNTS="Njowa\lenny#4!@" /AGTSVCACCOUNT="NT AUTHORITY\Network Service"
/IACCEPTSQLSERVERLICENSETERMS) this is what I get after a series SQL setup
initiation windows popups then disappears.
The following error occurred:
Object reference not set to an instance of an object.
Error result: -2147467261
Result facility Code: 0
Result error Code: 16387
Please review the summary.txt log for further details
My question is: What instance of an object is not properly initialize in the Setup instructionsHello,
Please note that SQL Server requires at least 1 GB of RAM. The operating system (Windows Server) requires 2 GB of RAM (recommended) or 512 MB (minimum). This means any virtual machine that will receive the installation of a SQL Server instance requires 1.5
or 2 GB at least.
The behavior of SQL Server setup tells me that the virtual machine does not have enough memory assigned or .NET Framework 3.5 was not enable on Control Panel->Program
and Features before trying to install SQL Server.
The following thread is about another possible cause of this error:
http://social.msdn.microsoft.com/Forums/mr-IN/sqlsetupandupgrade/thread/575d3025-69f5-4152-a473-44496b008811
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
"Object reference not set to an instance of an object" when using Sheel Shah's example
I am attempting to use a custom add dialog as in http://blogs.msdn.com/b/lightswitch/archive/2011/07/07/creating-a-custom-add-or-edit-dialog.aspx and
I get the error "Object reference not set to an instance of an object." when clicking my button to AddEntity(). My code to call the control is:
User u = new User();
userdialoghelper.AddEntity(u);
Any ideas as to why I'm getting this error? I "think" that I've set up the class properly?
ScottI may be a couple of years late to the party here (using VS2013) but I also had some issues adapting to Yann's improvements over Sheel's code.
Sheel's screen code as provided has the word "Old in the InitializeDataWorkspace and the created methods. this does not work when copy/pasted. ALso removed the "UI" from "InitialiseUI()"
Following code can be used with Yann's Helper Class.
Namespace LightSwitchApplication
Public Class EditableCustomersGrid
Private customersDialogHelper As ModalWindow
Private Sub EditableCustomersGrid_InitializeDataWorkspace(saveChangesTo As System.Collections.Generic.List(Of Microsoft.LightSwitch.IDataService))
customersDialogHelper = New ModalWindow(Me.Customers, "CustomerViewDialog")
End Sub
Private Sub EditableCustomersGrid_Created()
customersDialogHelper.Initialise()
End Sub
Private Sub gridAddAndEditNew_CanExecute(ByRef result As Boolean)
customersDialogHelper.CanAdd()
End Sub
Private Sub gridAddAndEditNew_Execute()
customersDialogHelper.AddEntity()
End Sub
Private Sub gridEditSelected_CanExecute(ByRef result As Boolean)
customersDialogHelper.CanView()
End Sub
Private Sub gridEditSelected_Execute()
customersDialogHelper.ViewEntity()
End Sub
Private Sub EditDialogOk_Execute()
customersDialogHelper.DialogOk()
End Sub
Private Sub EditDialogCancel_Execute()
customersDialogHelper.DialogCancel()
End Sub
End Class
End Namespace -
I cretaed a Visual web part in SP 2013. It needs a SharePoint list. So wrote below code in web part feature receiver. When I deploy the solution I get error says Error occurred in deployment step 'Activate Features': Object reference not set to an instance
of an object. I set ActivateOnDefault="FALSE" and AlwaysForceInstall="TRUE" . Take a look on my feature manifest file.
I cretaed a Visual web part in SP 2013. It needs a SharePoint list. So wrote below code in web part feature receiver. When I deploy the solution I get error says Error occurred in deployment step 'Activate Features': Object reference not set to an instance
of an object. I set ActivateOnDefault="FALSE" and AlwaysForceInstall="TRUE" . Take a look on my feature manifest file.
<Feature xmlns="http://schemas.microsoft.com/sharepoint/" Title="SharePointProject1 Feature1" ActivateOnDefault="FALSE" AlwaysForceInstall="TRUE" Id="8f7163d5-6c65-40d8-9045-8f74192f07d7" ReceiverAssembly="SharePointProject1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9c2f0c3a8e22f6a0" ReceiverClass="SharePointProject1.Features.Feature1.Feature1EventReceiver" Scope="Site">
<ElementManifests>
<ElementManifest Location="VisualWebPart1\Elements.xml" />
<ElementFile Location="VisualWebPart1\VisualWebPart1.webpart" />
</ElementManifests>
</Feature>
This is my Feature1EventReceiver code.
SPWeb spWeb = properties.Feature.Parent as SPWeb;
SPList laptopList = spWeb.Lists["Laptops"];
if (laptopList != null)
laptopList.Delete();
SPListCollection lists = spWeb.Lists;
lists.Add("Laptops", "The Laptops", SPListTemplateType.GenericList);
laptopList = spWeb.Lists["Laptops"];
laptopList.Fields.Add("Name", SPFieldType.Text, true);
laptopList.Fields.Add("Model", SPFieldType.Text, true);
laptopList.Fields.Add("Image", SPFieldType.URL, false);
I can deploy if I have only below code
SPWeb spWeb = properties.Feature.Parent as SPWeb;hi
features containing webparts must be site scoped, so you must get spweb as bellow:
SPSite spSite = properties.Feature.Parent as SPSite;
SPWeb spWeb = spSite.RootWeb;
yaşamak bir eylemdir -
"Object reference not set to an instance of an object" on stored proc.
So, I use VS 2005 with Oracle 11 rel. 11.1.06.0.
I installed ODP for .net (ODAC 11.10621).
but, when I call some stored proc wich was working previously, when calling stored proc:
oProcAppendWebFolder2.Parameters("p_siteid").Value = vSiteID
oProcAppendWebFolder2.Parameters("p_webfoldername").Value = vWebFolderName
oProcAppendWebFolder2.Parameters("p_includestartpage").Value = IIf(vIncludeStartPage, "Y", "N")
oProcAppendWebFolder2.ExecuteNonQuery()
I often got message:
Object reference not set to an instance of an object. (I got this message when calling ExecuteNonQuery)
proc is simple:
FUNCTION AppendWebFolder(p_SiteID IN NUMBER, p_WebFolderName IN VARCHAR2, p_includeStartPage IN char) RETURN NUMBER AS
v_errcode PLS_INTEGER :=0;
v_retval PLS_INTEGER :=0;
BEGIN
UPDATE DBSEQUENCES SET VALUE=NVL(VALUE,0)+1
WHERE seqid=4
RETURNING VALUE INTO v_retval;
INSERT INTO WEBFOLDERS(webfolderid, siteid, webfoldername, include_startpage)
VALUES (v_retval, p_siteid, p_webfoldername, p_includestartpage);
RETURN (v_retval);
EXCEPTION
WHEN OTHERS THEN
v_errcode := SQLCODE;
g_errm := SUBSTR(SQLERRM,1,LONG_VARCHAR);
Appenderror(g_errm, 0, class_name, 'AppendWebFolder', 'siteid: ' || p_siteid || ' webfoldername: ' || p_webfoldername,0);
RETURN (v_errcode);
END AppendWebFolder;
procedure call declaratiion in .net is:
oProcAppendWebFolder2 = New OracleCommand("appendwebfolder", oConn)
oProcAppendWebFolder2.CommandType = CommandType.StoredProcedure
oProcAppendWebFolder2.Parameters.Add("retval", OracleDbType.Int32, ParameterDirection.ReturnValue)
oProcAppendWebFolder2.Parameters.Add("p_siteid", OracleDbType.Int32, ParameterDirection.Input)
oProcAppendWebFolder2.Parameters.Add("p_webfoldername", OracleDbType.Varchar2, ParameterDirection.Input)
oProcAppendWebFolder2.Parameters.Add("p_includestartpage", OracleDbType.Char, 1, "", ParameterDirection.Input)
oProcAppendWebFolder2.Prepare()
note that such error was not appearing when I used oracle XE
Edited by: user465054 on Dec 17, 2008 9:47 AMIf it is a web application, I would suggest using HTTP sessions to store the ReportDocument object.
See this KB for reference code on how to use session.
http://search.sap.com/ui/notes?id=0001985571&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303031393835353731&ssocompatible
If that does not resolve the issue, provide below info.
- Version of CR with patch level.
- Version of VS
- Win or web app?
- What happens when you refresh the report in viewer using refresh button?
Thanks,
Bhushan -
Hello
We're trying to use a Model-First with Entity Framework in Visual Studio, targeting an Oracle XE 11g installation.
No matter from what angle we're approaching the issue, we always end up with an "Object reference not set to an instance of an object" in Visual Studio:
First way:
- Add new ADO.NET Entity Framework Model to a .NET Framework 4.5 project
- Empty model
- Add some entities and associations
- Set Database Generation Workflow to "Generate Oracle Via T4 (TPT).xaml"
- Set DDL Generation Template to "SSDLToOracle.tt"
- Generate Database From Model
- VS asks for DB connection ==> Click "New Connection"
- Enter the connection properties to the Oracle XE database. "Test Connection" tells me the connection is okay.
- Click OK. Visual Studio shows the following error message:
(here's the image if it's not visible: https://dl.dropboxusercontent.com/u/35614983/vs2012_oracle_ef_error.png)
We also tried to generate the model in VS2010 and then manually transform it to an EF5 / VS2012 model. At the "Generate Database from Model" step, the same error appeared.
We also tried to generate the model from database (Database-First approach). Same error.
My configuration:
- Windows 7 Ultimate 64-bit
- Installed Oracle client: ODTwithODAC1120320_32bit.zip, so the version is 11.2.0.3.20
- Visual Studio 2012 Update 3 (11.0.60610.01)
Thanks for any hints!
EDIT: I just read that ODP.NET doesn't seem to support Entity Framework 5, so I tried a new project with Entity Framework 4.1, but I get the same errors.
EDIT 2: On a 32-bit Windows 7 virtual machine, everything works fine. Seems the problem is only there on my 64-bit Windows 7 machine.Sorry for the delay on this one. Let me know if you are still seeing this and I will see if we can get more diagnostic info somehow.
That error is basically an exception fault. It means a bug or a misconfiguration of Oracle Developer Tools. Can you try to reinstall ODT and see if you notice any unusual errors during install.. and see if a reinstall fixes the problem? -
I am running a custom workflow to create volumes that has worked since WFA 2.x, and which works well in 3.0P1. With WFA 3.1RC1 it throws this error when attempting to apply a quota to the volume: INFO [Apply Quota Policy to Volume or Qtree] Started Quota resize on volume post_wfa31rc1_test2_w_mirror on vserver MySVM ERROR [Apply Quota Policy to Volume or Qtree] Command failed for Workflow 'Create Volume (Schwab)' with error : Object reference not set to an instance of an object. INFO [Apply Quota Policy to Volume or Qtree] ***** Workflow Execution Failed ***** I have executed the PS commands from this code block in a PS shell with no errors. Has anyone else seen a similar issue with 3.1RC1? Scott Lindley
I have narrowed the problem down to a single command and can reproduce the problem very easily. However, I can't seem to fix it. But I believe importing this single custom command into both a WFA 3.0P1 and WFA 3.1RC1 system will easily show that it works in 3.0P1 and throws the odd 'Object reference not set to an insance of an object' error. I say that is an odd error because I'm only used to seeing that error at Preview time referring to an object reference in a Command Parameter field of a workflow. I know how to deal with that issue. However here, the error appears at the end a PowerShell command. Actually, the PowerShell command appears to me to execute entirely and correctly. It is just that at the end of running this exception error is thrown and that causes the command (and workflow if running within a workflow) to fail. But the comamnd correctly adds the 'default' quota policy to the volume and even enables quota resize as it should. So it works, but still blows up the workflow it is within. I'm going to attempt to attach these three things here: 1) screenshot showing the command running (with Command Test Button) fine under WFA-3.0P1, 2) a screenshot showing the command running but throwing the error on a WFA-3.1RC1 system 3) the ,dar file holding just the command: "Apply Quota Policy to Volume or Qtree" (I added .txt to the end of .dar file name) ------1) running OKay on 3.0P1 -------------------------- 2) running with the ERROR on WFA 3.1RC1 SOME NOTES: My lab environment where I re-created the problem: The WFA 3.0P1 system is a Windows 2008R2 server that happens to have the original PowerShell 2.0 on it The WFA 3.1RC1 system is a Windows 7 system that I have updated PowerShell to 4.0. The customer environment: I'm less certain of details (maybe Scott can fill in) The version of PowerShell is TBD (guessing 2.0) , but they are running the same PS version for both 3.0P1 and 3.1RC1 because they are upgrading/downgrading WFA on the same system
-
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 -
"An error has occurred:Object reference not set to an instance of an object."
This error message comes up with a user in InfoView. The user schedules a report, updates parameters, and the report kicks off successfully. But then a few minutes later, this error is received. This occurs sporadically, regardless of the length of time of report or amount of data being retrieved. Sometimes the report runs to completion. Other times this error message occurs.
Has anyone seen this before and have any thoughts?
Thank you.
“An error has occurred:Object reference not set to an instance of an object.”Are you able to replicate the issue both in Java and .NET InfoView?
For .NET InfoView, sometimes the "An error has occurred: Object reference not set to an instance of an object" error shows up after the .NET Framework is upgraded to 2.0 -
Hello.
I just installed a new farm, the wizard was succesfull in all steps. However when I try to load the default site it created I got this exception.
Any idea?
System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties() at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_PartitionIDs()
at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.IsAvailable(SPServiceContext serviceContext) at Microsoft.Office.Server.WebControls.MyLinksRibbon.get_PortalAvailable() at Microsoft.Office.Server.WebControls.MyLinksRibbon.EnsureMySiteUrls()
at Microsoft.Office.Server.WebControls.MyLinksRibbon.get_PortalMySiteUrlAvailable() at Microsoft.Office.Server.WebControls.MyLinksRibbon.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecu...
Follow me on Twitter <<<I tried removing the user profile service application and creating it again, when I did that, and tried to navigate to the page to manager the user profile application it shows me an exception
According to the uls log viewer its;
Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: This User Profile Application's connection is currently not available. The Application Pool or User Profile Service may not have been started. Please contact your administrator.
at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.ProfileAdminPage.get_CurrentApplicationProxy() at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.ProfileAdminPage.IsProfileSynchronizationRunning() at Microsoft.SharePoint.Portal.WebControls.UserProfileServiceImportStatisticsWebPart.RenderSectionContents(HtmlTextWriter
writer) at Microsoft.SharePoint.Portal.WebControls.UserProfileServiceImportStatisticsWebPart.RenderWebPart(HtmlTextWriter writer) at Microsoft.SharePoint.WebPartPages.WebPart.Render(HtmlTextWriter ...
I checked and the sharepoint web services default was stopped, I started and still the same error, that pool is under Local Service account.
Follow me on Twitter <<< -
"Object reference not set to an instance of an object" in WAD
10:45:09.659 ########## --> com.sap.bi.et.wad.wadhtmlediting.WADctlWADHTMLControl.SwitchEditable ##########
-EXCEPTION-START- 10:45:09.659: DEBUG ### Browser Init failed. 2nd try will be proceeded. ---
Exception Message: Object reference not set to an instance of an object.
Exception at SAPWADMXHTML.IWADMXBrowser2.AttachAnnotator(Boolean On)
at com.sap.bi.et.wad.AxSAPWADMXHTML.AxCWADMXBrowser2.AttachAnnotator(Boolean on)
at com.sap.bi.et.wad.wadhtmlediting.WADctlWADHTMLControl.SwitchEditable(Boolean iBool)
Full Stack:
at com.sap.bi.et.wad.Debug.WriteTraceToFile(Level, String, Exception)
at com.sap.bi.et.wad.Debug.Exception(Exception, String)
at com.sap.bi.et.wad.wadhtmlediting.WADctlWADHTMLControl.SwitchEditable(Boolean)
at com.sap.bi.et.wad.wadhtmlediting.WADctlWADHTMLControl.set_BrowserDesignMode(Boolean)
at com.sap.bi.et.wad.wadhtmlediting.WADctlWADHTMLControl.Navigate(String, Boolean)
at com.sap.bi.et.wad.wadhtmlediting.WADctlWADHTMLControl.SetHTMLsafe(String, Boolean)
at com.sap.bi.et.wad.wadhtmlediting.WADctlWADHTMLControl.SetHTML(String, Boolean)
at com.sap.bi.et.wad.man.WADctlEditViewLayout.SetDocumentHTML(String)
at com.sap.bi.et.wad.man.WADctlEditViewLayout.TemplateXML2HTMLEdit()
at com.sap.bi.et.wad.man.WADfrmTemplateMDIWindow.UpdateView(Int32, Int32, Boolean)
at com.sap.bi.et.wad.man.WADfrmTemplateMDIWindow.tabLayoutTab_Switch(Object, EventArgs)
at System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs)
at System.Windows.Forms.TabControl.WmSelChange(Message&)
at System.Windows.Forms.TabControl.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef, Int32, IntPtr, IntPtr)
at System.Windows.Forms.Control.SendMessage(Int32, IntPtr, IntPtr)
at System.Windows.Forms.Control.ReflectMessageInternal(IntPtr, Message&)
at System.Windows.Forms.Control.WmNotify(Message&)
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.ScrollableControl.WndProc(Message&)
at System.Windows.Forms.ContainerControl.WndProc(Message&)
at System.Windows.Forms.Form.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.NativeWindow.DefWndProc(Message&)
at System.Windows.Forms.Control.DefWndProc(Message&)
at System.Windows.Forms.Control.WmMouseDown(Message&, MouseButtons, Int32)
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.TabControl.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.Run(Form)
at com.sap.bi.et.wad.BexWebApplicationDesigner.Launch.Main()
-EXCEPTION-END----Hello Dieu,
Have you found a solution of this exception?? i also come across this one.
Kind Regards,
Clark -
"object reference not set to an instance of an object" error while running ssrs report locally
Hi Folks,
I am a bit new to SSRS.
I am using ssrs 2012 and trying to use a method from a dll file. I am loaded the assembly file in reference of the report.
Now I am trying to use a static method from the Dll. e.g. applicationName.classname.MethodName()
But while running the report I am getting "object reference not set to an instance of an object" error.
For a note I am trying execute the report locally.
Any help would be highly appreciable.
sarat chandra sahooSorry for late reply Sinaloe..
I have added a dll file in my report reference. And in a textbox trying to execute this below.
=Recall.Common.LocalizationEx.Localization.GetString(Parameters!Culture.Value, "RFID", "BICustomerPortal")
where Getstring() is a static method in the dll.
I guess some configuration setting I am missing here.
1. I have copied these dlls in "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies" and "C:\Windows\Assembly".
sarat chandra sahoo -
Object reference not set to an instance of an object error with Import data
Hi Experts,
We are using BPC 7.5M with SQL Server 2008 in Multiserver environment, I am getting an error "Object reference not set to an instance of an object." while running Import data package, earlier we use to get this error sometime(once in a month) but it goes away if we reboot the application server but this time I have rebotted the Application server multiple times but still getting the same error.
Please Advice.
Thanks & Regards,
RohitHi Rohit,
please see the sap note 1615837, maybe this help you.
Best regards
Roberto Vidotti -
Object reference not set to an instance of an object. in Query disigner
Using the Bex query desingne we get the following message:
An unhandled exception occured in your application etc
Object reference not set to an instance of an object.
Details are:
System.NullReferenceException: Object reference not set to an instance of an object.
at com.sap.bi.et.QueryDesigner.QDcElement.Contains(QDbElement iValue)
at com.sap.bi.et.QueryDesigner.QDbElement.WhereUsedAdd(QDbElement iElement)
at com.sap.bi.et.QueryDesigner.QDbStructureMemberFormula.WhereUsedAdd(QDbElement iElement)
at com.sap.bi.et.QueryDesigner.QDbElement.FromUndoTable(RSZ_X_ELTXREF isWhereUsed, QDcElement iElements)
at com.sap.bi.et.QueryDesigner.QDbElement.FromTables(Hashtable iTables, QDcElement iElements)
at com.sap.bi.et.QueryDesigner.QDbElement.Undo(QDbUndoRedoBuffer cUndoBuffer, QDbUndoRedoBuffer& cRedoBuffer)
at com.sap.bi.et.QueryDesigner.QDbCommandEditElement.Undo()
at com.sap.bi.et.QueryDesigner.QDbCommandEditElement.EditFormula(IQDView iSelectedView)
at com.sap.bi.et.QueryDesigner.QDbCommandEditElement.ExecuteCommand()
at com.sap.bi.et.QueryDesigner.QDbCommandBase.Execute()
at com.sap.bi.et.QueryDesigner.QDbCommandManager.CommandExecute(QDbCommandBase iCommand)
at com.sap.bi.et.QueryDesigner.QDbCommandManager.InitialCommandExecute(QDbCommandBase iCommand)
at com.sap.bi.et.QueryDesigner.QDbCommandManager.DoExecuteCommandInternal()
at com.sap.bi.et.QueryDesigner.QDiButtonCommand.Execute()
at com.sap.bi.et.QueryDesigner.QDiButtonCommand.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at Syncfusion.Windows.Forms.ButtonAdv.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)Thanks for the suggestion Deepu. I looked at the available downloads and saw there was a SP13 available, so I downloaded that and will try this on Monday May 21st.
I will also check the .NET 1.1 framwork and hotfixes.
Maybe you are looking for
-
Printing problematic after upgrading to Yosemite
I have an iMac (21.5 inch late 2010) and after upgrading to Yosemite with latest version 10.10.1 my HP Laserjet 1320 does not want to print certain files like .pdf & or screen shots. I am able to print an e-mail from Mac mail but nothing else. I have
-
Can you get any videos that are under 1GB because I have got a 32GB iPad 2 and I was wanting a few more videos/movies. Also, why do they take up so much room because most games that's have got are under 500MB and they are HD. Would be great if someon
-
Classical report on programs list.
I've to create report to display abap/4 program names list. when i am giving full program name in parameter,it is generating the report but when i am giving initial few characters followed by *(star) and pressing f8 key, it is not working. please pro
-
Itunes error message whilst attempting to sync 5s with itunes
Hi, I have upgraded to a 5s from a 4s and the changeover went smoothly. I sync my phone everyday with outlook, via itunes, primarily to update the calendar. This has been fine with the 5s until Friday of last week when the following error message app
-
I've imported some midi tracks, used the mixer to set pan, volume etc, but when I stop playback and restart it sets every midi track back to '0'. I've been using LE for years, this is a new one, any ideas?