public String getRelPath() {
return folderRelPath;
}
In this i am not able to understand what shuld be the value of folderRelPath.
Its giving Null pointer exception while create a new folder in following block
if
(item instanceof OlatRelPathImpl) {
// update meta data
MetaInfo meta =
meta.setAuthor(ureq.getIdentity());
meta.write();
}
fireEvent(ureq, Event.
DONE_EVENT);
Meta is returned as Null because in MetaInfoFactory.java originFile.exists() condition gets false and it returns canonicalMetaPath null
if(originFile == null || !originFile.exists()) {
canonicalMetaPath =null;
}
Please let me know how can i fix this classcast exception without impacting other functionality.
Please revert asap.
Thanks,
Mamta.
--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOLAT".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOLAT - infinite learning - http://www.openolat.org
---
You received this message because you are subscribed to the Google Groups "OpenOLAT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.