we are running into a scenario (both with the latest drop and built from source) with devstudio when restarting eclipse. Initially, we are able to both import as well as define an API fine, both with the graphical editor as well as view source. When we restart eclipse, an exception is displayed (below). Any help greatly appreciated:
java.lang.IllegalStateException: Cannot activate read/write transaction in read-only transaction context
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.acquire(TransactionalEditingDomainImpl.java:576)
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.activate(TransactionalEditingDomainImpl.java:508)
at org.eclipse.emf.transaction.impl.TransactionImpl.start(TransactionImpl.java:204)
at org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.createTransaction(WorkspaceCommandStackImpl.java:380)
at org.eclipse.emf.workspace.EMFCommandOperation.createTransaction(EMFCommandOperation.java:215)
at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:147)
at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:513)
at org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.doExecute(WorkspaceCommandStackImpl.java:208)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)
at org.wso2.developerstudio.eclipse.gmf.esb.diagram.custom.AbstractMediatorFlowCompartmentEditPart.addInSequenceInputConnector(AbstractMediatorFlowCompartmentEditPart.java:76)
at org.wso2.developerstudio.eclipse.gmf.esb.diagram.custom.AbstractMediatorFlowCompartmentEditPart.addChild(AbstractMediatorFlowCompartmentEditPart.java:135)
at org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.parts.MediatorFlowMediatorFlowCompartment2EditPart.addChild(MediatorFlowMediatorFlowCompartment2EditPart.java:86)
at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
We have fixed this problem in the latest Developer Studio 3.5.0 Alpha 4 version. Please download it from [1] and try the same scenario with the new version.
Thanks a lot for reporting the issue to us. It helps us to improve the editor a lot!!
[1]. http://builder1.us1.wso2.org/~developerstudio/developer-studio/3.5.0/Alpha4/
Thanks and Regards,
Harshana
Related
I'm trying to call any WCF service in code locally which gives me the following exception:
WinHttpException: The group or resource is not in the correct state to perform the requested operation.
Some code example: await service.ReadMultipleAsync(filters.ToArray(), null, 1);. This might not say anything though. The weird thing is that it worked before updating windows 10. This might be a coincidence, but I have absolutely no code changes.
I can also talk directly to the WFC service through some tooling, so it cannot be some sort of IP blocking or firewall. But doing this through code results in the error, both using Kerstel or IIS Express.
Possible relevant packages:
.Net core - 2.2
System.ServiceModel.... - 4.4.0
I'm currently clueless. Any help would be appreciated!
Edit:
A more detailed exception:
System.Net.Http.WinHttpException (8007139F, 5023): The group or resource is not in the correct state to perform the requested operation
at System.Threading.Tasks.RendezvousAwaitable`1.GetResult()
at System.Net.Http.WinHttpHandler.StartRequest(WinHttpRequestState state)
I did a rollback from windows 10 version 1903 to 1803 and it suddenly started working again. Not really a solution but it works. Still no clue on what's wrong. Might be a bug?
Is there a way to disable to constant "Provide feedback" notifications in Visual Studio 2017. I keep hitting "Always Ignore" but they persist.
Edit: Tried Help --> Send Feedback --> Settings. Changed setting to "No, I would not like to participate" but continue to receive "Provide feedback" notifications.
Edit 2: For my situation this may be due to Resharper (link) which was reported on the MS Developer Community site (link). I'll update the question again once I've confirmed.
Edit 3: Disabled Resharper and no notifications ... yet. Re-enabled Resharper 2017.2 and instantly reappeared after relaunching VS. Seems to be 1 notification for each instance of VS running.
Edit 4: Posted answer below. Was caused by using Resharper 2017.2 in evaluation mode.
In my case it was 100% caused by Resharper (version 2017.2) when using in "Evaluation" mode. Once I entered license info (via a JB account) the notifications went away. To confirm this I logged out, restarted the evaluation, closed/reopened VS and notifications were instantly back. Logged back in via a JB account, restarted and notifications went away.
It seems that #MachinusX is receiving notifications for a different reason so they should post a new question with their details since my issue has been resolved.
Taking suggestion of #KornMuffin and adding my comment as an answer:
I resolved this temporarily by fully uninstalling and cleaning VS files, then installing a prior release of VS 2017. I used the following URL: VS 2017 Releases and selected Enterprise 15.0 (not 15.3 even though the release dates suggest 15.3 is older than 15.0 -- they are misleading/mislabeled). This has worked for me for now, until MS releases a fix. If trying the same, you will need to be logged into your MSDN account to download the prior release.
Instead of opting for "non participation", click on "Don't show again" link on the pop-up. This seems to have solved the issue as mentioned at https://developercommunity.visualstudio.com/content/problem/63752/vs2017-requests-feedback-then-tells-me-ive-already.html
Normally that kind of option, when marked, is saved somewhere in Regedit so whenever the popup is about to appear again it will check first what options you have marked.
If it's not remembering them, maybe it's an issue saving your preferences?
Somtimes it can be just as simple as running visual with administrator priviledges. I say this because mine kept forgetting my account and I had to sign in every single time I opened it. Switched to running it with administrator priviledges and it no longer forgets me which is so much better than having to put my credentials every single time!
Today I opened my VB and discovered that all of my seven VM have disappeared.
I tried to import one old VM but I saw that error message:
Could not create the imported medium 'C:\Users\michele\VirtualBox VMs\Magento Ultimo\Magento Ultimo-disk1_2.vmdk'.
VMDK: could not create new file 'C:\Users\michele\VirtualBox VMs\Magento Ultimo/Magento Ultimo-disk1_2.vmdk' (VERR_ALREADY_EXISTS).
Result Code:
VBOX_E_FILE_ERROR (0x80BB0004)
Component:
ApplianceWrap
Interface:
IAppliance {8398f026-4add-4474-5bc3-2f9f2140b23e}
I am using Windows 10 64 bit .... may someone help me?
Thanks.
PS: I am not an IT expert so I don't know how to solve it...
Ok solved... Inside the UI of VirtualBox i clicked Machines>add .... however it's very strange that they disappeared.
launch Oracle Virtualbox as admin and you will see all created VM's. Hope this helps.
I know that the case is resolved, but I want to add why it occurs. It happens when you install Virtual Box and machines as admin, and later run VB as normal user (or just different user). The program by default looks for machines in the given user folder.
I am using Robotium 5.0.1.
assertTure or asserFalse API is not displaying in my eclispe IDE.
How to enable this option?
Thanks
What's the code you use? What's the error?
You can write the code belove and report the error (anyway it should work if other robotium methods work):
assertTrue(solo.searchText("Pippo"));
I am using selenium RC version-2.21. Everything was working fine with
old google chrome. Then it gets auto updated. The problem is when i
run the test cases only the command window(the window where you can
see which command is getting executed) is visible.The second
window(AUT) is not visible.
My google chrome version is 18.0.1025.162 m. Please help with this
issue.
Any time Chrome gets updated, you may need a new version of the "chromedriver" interface to it. That's supplied by the Chrome folks, not by the Selenium folks. Go to http://code.google.com/p/chromedriver/downloads/list and find the one that matches your browser.
The solution is to add a sentence to maximize the AUT window.
You have to add:
seleniumClient.windowMaximize();
after starting your selenium client instance.
Do you get an error message? Or is the browser just not visible (I assume you mean at all and not that it is just minimized?).
As Selenium RC's documentation suggests, not all browser versions are supported (which clearly sucks in this case for you! =[) so you may have to look at Selenium WebDriver, or wait for a new release of Selenium RC to handle the new Chrome. Sorry this doesn't really solve anything for you!