AnsweredAssumed Answered

Content creation issue after converted from 3.1 to 3.3

Question asked by karimila.maganti on Jul 25, 2010
Latest reply on Jul 27, 2010 by karimila.maganti
I am getting following error, after converted Alfresco from 3.1 to 3.3.

Please correct the errors below then click Finish.

·                                06230000 Failed to set content property on stream closure: node: avm://company–admin–preview/-1;www;avm_webapps;ROOT;PCBridge;Resource Center;Publication;WeeklyArticle;TestingWeeklyArticle_July232010.xml property: {}content writer: ContentAccessor[ contentUrl=store://2010/7/23/15/7/0e272220-4127-4a8c-8f9f-740f2a5f916e.bin, mimetype=text/xml, size=1086, encoding=UTF-8, locale=en_US] java.lang.NullPointerException

I implemented the CreateWebContentWizard and created the customized content model. I have verified the code, below is the code where i am getting error.
getAvmService().createFile(path, fileName, new ByteArrayInputStream((content == null ? "" : content).getBytes("UTF-8")));

in the above code, getAvmService() is getting error.

Any information helps.