[Building Sakai] BBB contrib tool EmailMessage InstantiationError

Matthew Jones jonespm at umich.edu
Fri Mar 18 20:09:08 PDT 2011


You're for sure going to want to modify this parent pom to be the same
version of Sakai as you're currently using. This is one of the gotchas of
building with Sakai.

Most likely it's pulling down the purepoms from 2.8-SNAPSHOT (since 2.6.3
has the snapshot repo as one of the repositories in the master and
2.8-SNAPSHOT purepoms is in the repository) which has some slight
difference:

http://source.sakaiproject.org/maven2-snapshots/org/sakaiproject/purepoms/purepoms/

And instead of using the 2.6.3 which you probably want:
http://source.sakaiproject.org/maven2/org/sakaiproject/purepoms/purepoms/

And it gets the weird runtime "java.lang.InstantiationError" which shouldn't
happen.

You *should* just be able to change the version to
"<version>2.6.3</version>", rebuild it with clean install and deploy it
again.

On Fri, Mar 18, 2011 at 4:58 PM, Stephen Jaegle <sjaegle at gmail.com> wrote:

>
> Hi Folks:
>
> Our BBB tool is not sending out email notifications of meeting creations;
> when the user clicks save, the following exception is generated:
>
> Exception in thread "Thread-80" java.lang.InstantiationError:
> org.sakaiproject.email.api.EmailMessage
>        at
>
> org.sakaiproject.bbb.impl.BBBMeetingManagerImpl$2.run(BBBMeetingManagerImpl.java:720)
>        at java.lang.Thread.run(Thread.java:595)
>
> We are running Sakai 2.6.x, and BBB 1.0.4, though the same error occurs
> with
> 1.0.5.
>
> The same error also occurs building with both Java 1.5 and 1.6. Also,
> grepping all of our source code reveals that BBB is the only tool that uses
> or imports org.sakaiproject.email.api.EmailMessage.
>
> I notice that the pom.xml in its original forum uses
>
>    <parent>
>        <groupId>org.sakaiproject.purepoms</groupId>
>        <artifactId>sakai-standard-tool</artifactId>
>        <version>2.8-SNAPSHOT</version>
>    </parent>
>
> Has anyone encountered this issue? Is there a modification to the pom
> required? The tool builds and runs otherwise.
>
> Thanks,
>
> Steve
> --
> View this message in context:
> http://old.nabble.com/BBB-contrib-tool-EmailMessage-InstantiationError-tp31184997p31184997.html
> Sent from the Sakai - Development mailing list archive at Nabble.com.
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110318/a0a60d8d/attachment.html 


More information about the sakai-dev mailing list