Not able to open lightning component from quick action otherwise working fine

i get the record id alert after that nothing works

 doInit : function(component, event, helper) {
    var action1 = component.get("c.getCurrentOpp");
    action1.setParams({ "oppId":component.get("v.recordId") });
    action1.setCallback(this, function(response) {
        var state1 = response.getState();
            if(state1 == "SUCCESS"){
            //component.find("stage").set("v.disabled", true);
            component.set("v.opportunity", response.getReturnValue());
        }else if(state1 == "ERROR"){
            alert('Error : ' + JSON.stringify(response.getError()));

    var opts = [
        { class: "optionClass", label: "--None--", value: "", selected: "true" },
        { class: "optionClass", label: "Non Payment", value: "Non Payment", selected: "true" },
        { class: "optionClass", label: "Graduate", value: "Graduate" },
        { class: "optionClass", label: "Can't Afford Program", value: "Can't Afford Program" }

    component.find("InputSelectDynamic").set("v.options", opts);

I get this error

Unfortunately, there was a problem. Please try again. If the problem
continues, get in touch with your administrator with the error ID
shown here and any other related details. Action failed:
forceChatter:lightningComponent$controller$doInit [Error while
creating content for lightning component quick action]
quickActionHandlerHelper.js failed to create component –


Source : Link , Question Author : Mohit Joshi , Answer Author : Community

Leave a Comment