2

Anyone else seeing this? I am deploying to a seasoned org, with 87% coverage and all the errors relate to existing items.

When deploying even just a single item. Essentially every test fails with the same error, which all points to a single class. The class reportedly causing the error is already deployed and not in the new deployment.

enter image description here

The error for all tests is:

line -1, column -1: Previous load of class failed: pkb_Controller: line 12, column 16: Entity is not org-accessible Stack Trace: null

And the code snippit from that class is: enter image description here

And I found these in the Apex test results from an attempt to recompile: enter image description here

10
  • I have an org using the PKB product and found that I had to Disable Parallel Apex Testing - not sure if that is your answer but might be worth checking. Also does the running user does have the ability to create Knowledge Articles?
    – Girbot
    Nov 11, 2014 at 22:41
  • Also make sure that you license has not expired (or that it IS provisioned) for the org / user for that package
    – Eric
    Nov 11, 2014 at 22:45
  • Thanks both for inputs, I have no exposure to PKB, but I did deploy successfully to this org 5 days ago, now it fails. I have added some test/compile results, it seems to point to a missing object KnowledgeArticleVersion. Is this possible?
    – dacology
    Nov 11, 2014 at 23:04
  • Typically this error occurs when the user running the test does not have access to the package (License) or the package has expired. Is PKB a managed package or unmanaged?
    – Eric
    Nov 11, 2014 at 23:15
  • Thanks Eric, I dont actually see it as an installed package at all, but all code is visible so assume unmanaged (and then uninstalled or never installed from package?) Still I am confused about the missing KnowledgeArticleVersion standard object
    – dacology
    Nov 11, 2014 at 23:28

1 Answer 1

1

Please make sure that you license has not expired (or that it IS provisioned) for the org / user for that package / knowledge base

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .