I was having one Managed-Release Package uploaded and installed it in Demo Org, While Testing I Found that still there is a bug which I missed while testing with "Managed-Beta" uploaded package.
Now I have done few Changes with Managed-Release package which was previously uploaded once, Now I am trying to upload it again its giving me some sort of error message "An internal server error has occurred" with ERROR ID.
Do It will work – What I am trying ? and Do all changes will reflect in the same like Managed-Beta do ?
Best Answer
This error pops up when one of your Apex classes has somehow become 'invalid' and no longer compiles. It might be certain references that are no longer valid, or a test class that was not updated with the updated Apex class.
Anyhow, to fix it, go to
Setup -> Develop -> Apex classes
and clickcompile all
. If you're lucky, it will give some comprehensible information about what's going on. If it doesn't work as you want, open up all your Apex Classes, and save them again one by one. You'll hit an error somewhere. Fix those, and the upload should go smoothly afterwards.To speed up this process, you could check the "isvalid" flag on the metadata of your apex classes to find out which class is not valid.