Cevelop / Issues

The official issue tracker for Cevelop.
9 stars 1 forks source link

Error trying to run Linticator in MCUXpresso #129

Closed scottdwhitney closed 1 year ago

scottdwhitney commented 2 years ago

Expected Behavior

Installed Linticator plugin for Eclipse in MCUXpresso and pointed to my PC-Lint Plus installation, adding executable C:\PCLP\windows\pclp64.exe, compiler configuration C:\PCLP\windows\config\MCU\co-arm-none-eabi-gcc.lnt, and header configuration file C:\PCLP\windows\config\MCU\co-arm-none-eabi-gcc.h.

Ran Linticator Test Configuration and got the following: image

Enabled Linticator for my project. Then right clicked and selected Linticator/Run Linticator on project. Expected PC-Lint Plus to be run.

Actual Behavior

Immediately got an error dialog: image

Cevelop Version, Operating System and Compiler

Running Windows 11 and MCUXpresso 11.6.0. Any suggestions on what am I doing wrong?

misto commented 2 years ago

Dear Scott, thanks for reporting this. That NullPointerException doesn't sound good, could you maybe check the error log to see if there's a stack trace that would help us locate the error? You should find it under Window -> Show view -> Other. Then select General > Error Log.

scottdwhitney commented 2 years ago

Hi Mirko,

I have attached the requested Error Log. Please let me know what else I can try.

Best regards,

Scott

From: Mirko Stocker @.> Sent: Monday, September 5, 2022 9:08 AM To: Cevelop/Issues @.> Cc: Scott Whitney @.>; Author @.> Subject: Re: [Cevelop/Issues] Error trying to run Linticator in MCUXpresso (Issue #129)

Dear Scott, thanks for reporting this. That NullPointerException doesn't sound good, could you maybe check the error log to see if there's a stack trace that would help us locate the error? You should find it under Window -> Show view -> Other. Then select General > Error Log.

— Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Cevelop_Issues_issues_129-23issuecomment-2D1236998360&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=3CPwfOM7mXe3_XfUGTXtAg&m=zfO1oVwvLwv4sgbiriUcUsM8eRuXlhu4Ob0V0t4hOh0&s=bPYpPyXVD4QxF9WJfwOh-N3I8OMwhyW8h9v_X8UdJ_U&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AP77DYGZBUNEFXAAYI2YVHLV4XWCTANCNFSM6AAAAAAQDKWAIY&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=3CPwfOM7mXe3_XfUGTXtAg&m=zfO1oVwvLwv4sgbiriUcUsM8eRuXlhu4Ob0V0t4hOh0&s=vk-5gVpJyQpuriWLYSmHoHqVP52wG_dHbjoJ1Qv2_iY&e=. You are receiving this because you authored the thread.Message ID: @.**@.>>

misto commented 2 years ago

Sorry, that didn't come through here..

scottdwhitney commented 2 years ago

Sorry, I guess replying to the e-mail did not work as expected. I have attached the requested Error Log. Please let me know what else I can try. MCUXpresso Linticator General Error Log.log

scottdwhitney commented 2 years ago

I noticed this morning that when I tried to check Linticator/Configure Linticator.../License, I got the following error message:

image I am not sure if this is related to the error that I am seeing.

scottdwhitney commented 2 years ago

Is it possible that there are problems due to trying to run Linticator in a directory that contains spaces, such as on OneDrive? For example, The path to a given file might be C:\Users\swhitney\OneDrive - Company Name\Project Name\repository-name. Thanks for any insight - I'd really like to get Linticator to work for me.

scottdwhitney commented 1 year ago

I have not heard anything back for nearly two weeks. Do you have any suggestions on what I can try to get Linticator working, or should I just give up on it? Thanks for your advice.

misto commented 1 year ago

I'm sorry, I haven't yet been able to reproduce this.. the spaces (and OneDrive) might cause this, but sometimes the IDE also changes some underlying things from the official Eclipse version, so it's often difficult to pinpoint such errors.

scottdwhitney commented 1 year ago

That's a shame. I think I will have to give up on using Linticator for our project. Thank you for responding and best wishes.