Unable to import using Native XML plugin after OJS upgrade

I just upgraded to OJS 3.0.2 and tried to upload the sample.xml it gives 500 error on console.
Failed to load resource: the server responded with a status of 500 (Internal Server Error)

and following was in the apache error log:
PHP Warning: assert(): Assertion failed in C:\xampp\htdocs\mbr\lib\pkp\classes\submission\SubmissionDAO.inc.php on line 135, referer: http://mbr.org/index.php/GJMBR/management/importexport/plugin/NativeImportExportPlugin
and -----
PHP Fatal error: Call to a member function getContextId() on null in C:\xampp\htdocs\mbr\lib\pkp\classes\submission\SubmissionDAO.inc.php on line 143, referer: http://mbr.org/index.php/GJMBR/management/importexport/plugin/NativeImportExportPlugin

Please help me.

I need to import articles via xml.

Hi @Akshar_Pandey,

I would suggest working with this XML file, if it’s not the one you’re using.

Alec Smecher
Public Knowledge Project Team

Hey @asmecher Thanks, I was not using this one, I’ll check this one.