TFS Eclipse Plugin - Can't Select Query - eclipse

When trying to check a change into TFS with TEE (v14) I get an error if I try and select a query. The error is,
Unable to run query
The query "My Work Items" can't be run because of the following error with the query:
The specified variable does not exist. The error is caused by <<#project>>.
This is environmental though as I have another VM which is perfectly fine but uses a slightly old eclipse (Kepler). This to me implies that actually there is nothing wrong with the query!! I have compared the configuration in .microsoft but with no joy.
I can check in by using the task ID directly but would like to be able to see my tasks. Any help would be really appreciated.
Thanks,
Andy
Redhat 6.7
Eclipse Luna (4.4.2)
TEE Plugin v14

There is a bug in current version Team Explorer Everywhere 2015 (14.0.1) which causes the "specified variable does not exist" error message.
As a workaround, you can either: 1) run the query prior to opening the "Check In" dialog, or 2) add the work item to the dialog by entering its ID.
(check David Staheli's post in the bottom of this blog: http://blogs.msdn.com/b/bharry/archive/2015/07/06/team-explorer-everywhere-2015-rtm.aspx)

Related

How do I debug a java.lang.illegalStateException that occurs when rebasing a ClearCase view?

Background
I have been trying for the last week to rebase a clearcase view for my project, but every time I try I get a weird null exception depicted in the two windows below:
I do not know why this is occurring and need help determining how to even begin fixing this issue.
So far here is what I have tried:
Restarting the client
Restarting my computer
Refreshing the view and updating.
Updating my eclipse environment.
I have also seen a fix on the IBM website for a similar issue, but my version of Clearteam explorer is well beyond the version it prescribes for a fix:
When you are trying to login with the IBM Rational ClearTeam
Explorer (CTE) version 8.0.1.11 and later with the Eclipse
plugin, you may receive the following error: CRMAP7009: Command
"Login" failed: Error: "java.lang.IllegalStateException: null"
This behavior does not occur with CTE 8.0.1.10 with the Eclipse
plugin or with the standalone CTE 8.0.1.11 client.
It only occurs using the Sun JRE 6, not when using the IBM JRE
6.
My clearteam explorer version is 9.0.2:
Question
What are other possible actions I can take to fix the null pointer issue mentioned above?
OK, you're going to hate this, but the only thing I can do is ask questions and point you to IBM/HCL support.
Is this a web-based view? A snapshot view? A Dynamic view?
Does a new view work?
Are there any errors in the CTE workspace log? (%USERPROFILE%.Rational\CTE8\workspace.log)
Is this the CTE plugin installed into Eclipse? Or the CTE "full" client? And does it matter?
Have you tried this using the command line interface (cleartool/rcleartool as appropriate)
Does running in debug mode tell us anything additional? (See https://www.ibm.com/support/pages/how-enable-trace-ccrc-client-and-server) Note that on windows, CTE/eclipse will spawn a separate console window to print some eclipse diagnostic output that may or may not be important. You'll want to capture that before exiting the session.
If this is a web-based view, has anyone checked the WAN server logs?
CRMAP7009 is a "catch all" message for CTE, but since that is an exception message, it should be expanded upon SOMEWHERE. Half the battle is finding the rest of the message.
In those case, I always try and fall back to command line, using in your case cleartool rebase.
See "Rebase a stream on linux using cleartool" (the same idea applies on Windows), and "How to rebase in ClearCase on latest baselines?".
That way, I can see if the issue is with ClearCase itself or with the Eclipse ClearCase plugin.

Eclipse save error when trying to open the design view of a synapse config file in WS02 Developer Studio

I'm following the tutorials and samples of the official WSO2 ESB documentation. When I create (or load) a synapse configuration in the WSO2 Developer Studio I'm getting the error as shown below:
Save problems
Save could not be completed.
Reason:
resources\sunErrorHandler.esb_diagram (The system cannot find the path specified)
This error shows up when I want to open anything in the Design view. Even when I'm not trying to save anything.
So far I have tried to add the path specified in the error, but without success. I already found a workaround to be able to save and deploy my ESB configurations. By using "Save as" I'm able to keep the changes I made in the XML files. However the error stills shows up when I open the new version of the file.
Does anyone know a better solution to permanently resolve this error message?
I had this problem as well, running eclipse.exe as administrator fixed it.
Issue remains unresolved for my Eclipse + DevStudio 3.8.0 install on a Windows 10 environment. However since I was experiencing some other issues with the WSO2 ESB I decided to migrate to a Linux (Ubuntu) environment. This seems to work much better, the eclipse does not seem to have this issue on Linux.
Eclipse want to write in C:\Program Files\eclipse\resources. I solve problem by adding full permissions to group users on folder C:\Program Files\eclipse
If this happens in Mac you can provide the required permission to the "/Applications/IntegrationStudio.app/Contents/MacOS/resources" folder.

Getting "Error: Failed to connect to OmniSharp"

I'm trying to get VSCode working with my Unity projects, and every time I select the Project icon (the little fire at the bottom) I get the following error:
Error: Failed to connect to OmniSharp
Is anyone else getting this?
You need to download the most recent version of "mono". Open up terminal and pass in brew install mono. Then "Pick a project" and select the ..-csharp.sln file and you should be up and running.
Ok, made some progress and gotten a few Unity projects working. It seems that you need some prerequisites installed, a clean up of your Unity project folder, and possibly some hand editing of your .sln and .csproj files.
I posted a (possibly) better answer over on Reddit. Hope that's not breaking stack etiquitte.
http://www.reddit.com/r/Unity3D/comments/34d6gc/visual_studio_for_mac_help_us_vote_for_unity/
i get this on windows when my project directory has a space in it
i removed the space and removed the error
i expect it will be fixed soom
I have a completely different answer: it's the runtime that VSCode is using. It doesn't match up with what it thinks it needs. I have to remember that we're still in beta and that things are changing rapidly. I had my dnvm running beta 7, but VSCode (and OmniSharp, by extension) is looking for beta 6, so it was failing. I updated my runtime using this this post as a clue. Now I have VSCode 0.7.0 using the beta 6 runtime. I have no idea how to tell what it's looking for...I just guessed based on when they were both released. HTH

Mule ESB, Launching project encountered an issue after the project was renamed

I have a flow running within a project named 'dm' that was created by someone else.
This flow works well.
I Right click and hit "Copy", and then I hit "Paste", and chose the project name 'dm_1'. All looks well
So I try to run the new project, I right click on the flow and hit "Run As - Mule Application"
Immediately I get the following error:
Launching dm_1 has encountered a problem.
Studio has encountered a problem. In order to get assistance with this issue, either contact MuleSoft or post a message in the MuleSoft Community Forums (http:/forum.mulesoft.org) with a detailed description of how you encountered the problem
DETAILS:
Studio has encountered a problem. In order to get assistance with this issue, either contact MuleSoft Support or post a message on the MuleSoft community forums (http://forum.mulesoft.org) with a detailed description of how you encountered the problem.
Project referenced by launch does not exist.
So how do I fix this problem.
I do not see anything within the xml that would suggest there is a project name that needs to be changed as well, with the possible exception of the following line:
<mulexml:schema-validation-filter schemaLocations="C:\Users\xxx\AnypointStudio\workspace\dm\src\main\resources\p.xsd" returnResult="false" doc:name="Schema Validation"/>
Where do I look to change the project name
try adding a new flow to the same project. Then right click on the new flow and run it. This will cause the entire project to run.

ADT error: Could not create the view: org.eclipse.mylyn.tasks.ui.views.tasks

Does anyone know how to fix this error? I am not able to view Task List, and the Task List window has the error as written above/below.
Could not create the view: org.eclipse.mylyn.tasks.ui.views.tasks
In my case to solve it I just went to Eclipse Marketplace, searched for Mylyn and installed it. Afterwards the eclipse restarted and the problem was gone.
As far as the error message "Could not create the view: org.eclipse.mylyn.tasks.ui.views.tasks" is concerned, here's what happened in my case and how I solved it:
I had this problem with Eclipse Neon version (not Luna/Mars), i.e. the error message appeared in the 'Task List' view each time I started Eclipse, even if I used "-no-activate-task" in the command line.
The problem was most probably because I was using a "customized" environment created with previous versions and let Neon adapt it the first time I run it.
After I created a new "customized" environment from scratch, the error disappeared.
In Mars, I had the same problem after trying to install the TaskDev Jira connector, which didn't work. Ultimately, I had to delete all the org.eclipse.mylyn.* references in the features and plugins directory and grabbed them from the original Mars download.