Closed SvenHaedrich closed 5 years ago
Hey, @SvenHaedrich! I'm currently investigating this issue. There is a pull request in the works that should resolve this problem. The problem in short: Tycho mixes up java versions, that's why the integration test phase fails. If you could test it with openjdk8, that build is definitely working. Btw congrats for the first issue.
Thank You for your fast and competent reaction. On my machine:
java -version openjdk version "11.0.3" 2019-04-16 OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu218.04.1) OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu218.04.1, mixed mode, sharing)
runs OpenJDK 11. But you already new that. Anyways, I am hesitant to downgrade to OpenJDK 8. What is the expected (and maybe overly optimistic) timeframe for the pull request you mention?
Hey @SvenHaedrich! If you take a look on #167 it's building well on Travis across a variety of different jdk versions, 11 included. You can try that and see if it's compiles. The actual merging will be some time later because a the patch that it depends still has some problems with Travis on openjdk9, but that problem is unrelated to this. Thanks for bringing our attention to this issue!
Ok, i checked out the #167 branch and ran the maven script. The final summary reported now SUCCESS for every step. Anyhow, on eclipse start-up I receive a bunch of failed assertions from g_base64_encode_step (in != NULL), another bunch of "Negative content width" messages. In the eclipse-UI a message box pops-up "An internal error occurred during: "CodeChecker Startup Job". java.lang.NullPointerException". BTW, I am using STM32Cube's eclipse.
Well, can you please provide a stack trace for that npe, and a link to the used eclipse?
The later is easy. See here https://www.st.com/en/development-tools/stm32cubeide.html?ecmp=tt11319_gl_link_may2019 . I am not so sure how to get a stack trace. Sorry. Thank you for your attention.
------ Originalnachricht ------ Von: "Vodorok" notifications@github.com An: "Ericsson/CodeCheckerEclipsePlugin" CodeCheckerEclipsePlugin@noreply.github.com Cc: "Sven Hädrich" svh@sevenlab.de; "Mention" mention@noreply.github.com Gesendet: 04.07.2019 14:39:34 Betreff: Re: [Ericsson/CodeCheckerEclipsePlugin] Installation fails (#164)
Well, can you please provide a stack trace for that npe, and a link to the used eclipse?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ericsson/CodeCheckerEclipsePlugin/issues/164?email_source=notifications&email_token=AMKYFTP4VYKXUQVSOHI22RTP5XVQLA5CNFSM4H427FIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZHJYBA#issuecomment-508468228, or mute the thread https://github.com/notifications/unsubscribe-auth/AMKYFTPUEJRFU6VXHOZAAC3P5XVQLANCNFSM4H427FIA.
Here is what I see on the console when I start the STM-eclipse:
/opt/st/stm32cubeide_1.0.1/stm32cubeide (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.277: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.277: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.277: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.277: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.321: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.321: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.323: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.323: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.323: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.323: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.363: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.363: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.391: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.391: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.395: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.395: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.396: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.396: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.436: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.436: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.437: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.437: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.438: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.438: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.466: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): GLib-CRITICAL **: 17:04:07.466: g_base64_encode_step: assertion 'in != NULL' failed (STM32CubeIDE:4930): Gtk-WARNING **: 17:04:15.016: Negative content width -4 (allocation 2, extents 3x3) while allocating gadget (node progressbar, owner GtkProgressBar) (STM32CubeIDE:4930): Gtk-WARNING **: 17:04:15.016: Negative content width -2 (allocation 0, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar) (STM32CubeIDE:4930): Gtk-WARNING **: 17:04:15.016: Negative content width -4 (allocation 2, extents 3x3) while allocating gadget (node progressbar, owner GtkProgressBar) (STM32CubeIDE:4930): Gtk-WARNING **: 17:04:15.016: Negative content width -2 (allocation 0, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar) (STM32CubeIDE:4930): Gtk-WARNING **: 17:04:15.017: Negative content width -4 (allocation 2, extents 3x3) while allocating gadget (node progressbar, owner GtkProgressBar) (STM32CubeIDE:4930): Gtk-WARNING **: 17:04:15.017: Negative content width -2 (allocation 0, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar) (STM32CubeIDE:4930): Gtk-WARNING **: 17:04:15.017: Negative content width -4 (allocation 2, extents 3x3) while allocating gadget (node progressbar, owner GtkProgressBar) (STM32CubeIDE:4930): Gtk-WARNING **: 17:04:15.017: Negative content width -2 (allocation 0, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar) org.osgi.service.prefs.BackingStoreException: Exception occurred while saving project preferences: /Gateway/.settings/org.codechecker.eclipse.plugin.CodeCheckerNature.prefs. at org.eclipse.core.internal.resources.ProjectPreferences.save(ProjectPreferences.java:679) at org.eclipse.core.internal.preferences.EclipsePreferences.internalFlush(EclipsePreferences.java:431) at org.eclipse.core.internal.resources.ProjectPreferences.flush(ProjectPreferences.java:371) at org.codechecker.eclipse.plugin.config.CcConfiguration.validate(CcConfiguration.java:77) at org.codechecker.eclipse.plugin.config.CcConfiguration.load(CcConfiguration.java:43) at org.codechecker.eclipse.plugin.config.CcConfiguration.<init>(CcConfiguration.java:35) at org.codechecker.eclipse.plugin.config.project.CodeCheckerProject.<init>(CodeCheckerProject.java:68) at org.codechecker.eclipse.plugin.init.StartupJob.projectOpened(StartupJob.java:124) at org.codechecker.eclipse.plugin.init.StartupJob.runInUIThread(StartupJob.java:93) at org.codechecker.eclipse.plugin.init.StartupJob.run(StartupJob.java:63) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
My installation failed with the following message:
The link to apache.org gave no useful information. The log-file is attached. LogFile.txt Any help is welcome.