anonymous Log in
Search
Recents:
v3.0
gxpatterns-l
Migração Pattern EV2 para Genexus 15
06/04/18 13:02

Evandro Silva

Replies: 0

Bom dia!
Estou tentando migrar um pattern da Ev2 para Genexus 15.
Instalei o Genexus 15 e o SDK do pattern
quando executo o PatternCodeGen ocorre o seguinte erro:
D:\Patterns\Pattern15>"D:\Patterns\SDK\GeneXus\GeneXus15PlatformSDK\Patterns\CodeGen\PatternCodeGen.exe"
"D:\Patterns\Pattern15\WZCoderp\Definitions\WZCoderp.Pattern"
"D:\Patterns\Pattern15\WZCoderp\Source\Instance.cs"
"D:\Patterns\Pattern15\WZCoderp\Source\Settings.cs"
D:\Patterns\Pattern15\WZCoderp\Source\Objects.cs" /force > BuildCSResult.txt
Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionHandlingException:
Referência de objeto não definida para uma instância de um objeto. --->
System.NullReferenceException: Referência de objeto não definida para
uma instância de um objeto.
   em
Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionHandlingConfigurationView.GetExceptionPolicyData(String
policyName)
   em
Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyCustomFactory.CreateObject(IBuilderContext
context, String name, IConfigurationSource configurationSource,
ConfigurationReflectionCache reflectionCache)
   em
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.ConfiguredObjectStrategy.BuildUp(IBuilderContext
context, Type t, Object existing, String id)
   em
Microsoft.Practices.ObjectBuilder.SingletonStrategy.BuildUp(IBuilderContext
context, Type typeToBuild, Object existing, String idToBuild)
   em
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.ConfigurationNameMappingStrategy.BuildUp(IBuilderContext
context, Type t, Object existing, String id)
   em
Microsoft.Practices.ObjectBuilder.BuilderBase`1.DoBuildUp(IReadWriteLocator
locator, Type typeToBuild, String idToBuild, Object existing,
PolicyList[] transientPolicies)
   em
Microsoft.Practices.ObjectBuilder.BuilderBase`1.BuildUp(IReadWriteLocator
locator, Type typeToBuild, String idToBuild, Object existing,
PolicyList[] transientPolicies)
   em
Microsoft.Practices.ObjectBuilder.BuilderBase`1.BuildUp[TTypeToBuild](IReadWriteLocator
locator, String idToBuild, Object existing, PolicyList[] transientPolicies)
   em
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.EnterpriseLibraryFactory.BuildUp[T](IReadWriteLocator
locator, String id, IConfigurationSource configurationSource)
   em
Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicy.GetExceptionPolicy(Exception
exception, String policyName)
   --- Fim do rastreamento de pilha de exceções internas ---
   em
Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicy.GetExceptionPolicy(Exception
exception, String policyName)
   em
Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicy.HandleException(Exception
exceptionToHandle, StringpolicyName)
   em Artech.Common.Exceptions.ExceptionManager.LogException(String
message, Exception ex, MessageLevel severity)
   em Artech.Common.Exceptions.ExceptionManager.LogException(String
message, Exception ex)
   em
Artech.Layers.Framework.GeneralPackageManager.InitializePackage(IGxPackage
package, IGxServiceProvider services)
   em
Artech.Layers.Framework.GeneralPackageManager.InitializePackages(IGxServiceProvider
services)
   em Artech.Core.Connector.StartPackages(String installedPackages,
Boolean setup, Boolean usePackagesCache, Boolean install, IMenuBuilder
builder, ILayerLoader loader, IList`1 packagesLoadedOut)
   em Artech.Core.Connector.StartBL(String installationDirectory,
String packagesDirectory, Boolean usePackagesCache, IPackageChooser
packageChooser, KBFactoryStorage storage)
   em Artech.Core.Connector.StartBL(String installationDirectory,
String packagesDirectory, Boolean usePackagesCache, IPackageChooser
packageChooser)
   em Artech.Core.Connector.MOvO9s4nk(String  , String  , Boolean  )
   em Artech.Core.Connector.CustomStartBL(String baseDirectory, String
packagesDirectory, Boolean usePackagesCache)
   em J8H6DTr1kmqvI9GIQb.KHvSDwY0ycZd1QS9a3.y0yMcZd1Q() na
f:\Build\15U9\Packages\Patterns\Tools\PatternCodeGen\Public\Program_Public.cs:linha
53
   em J8H6DTr1kmqvI9GIQb.KHvSDwY0ycZd1QS9a3.tjHL2OeIw(String[]  ) na
f:\Build\15U9\Packages\Patterns\Tools\PatternCodeGen\Program.cs:linha 55
Já chequei as variáveis de ambiente e estão corretas.
Alguma sugestão ?
Obrigado.
Att.
*Evandro Silva*
*Programador Genexus*
+

ejsilva@coderp.com.br <mailto:seu-email@coderp.com.br>
(
(016) 3977-8326


Back to gxpatterns-l