Android Studio 2.1 does not show local variables when debugging - debugging

My AS stopped showing local variables. Currently I'm using AS 2.1, but tried AS 2.0 and AS 1.5.1. It started some time ago, I guess with the update to 2.0. I've moved to the older version but it did not help. I'm using build tools 23.0.3, and gradle 2.1.0. I've also added
testCoverageEnabled false
to build.gradle.
There are very little info about that issue around the internet, one I've found: https://code.google.com/p/android/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Status%20Priority%20Owner%20Summary%20Stars%20Reporter%20Opened&groupby=&sort=&id=123771
If anybody had that issue, please share some info.

Related

Projects not getting loaded post Sonarqube upgrade from version 7.9.2 to 8.9.0

I’m facing issue in SonarQube, Projects are not getting loaded post upgrade from version 7.9.2 to 8.9.0. Though Sonarqube analysis is not failing as it shows the number of projects but it doesn’t list down.
After this upgrade the customized plugins for mulesoft and IIB are also not getting loaded. Which we used to inject at path, /Conf/extensions/Plugins, during deployment.
Screenshots:
Screenshot of how exactly it looks like

Increment version number causing application to run older version

I ran into an issue today where my preview server was running an older version of a project instead of the most recently published version. The most recently published version was 1.0.4.10, but after some testing, I determined that version was not the version of the application that the server was retrieving.
After trying a few things, I tried publishing a new version under 1.0.5.0 instead of continuing with the 1.0.4.xx numbering, and that fixed the issue.
VS's auto increment feature recommended 1.0.4.10, but is there an issue with this being the same as 1.0.4.1? So maybe it was running 1.0.4.9? Or something behind the scenes I'm not aware of?

TeamCity - Behind Proxy causing build failure

Below is an error message I am getting trying to build a current project,
I am behind an enterprise proxy but this has only happened this morning after building fine for the past couple of months.
the current installed version of nuget is 2.8.3 and nuspec is 3.0.0.
I see it says it needs credentials but this has never happened before and i am not sure how to get around this in Teamcity.
Also all my other solutions are building fine so it makes it even more confusing as they are all built on the same template.
Okay, if I were less impatient and did some back tracking on my check-ins, I would have noticed that I had checked in .nuget/packages.config. which had dependencies on these packages above.
I removed these from the .nuget/packages.config and this resolved the issue.
Hope if anyone in the future is having the similar issues that this will help you too.

#Scripts.Render caused error after upgrade WebGrease.dll to 1.6.0 version and then deploy to azure web role

I uncounted a problem, after i upgraded the WebGrease.dll from 1.5.2 to 1.6.0, and deployed to azure web role, error occurred "Object reference not set to an instance of an object" , i have solved this problem by downgrade WebGrease.dll to previous version, but i still want to know why, may be next time we must upgrade to the newest version, can someone help me , thanks.
The problem appears to occur when you use WebGrease 1.6.0 in conjunction with deploying to your cloud service w/ IntelliTrace enabled. Disabling IntelliTrace -or- downgrading WebGrease to 1.5.2 fixes the issue. As for why, I'd imagine you'll need to create an issue w/ WebGrease.

WebObjects Unsupported major.minor version 49.0 error

I have been asked to update some old code I worked on years ago. All in xCode no eclipse and the change is needed urgently so do not have time to migrate away from xCode ATM.
I got my hands on a OS 10.5.8 box installed xcode 3.1.4 and the code compiled fine locally.
Tried to deploy never worked " Unsupported major.minor version 49.0 error" seems the server is running JVM 1.4.2 I have 1.6 locally. I followed some instructions on how to downgrade my local machine to java 1.4.2 without success.
So I gave up and put an old copy of the site back on the server. But now ALL the sites on the server get that same error message and none of them will start even though they have not been touched in 3-4 years. Not sure what happened? my only logically explanation is i accidentally did one action on the server instead of locally? Either way I have no idea what is wrong or how to fix it?
Where do I start trying to debug this?
Can I install a new version of java 1.5 or 1.6 on the server (OS 10.3.9) and have it work ok with webobjects?
Was this project a framework or an Application? If it is a framework that is depended-on by the other WebObjects projects, that would explain why everything started failing when you updated this project.
By default, Xcode did not include (or "embed") any depended-upon libraries or frameworks in the Project.woa bundle. Apps built this way depend upon any required resources being available in a few specific locations and then load them at launch. If they all now link to a framework or library that is incompatible, then they'll all stop working.
As far as the actual "Unsupported major.minor version" error goes, you do not need to downgrade the version of Java on your Mac, you can simply tell the compiler to target an older version of Java.
I can't remember if Xcode used Ant to do its Java compiling, but if it did and you are using Ant 1.7 or later, you can force Ant to compile 1.4-compatible binaries with Java 1.6 by editing the build.xml file so the javac tag includes a "target" parameter such as: <javac target="1.4" ... /> or by passing in the ant.build.javac.target property when you call Ant, either via command line or by modifying a properties file that Ant will load. I believe build.properties still existed in Xcode-based WebObjects projects. If it does this would be a good place for the property.
The basics are covered by this stackoverflow question: How to compile classes to JDK1.5 when ant is running in JDK1.6

Resources