Can't update data from sonarqube server - sonarqube

When sonarlint eclipse ask me to refresh my sonarqube data (Update all projects binding), I get the following error :
Unable to update data from server 'cerbere'
Unable to move C:\workspace neon\.sonarlint\work\cerbere\.sonartmp_1776998337301134698\4346381085123285128
to C:\workspace neon\.sonarlint\storage\cerbere\global
As I also upgraded to latest version of sonarlint (2.1.0), I don't know if this caused my problem, that I hadn't had before.
I have to manually move the data to fix it.
Thank you.

As #Simon told me, it was a space in path problem.

Related

Added external library can't be seen - NetBeans

I downloaded SocketTest project and made some changes to read data from MS SQL database. Added external library:
But I'm getting java.sql.SQLException: No suitable driver found... when I run the project.
I'm sure there is no mistake in my source code. Because I tested my class on alternate project. It's running smoothly. But I wonder why MS SQL library can't be seen even after I add that.
I also tried to use the newest version of MS SQL library but still no success.
I also tried to analyze project.xml file. But I guess solution is not there.
Please help me to solve this issue.
Thanks in advance.
Solution has been found. build.xml file has been cleared and copied from newly created NetBeans project.

The provider is not compatible with the version of Oracle client - c#

When I try to browse my project through IIS, I get the below error
"The provider is not compatible with the version of Oracle client"
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Oracle.DataAccess.Client.OracleException: The provider is not compatible with the version of Oracle client
enter image description here
Please let me know what are the steps that i should perform to resolve this error. Thanks!
Assuming you have Oracle client installed and you have reference to the Oracle.DataAccess.dll in your project, check its version. Go to <your oracle client path>\odp.net folder and find there *.dll file with same name. Compare versions. Most likely issue is that DLL in your dir is different and does not match your installed Oracle Client. Use DLL that matches client.
And tell your boss to stop using Oracle client and use Oracle.ManagedDataAccess.dll
Now, there could be other issues causing this but this is minimum to check before moving further.
In my case I got the same error message when migrating to the newer Oracle.ManagedDataAccess.dll and forgot to remove the existing Oracle.DataAccess.dll, resulting in a lot of ambiguity.
Everything worked once the older reference was removed.
Last time I had this problem in an c# project I had to add Oracle.DataAccess.dll reference from my Oracle client directory.

Some pages are not loading in Sonarqube 5.6.6

Suddenly I'm experiencing a huge problem in my Sonar. I cannot access some of the main pages under my projects.
For example, once I click on the project,
home page not loading
Measures page not loading
Code page loading but once I click on any class, it's not opening and after a while, giving an error saying "Request cannot be processed. Try again later."
List item
But if I do any analysis from Sonar-runner it's executing successfully. I don't see any other issues excepts things I pointed above.
I have taken following actions to rectify the issue but still no luck.
Enabled debug logs to see any errors - cannot see any
Did MySQL optimizations - still no luck
Increased Sonar java heap size
Installed another Sonarqube instance on another CentOS 7.4 fresh server and restored DB dump from old one. - still, the issue is same
Finally, I have upgraded the new instance to Sonar 6.5. -but nothing changed and my issues still there.enter image description here
Appreciate if somebody guides me to fix this issue. Since I cannot go for a fresh installation because I need all my History data.
Thank you.
I could fixed this issue. I assumed this is something issue with the network response due to packet filtering or something else.
First I installed sonar in my local machine and then tried to execute Sonar-Runner analysis and then checked and it worked well.
Then I have realized this is something related to my remote network. therefore I have installed the Sonar in different location (Data center) and its also working.
Thanks to everyone for the guidance and I leave this post here so anyone can read later if they have the same issue.

i am getting error when i try to create web service client in Spring STS

i am getting this error when try to create new web service client.
IWAB0503E Unable to update Java build path. Please check your system environment.
Some web searching uncovered that what this error really means is “The Web Services generation tool detected multiple versions of the javax.xml.soap plug-in installed. Resolve this error by removing the conflicting plug-in.”
Sure enough, when I checked in Eclipse there were two versions.
WebService
I encountered two speed bumps when testing this theory:
There’s no easy way to uninstall a plug-in within the Eclipse UI, so I had to resort to removing the directory from eclipse\plugins directly from Windows Explorer.
Which version should I remove? It took me two tries to figure out which version was causing the error. Turns out that newer is not always better…in this case 1.3 was at fault and 1.2 (javax.xml.soap_1.2.0.v200905122109) was the version to keep.
This is old but, in my case the details of the error were:
IWAB0503E Unable to update Java build path. Please check your system environment.
java.io.FileNotFoundException: /lib/saaj.jar
So \lib\saaj.jar was not found in folder
C:\sts-4.8.0\sts-4.8.0.RELEASE\plugins\javax.xml.soap_1.3.0.v201105210645\
I created the folder lib and copied saaj.jar in it from another STS instance that I had and then it worked.

500 Internal Server Error after installing VS10sp1-KB983509

When I tried to use an Ajax control toolkit, I get a grey out error and searching around they said installing VS10 Service pack could help to solve the problem. So I did install it and now I got a serious problem:
I can no longer load the website that I can load normally before, it shows this error:
Server Error. 500 - Internal server error.
I tried many ways and finally found this one looks quite close to what happened to me:
http://support.microsoft.com/kb/842329
And I tried what it suggested:
go to C:\Windows\system32\mcfc42.dll-> properties\security\Edit\Add
Added:
Iwam_computername or computername\Iwam_computername
Also added:
Everyone
Allow Full control to all.
Restart server. But still the same problem. Please help me to fix this problem, unfortunately my server did not install backup option before I install VS SP1 so I could not recover to the previous point. Any solution ? If I cannot access it, no way I can code and test my website...
I found the solution for this. At first, to narrow down the problem I load the website at server side (not at client side) then I see this error lines in my web.config file, I think when I click at property at project in VS and choose .net 4.0 then back to 3.5 it add some duplicate to my web.config file. I just add all the first lines related to .net 3.5 and keep the xml format correct then it works fine now! Many thanks !!

Resources