点击此处---> 群内免费提供SAP练习系统(在群公告中)
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
嗨,我在我们的质量检查环境中 ant updatesystem 时看到以下内容。 在其他任何环境下都看不到。
在此处输入代码[java]错误[main] [Initialization]输入中的空键:null=de.hybris.bootstrap.ddl.dbtypesystem.impl.DbEnumerationValue@d557adc
[java] java.lang.NullPointerException:条目中的null键:null=de.hybris.bootstrap.ddl.dbtypesystem.impl.DbEnumerationValue@d557adc
[java] com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:32)〜[guava-21.0.jar :?]
[java] com.google.common.collect.ImmutableMapEntry。(ImmutableMapEntry.java:49)〜[guava-21.0.jar :?]
[java] com.google.common.collect.ImmutableMap.entryOf(ImmutableMap.java:172)〜[guava-21.0.jar :?]
[java] com.google.common.collect.ImmutableMap $ Builder.put(ImmutableMap.java:248)〜[guava-21.0.jar :?]
[java] com.google.common.collect.Maps.uniqueIndex(Maps.java:1379)〜[guava-21.0.jar :?]
[java] com.google.common.collect.Maps.uniqueIndex(Maps.java:1341)〜[guava-21.0.jar :?]
[java]位于de.hybris.bootstrap.ddl.dbtypesystem.impl.DbType.setEnumerationValues(DbType.java:139)〜[ybootstrap.jar :?]
[java]位于de.hybris.bootstrap.ddl.dbtypesystem.impl.DbTypeSystemImpl.linkDbTypeSystemEntities(DbTypeSystemImpl.java:235)〜[ybootstrap.jar :?]
[java]位于de.hybris.bootstrap.ddl.dbtypesystem.impl.DbTypeSystemImpl.initialize(DbTypeSystemImpl.java:158)〜[ybootstrap.jar :?]
[java]位于de.hybris.bootstrap.ddl.dbtypesystem.impl.DbTypeSystemFactory.createDbTypeSystem(DbTypeSystemFactory.java:33)〜[ybootstrap.jar :?]
[java]位于de.hybris.bootstrap.ddl.HybrisSchemaGenerator.createDbTypeSystem(HybrisSchemaGenerator.java:303)〜[ybootstrap.jar :?]
[java] de.hybris.bootstrap.ddl.HybrisSchemaGenerator.update(HybrisSchemaGenerator.java:210)〜[ybootstrap.jar :?]
[java] de.hybris.platform.core.Initialization.initializeSchemaAndTypeSystemFullyNewStyle(Initialization.java:1202)〜[coreserver.jar :?]
[java]位于de.hybris.platform.core.Initialization.initialize(Initialization.java:1078)[coreserver.jar :?]
[java]位于de.hybris.platform.core.Initialization.createEmptySystemOrUpdate(Initialization.java:753)[coreserver.jar :?]
[java]位于de.hybris.platform.core.Initialization.access $ 4(Initialization.java:733)[coreserver.jar :?]
[java] de.hybris.platform.core.Initialization $ 4.call(Initialization.java:540)[coreserver.jar :?]
[java] de.hybris.platform.core.Initialization $ 4.call(Initialization.java:1)[coreserver.jar :?]
[java] de.hybris.platform.core.Initialization $ SessionRecoveryAfterRegistryStartupAwareExecutor.execute(Initialization.java:675)[coreserver.jar :?]
[java]位于de.hybris.platform.core.Initialization.doInitializeImpl(Initialization.java:543)[coreserver.jar :?]
[java] de.hybris.platform.core.Initialization.access $ 5(Initialization.java:465)[coreserver.jar :?]
[java] de.hybris.platform.core.Initialization $ 5.call(Initialization.java:786)[coreserver.jar :?]
[java] de.hybris.platform.core.Initialization $ 5.call(Initialization.java:1)[coreserver.jar :?]
[java]位于de.hybris.platform.core.system.InitializationLockHandler.performLocked(InitializationLockHandler.java:80)[coreserver.jar :?]
[java]位于de.hybris.platform.core.Initialization.doInitialize(Initialization.java:818)[coreserver.jar :?]
[java] de.hybris.ant.taskdefs.InitPlatformAntPerformableImpl.performImpl(InitPlatformAntPerformableImpl.java:106)[coreserver.jar :?]
[java]位于de.hybris.ant.taskdefs.AbstractAntPerformable.doPerform(AbstractAntPerformable.java:92)[coreserver.jar :?]
[java]位于sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)〜[?:1.8.0_162]
[java]位于sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)〜[?:1.8.0_162]
[java]位于sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)〜[?:1.8.0_162]
[java] at java.lang.reflect.Method.invoke(Method.java:498)〜[?:1.8.0_162]
[bsh.Reflect.invokeMethod(Reflect.java:134)上的[java] [bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java]位于bsh.Reflect.invokeObjectMethod(Reflect.java:80)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java] at bsh.Name.invokeMethod(Name.java:858)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java] at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java] at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java] at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java]位于bsh.Interpreter.eval(Interpreter.java:645)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java] at bsh.Interpreter.eval(Interpreter.java:739)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java] at bsh.Interpreter.eval(Interpreter.java:728)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java]位于de.hybris.platform.util.ClientExecuter.execute(ClientExecuter.java:49)[coreserver.jar :?]
[java]位于sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)〜[?:1.8.0_162]
[java]位于sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)〜[?:1.8.0_162]
[java]位于sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)〜[?:1.8.0_162]
[java] at java.lang.reflect.Method.invoke(Method.java:498)〜[?:1.8.0_162]
[java]位于de.hybris.bootstrap.loader.Loader.execute(Loader.java:142)[ybootstrap.jar :?]
[java]位于de.hybris.bootstrap.loader.Loader.main(Loader.java:118)[ybootstrap.jar :?]
[java]线程"主"中的异常java.lang.reflect.InvocationTargetException
[java]位于sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)
[java]位于sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java]位于sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:498)
[java]位于de.hybris.bootstrap.loader.Loader.execute(Loader.java:142)
[java]位于de.hybris.bootstrap.loader.Loader.main(Loader.java:118)
[java]原因:源文件:内联评估:``de.hybris.ant.taskdefs.AntPerformable p = new de.hybris.ant.taskdefs.UpdatePlatf。 。 。 '':方法调用p.doPerform:第2行:在文件中:在线评估:``de.hybris.ant.taskdefs.AntPerformable p =新的de.hybris.ant.taskdefs.UpdatePlatf。 。 。 '':p .doPerform()
[java]
[java]目标异常:java.lang.NullPointerException:输入项中的空键:null=de.hybris.bootstrap.ddl.dbtypesystem.impl.DbEnumerationValue@d557adc
[java]
[java]位于bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:97)
[java]位于bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
[java]位于bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
[java]位于bsh.Interpreter.eval(Interpreter.java:645)
[java]位于bsh.Interpreter.eval(Interpreter.java:739)
[java]位于bsh.Interpreter.eval(Interpreter.java:728)
[java]位于de.hybris.platform.util.ClientExecuter.execute(ClientExecuter.java:49)
[java] ...还有6个
[java]错误[主要] [AbstractAntPerformable] perfort任务发生错误
[java] java.lang.NullPointerException:条目中的null键:null=de.hybris.bootstrap.ddl.dbtypesystem.impl.DbEnumerationValue@d557adc
[java] com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:32)〜[guava-21.0.jar :?]
[java] com.google.common.collect.ImmutableMapEntry。(ImmutableMapEntry.java:49)〜[guava-21.0.jar :?]
[java] com.google.common.collect.ImmutableMap.entryOf(ImmutableMap.java:172)〜[guava-21.0.jar :?]
[java] com.google.common.collect.ImmutableMap $ Builder.put(ImmutableMap.java:248)〜[guava-21.0.jar :?]
[java] com.google.common.collect.Maps.uniqueIndex(Maps.java:1379)〜[guava-21.0.jar :?]
[java] com.google.common.collect.Maps.uniqueIndex(Maps.java:1341)〜[guava-21.0.jar :?]
[java]位于de.hybris.bootstrap.ddl.dbtypesystem.impl.DbType.setEnumerationValues(DbType.java:139)〜[ybootstrap.jar :?]
[java]位于de.hybris.bootstrap.ddl.dbtypesystem.impl.DbTypeSystemImpl.linkDbTypeSystemEntities(DbTypeSystemImpl.java:235)〜[ybootstrap.jar :?]
[java]位于de.hybris.bootstrap.ddl.dbtypesystem.impl.DbTypeSystemImpl.initialize(DbTypeSystemImpl.java:158)〜[ybootstrap.jar :?]
[java]位于de.hybris.bootstrap.ddl.dbtypesystem.impl.DbTypeSystemFactory.createDbTypeSystem(DbTypeSystemFactory.java:33)〜[ybootstrap.jar :?]
[java]位于de.hybris.bootstrap.ddl.HybrisSchemaGenerator.createDbTypeSystem(HybrisSchemaGenerator.java:303)〜[ybootstrap.jar :?]
[java] de.hybris.bootstrap.ddl.HybrisSchemaGenerator.update(HybrisSchemaGenerator.java:210)〜[ybootstrap.jar :?]
[java] de.hybris.platform.core.Initialization.initializeSchemaAndTypeSystemFullyNewStyle(Initialization.java:1202)〜[coreserver.jar :?]
[java]位于de.hybris.platform.core.Initialization.initialize(Initialization.java:1078)〜[coreserver.jar :?]
[java]位于de.hybris.platform.core.Initialization.createEmptySystemOrUpdate(Initialization.java:753)〜[coreserver.jar :?]
[java] de.hybris.platform.core.Initialization.access $ 4(Initialization.java:733)〜[coreserver.jar :?]
[java] de.hybris.platform.core.Initialization $ 4.call(Initialization.java:540)〜[coreserver.jar :?]
[java] de.hybris.platform.core.Initialization $ 4.call(Initialization.java:1)〜[coreserver.jar :?]
[java] de.hybris.platform.core.Initialization $ SessionRecoveryAfterRegistryStartupAwareExecutor.execute(Initialization.java:675)〜[coreserver.jar :?]
[java]位于de.hybris.platform.core.Initialization.doInitializeImpl(Initialization.java:543)〜[coreserver.jar :?]
[java] de.hybris.platform.core.Initialization.access $ 5(Initialization.java:465)〜[coreserver.jar :?]
[java] de.hybris.platform.core.Initialization $ 5.call(Initialization.java:786)〜[coreserver.jar :?]
[java] de.hybris.platform.core.Initialization $ 5.call(Initialization.java:1)〜[coreserver.jar :?]
[java]位于de.hybris.platform.core.system.InitializationLockHandler.performLocked(InitializationLockHandler.java:80)〜[coreserver.jar :?]
[java]位于de.hybris.platform.core.Initialization.doInitialize(Initialization.java:818)〜[coreserver.jar :?]
[java] de.hybris.ant.taskdefs.InitPlatformAntPerformableImpl.performImpl(InitPlatformAntPerformableImpl.java:106)〜[coreserver.jar :?]
[java]位于de.hybris.ant.taskdefs.AbstractAntPerformable.doPerform(AbstractAntPerformable.java:92)[coreserver.jar :?]
[java]位于sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)〜[?:1.8.0_162]
[java]位于sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)〜[?:1.8.0_162]
[java]位于sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)〜[?:1.8.0_162]
[java] at java.lang.reflect.Method.invoke(Method.java:498)〜[?:1.8.0_162]
[bsh.Reflect.invokeMethod(Reflect.java:134)上的[java] [bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java]位于bsh.Reflect.invokeObjectMethod(Reflect.java:80)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java] at bsh.Name.invokeMethod(Name.java:858)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java] at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java] at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java] at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java]位于bsh.Interpreter.eval(Interpreter.java:645)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java] at bsh.Interpreter.eval(Interpreter.java:739)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java] at bsh.Interpreter.eval(Interpreter.java:728)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41]
[java]位于de.hybris.platform.util.ClientExecuter.execute(ClientExecuter.java:49)[coreserver.jar :?]
[java]位于sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)〜[?:1.8.0_162]
[java]位于sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)〜[?:1.8.0_162]
[java]位于sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)〜[?:1.8.0_162]
[java] at java.lang.reflect.Method.invoke(Method.java:498)〜[?:1.8.0_162]
[java]位于de.hybris.bootstrap.loader.Loader.execute(Loader.java:142)[ybootstrap.jar :?]
[java]位于de.hybris.bootstrap.loader.Loader.main(Loader.java:118)[ybootstrap.jar :?]
由于某种原因,我们在数据库中为ENUMERATIONVALUES表添加了一行。
我们要做的就是删除该行,然后一切又恢复了。
一周热门 更多>