You need to sign in to do that
Don't have an account?
Edmondo Porcu
Connect components with events NullPointerException
I have really hard time in understanding what I am doing wrong in the assignment. When I try to open my lightning app, I get the following exception:
How are you supposed to debug it?
An internal server error has occurred
Error ID: 1216810559-467770 (-1175146990)
org.auraframework.throwable.quickfix.InvalidDefinitionException: Invalid definition for null:Camping_List_Item__c: null
at .(apex://Camping_List_Item__c)
at .(apex://Camping_List_Item__c)
at aura.impl.apex.utils.AuraApexUtils.getUiTierCompatibleApexType(AuraApexUtils.java:148)
at aura.impl.apex.BaseApexDefFactory.getDef(BaseApexDefFactory.java:28)
at aura.impl.apex.type.ApexTypeDefFactory.getDef(ApexTypeDefFactory.java:100)
at aura.impl.apex.type.ApexTypeDefFactory.getDef(ApexTypeDefFactory.java:1)
at org.auraframework.impl.system.NonCachingDefRegistryImpl.getDef(NonCachingDefRegistryImpl.java:63)
at org.auraframework.impl.DefinitionServiceImpl.fillCompilingDef(DefinitionServiceImpl.java:1433)
at org.auraframework.impl.DefinitionServiceImpl.getHelper(DefinitionServiceImpl.java:14
How are you supposed to debug it?
An internal server error has occurred
Error ID: 1216810559-467770 (-1175146990)
org.auraframework.throwable.quickfix.InvalidDefinitionException: Invalid definition for null:Camping_List_Item__c: null
at .(apex://Camping_List_Item__c)
at .(apex://Camping_List_Item__c)
at aura.impl.apex.utils.AuraApexUtils.getUiTierCompatibleApexType(AuraApexUtils.java:148)
at aura.impl.apex.BaseApexDefFactory.getDef(BaseApexDefFactory.java:28)
at aura.impl.apex.type.ApexTypeDefFactory.getDef(ApexTypeDefFactory.java:100)
at aura.impl.apex.type.ApexTypeDefFactory.getDef(ApexTypeDefFactory.java:1)
at org.auraframework.impl.system.NonCachingDefRegistryImpl.getDef(NonCachingDefRegistryImpl.java:63)
at org.auraframework.impl.DefinitionServiceImpl.fillCompilingDef(DefinitionServiceImpl.java:1433)
at org.auraframework.impl.DefinitionServiceImpl.getHelper(DefinitionServiceImpl.java:14
This is my code which I passed the challenge! I hope it helps you.
campingList Component: campingList Controller.js: CampingListController: CampingListForm Component: CampingListForm Controller.js: CampingListForm Helper.js: Hope this will help you surpass the challenge.
Please mark this as solved if it's resolved.
Thanks,
Nagendra