Error creating bean with name 'elixirBeaconController'

21 views
Skip to first unread message

matteo...@unimi.it

unread,
May 23, 2018, 6:56:49 AM5/23/18
to GA4GH Beacon Network
Dear All,

I'm currently trying to install the current elixir, java-based, implementation of a beacon on a centos 6 server. I'm following the instructions as provided in github at https://github.com/ga4gh-beacon/beacon-elixir . I've checked and all the dependencies are in place (Java8, maven, apache and so on), plus I have created a database (mysql non postgres, but that should not matter). I can go through all the process smoothly and in the end I manage to compile the "final" jar elixir-beacon-0.3.jar ... Anyway when I try to run it I get a stack of errors like the one below:

Field error in object 'querySamples' on field 'position2': rejected value [null]; codes [NotNull.querySamples.position2,NotNull.position2,NotNull.java.lang.Integer,NotNull]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [querySamples.position2,position2]; arguments []; default message [position2]]; default message [may not be null] (see attached file for the complete error log)

While it seems intuitive that the thing is complaining about uninitialized stuff, java is not exactly my thing and maven is like ancient greek for me, so did any of you experience this error before? Am I doing something wrong?

As I said I check and I am pretty sure that I should have all the required dependencies.

Any help would be kindly appreciated.

Regards

Matteo




error

Miro Cupak

unread,
May 23, 2018, 1:35:31 PM5/23/18
to matteo...@unimi.it, GA4GH Beacon Network, Sabela de la Torre Pernas
Hi Matteo,

I’m adding Sabela, who is developing this implementation.

Cheers,
Miro
> --
> You received this message because you are subscribed to the Google Groups "GA4GH Beacon Network" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ga4gh-beacon-net...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/ga4gh-beacon-network/3477ee88-a5d5-46c3-b9ad-17ddbbd9e0fc%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
> <error>

matteo...@unimi.it

unread,
May 29, 2018, 7:51:43 AM5/29/18
to GA4GH Beacon Network
Hi Miro,

Sabela helped me to solve my problems. Now I have a beacon that works just fine.
Many thanks for your help.

Matteo


Il giorno mercoledì 23 maggio 2018 19:35:31 UTC+2, Miro Cupak ha scritto:
Hi Matteo,

I’m adding Sabela, who is developing this implementation.

Cheers,
Miro

> On May 23, 2018, at 6:56 AM, matteo...@unimi.it wrote:
>
> Dear All,
>
> I'm currently trying to install the current elixir, java-based, implementation of a beacon on a centos 6 server. I'm following the instructions as provided in github at https://github.com/ga4gh-beacon/beacon-elixir . I've checked and all the dependencies are in place (Java8, maven, apache and so on), plus I have created a database (mysql non postgres, but that should not matter). I can go through all the process smoothly and in the end I manage to compile the "final" jar elixir-beacon-0.3.jar ... Anyway when I try to run it I get a stack of errors like the one below:
>
> Field error in object 'querySamples' on field 'position2': rejected value [null]; codes [NotNull.querySamples.position2,NotNull.position2,NotNull.java.lang.Integer,NotNull]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [querySamples.position2,position2]; arguments []; default message [position2]]; default message [may not be null] (see attached file for the complete error log)
>
> While it seems intuitive that the thing is complaining about uninitialized stuff, java is not exactly my thing and maven is like ancient greek for me, so did any of you experience this error before? Am I doing something wrong?
>
> As I said I check and I am pretty sure that I should have all the required dependencies.
>
> Any help would be kindly appreciated.
>
> Regards
>
> Matteo
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "GA4GH Beacon Network" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ga4gh-beacon-network+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages