function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
drs-medrs-me 

Help for ISE 2142730542-132340 (-405944075)

Hi guys,
I am facing a problem with a lightning component.
Every time I call a specific method on an Apex controller, I get this ISE 2142730542-132340 (-405944075)
I have even remove everything from the function:
public static Boolean generateNodes(String recordId)
   {
       System.debug('yoooohoo');
       return true;
   }

But it still doesn't work 
Best Answer chosen by drs-me
drs-medrs-me
I got the solution with help of Salesforce support team.
The problem was, that my package has a dependency to another package, and in the dev org, the version of the dependent package was older then the one I had in the subscriber Org.
So the solution was to upgrade the dependent package on my dev org.

All Answers

drs-medrs-me
One thing I forgot to mention:
This component is part of a managed package.
In the Org where I have the source code it works but it doesn't work on the subscriber org.
drs-medrs-me
I got the solution with help of Salesforce support team.
The problem was, that my package has a dependency to another package, and in the dev org, the version of the dependent package was older then the one I had in the subscriber Org.
So the solution was to upgrade the dependent package on my dev org.
This was selected as the best answer