Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, May 18, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Issue building code snippets - System.NullReferenceException
Arjen
Posts: 1
 
Issue building code snippets - System.NullReferenceException Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 May 15 11:28 AM



Hi All,


We are in the process of a migration from 7.5.4. WEB to 8.1 update 05. There is a considerable amount of custom development which touches on many levels of customizations possible with Infor CRM.


Currently me and my colleagues are really banging our heads over an error when building the Snippet Libraries.


We get two warnings for which we did not yet find a reason why. Everything is set default. We have looked at the references and hintpaths untill we were cross-eyed and yet still went on.. We have not yet found the cause of these warnings and whether they are the cause for the error later.


It seems to me that the build is OK. And the compiler is done. And that the deploy to the


 


INFO  - Build started.
INFO  - Project "Sage.SnippetLibrary.csproj" (default targets):
WARN  - C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5):Found conflicts between different versions of the same dependent assembly.
WARN  - C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5):There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
INFO  - C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1591,1592,1573,1570,1572,1701,1702 /nostdlib+ /doc:C:\Users\administrator.XXXXXXXXX\AppData\Roaming\Sage\Platform\Output\Sage.SnippetLibrary.CSharp\bin\Sage.SnippetLibrary.CSharp.XML


<<snipped a lot of references>>


 


/reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /debug+ /out:obj\Debug\Sage.SnippetLibrary.CSharp.dll /target:library /utf8output "src\Sage.SnippetLibrary.CSharp.@.0115426e-8787-442b-b4f9-bc9cc2a18c0e.codesnippet.cs" "src\Sage.SnippetLibrary.CSharp.@.0122610b-91cb-49c7-8ec7-12fe03fed40c.codesnippet.cs" "src\Sage.SnippetLibrary.CSharp.@.03091632-89e8-4251-abd3-6fb1908b5850.codesnippet.cs" "src\Sage.SnippetLibrary.CSharp.@.03639bf4-2eb6-401e-


<<snipped a lot of snippets>>


 


"src\Sage.SnippetLibrary.CSharp.@.ff060e69-1dc2-44f9-942e-51db8ac9b2e0.codesnippet.cs" "C:\Users\administrator.XXXXXXXXX\AppData\Local\Temp\2\.NETFramework,Version=v4.0.AssemblyAttributes.cs"
INFO  - Microsoft (R) Visual C# Compiler version 4.0.30319.18408
INFO  -
INFO  - for Microsoft (R) .NET Framework 4.5
INFO  - Copyright (C) Microsoft Corporation. All rights reserved.
INFO  -
INFO  - Done building project "Sage.SnippetLibrary.csproj".
INFO  - Build succeeded.
INFO  - Successfully completed build of Sage.SnippetLibrary.CSharp code snippet library.
INFO  - Deploying snippet library file, '\deployment\webroot\common\bin\Sage.SnippetLibrary.CSharp.dll'
INFO  - Deploying snippet library file, '\deployment\webroot\common\bin\Sage.SnippetLibrary.CSharp.pdb'
ERROR -
System.NullReferenceException: Object reference not set to an instance of an object.
   at Sage.Platform.Orm.Entities.OrmPropertyMethod.get_ReturnType()
   at Sage.Platform.Orm.DynamicMethodLibraryHelper.GenerateConfiguration(IList`1 methods)
   at Sage.Platform.Orm.Entities.OrmModel.GenerateDynamicMethodConfiguration()
   at Sage.Platform.AdminModule.AdminModuleInit.GenerateRulesConfiguration()
   at Sage.Platform.AdminModule.AdminModuleInit.BuildWebObjectsImpl(OperationStatus op)


[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 5/18/2024 10:16:17 PM