Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Jatos 3.7.4: Listing of all studies gives Internal Jatos error

Hi,

When i try to list all studies, i get an Internal JATOS error:

2022-05-04 15:04:15,853 [INFO] - gui_access - GET /jatos/sidebarStudyList

2022-05-04 15:04:15,874 [INFO] - gui_access - GET /jatos/allStudiesData?_=1651669456473

2022-05-04 15:05:18,798 [ERROR] - g.ErrorHandler - Internal JATOS error

java.lang.NullPointerException: null

    at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)

    at java.base/java.util.Iterator.forEachRemaining(Unknown Source)

    at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)

    at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)

    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)

    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)

    at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)

    at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source)

    at daos.common.ComponentResultDao.sizeByStudy(ComponentResultDao.java:111)

    at services.gui.AdminService.getStudiesData(AdminService.java:70)

    at controllers.gui.Admin.allStudiesData(Admin.java:173)

What could be the problem?

Thanks.

Comments

  • Hi,

    I tried on my local JATOS and an server installation and in both cases this error did not happen with me.

    Can you please give me more details about your JATOS installation so I know better what to look for:

    • Java version?
    • If you recently upgraded: from which version?
    • Which database: H2 or MySQL? And if MySQL: which version?
    • Since when does this error happen? Did it ever work at one point?

    Best,

    Kristian

  • Hi Kristian,

    java version "1.8.0_312"

    recent new installation (Ubuntu 22.04 LTS), but it happened also with previous installation.

    MySQL 8.0.28

    It never worked, at least that i know off.


    Thanks.

  • Your system seems fine.

    I checked the exception you send me earlier. This particular stacktrace happens when one component of the study is 'null. That is actually something that should not happen. I will add a null check in the responsible class (ComponentResultDao). But I'm still confused: are there no other problems in your JATOS? I mean, there should be other exceptions when this particular study with the null-component is used. But maybe nobody is using it. Unfortunately I can't see from the log which study (or studies) it is. Another thing is how the null got there in the first place. I did some test and whatever I tried I never got a null for an component. Strange!

    Anyway, I added this null-check and it will be part of the next release.

    In between, to get the Administration/Studies page working, you can turn off the result data size calculation for this page in the production.conf with:

    jatos.studyAdmin.showResultDataSize = false 
    

    Best,

    Kristian

  • Hi Kristian,

    Thanks for your answer. Info about the java version was wrong, it uses the "builtin" version.

    Your solution works! I will try to figure out what is wrong in the database.

    Thanks again.


    Best,

    René.

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games