Hi John, Currently there are two types of ESB editors in DevS 3.7.1. 1. Tree structured ESB editor (deprecated) 2. Drag and drop ESB diagram editor (recommended)
Deprecated tree structured ESB editor is outdated and we are not maintaining it.(We are removing this deprecated editor in next DevS 3.8.0 release). You are getting saving issues/design to source switching issues with old editor because it's outdated. So the solution here is to open ESB config files using recommended ESB editor by just double clicking on the config file. (Double click event will trigger config file to open in the recommended ESB diagram editor.) Using other options such as Right click on config file --> "Open With" --> ESB Editor, use "Ctrl" + "Shift" + R to open config files, will result to open config files in deprecated ESB editor. It seems mentioned *java.lang.NullPointerException *exception is not the root cause for the issues. Please attach the full error log($workspace/.metadata/.log) to check the actual error. Thanks, Viraj. On Thu, Jul 2, 2015 at 5:47 PM, John Hawkins <jo...@wso2.com> wrote: > Sorry- I meant to put that in the original message !! > > Here is the "data" section of the error in eclipse > eclipse.buildId=4.3.2.M20140221-1700 > java.version=1.7.0_79 > java.vendor=Oracle Corporation > BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US > Framework arguments: -product org.eclipse.epp.package.jee.product > -keyring /Users/wso2/.eclipse_keyring -showlocation > Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product > org.eclipse.epp.package.jee.product -keyring /Users/wso2/.eclipse_keyring > -showlocation > > > And I downloaded devstudio (3.7.1) right of the wso2.com pages (two days > ago) - as a single, eclipse included, bundle - *not* installed into a > pre-existing eclipse. > > > thanks, > John. > > > John Hawkins > Director: Solutions Architecture > > > On Thu, Jul 2, 2015 at 12:39 PM, Harshana Eranga Martin < > harshan...@gmail.com> wrote: > >> Hi John, >> >> What is the Dev Studio version you are using? Did you download it from >> the Products listing in wso2.com? What is the JDK version you are using? >> >> Thanks and Regards, >> Harshana >> -- >> Harshana Eranga Martin >> >> Committer - Eclipse ECF: http://www.eclipse.org/ecf/ >> Blog: http://harshana05.blogspot.com >> Profile: https://www.google.com/profiles/harshana05 >> >> On 2 July 2015 at 19:29, John Hawkins <jo...@wso2.com> wrote: >> >>> Hi Folks, >>> >>> I'm getting a few errors with DevStudio which are really beginning to >>> bug me. I can't see anyone else having these errors so I'll put it out >>> there so you folks may be able to guide me as to what to do ( or you may >>> have seen them before but google has let me down :-) >>> >>> Key problem is that eclipse/dev studio is struggling to save files e.g. >>> an api.xml file or a proxy-service.xml file. This shows itself when I try >>> to save a diagram or when I try to move from the diagram to the source >>> view. The first error in the chain is... >>> >>> >>> >>> *Problems occurred when invoking code from plug-in: >>> "org.eclipse.ui.workbench". which has the stacktrace of * >>> >>> *java.lang.NullPointerException* >>> * at >>> org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.selectionChanged(CompatibilityPart.java:435)* >>> * at >>> org.eclipse.ui.part.MultiPageSelectionProvider$1.run(MultiPageSelectionProvider.java:110)* >>> * at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)* >>> * at >>> org.eclipse.ui.part.MultiPageSelectionProvider.fireEventChange(MultiPageSelectionProvider.java:108)* >>> * etc.etc.* >>> >>> >>> >>> >>> It then has three other errors along those lines. >>> >>> This may or may not be related but.....What also happens is that files >>> also don't look right in the esb editor.. They come out as a tree structure >>> and not the nice diagram editor. In order to get around this (and get it >>> opening in the nice diagram editor) I have to close the WSO2 ESB Graphical >>> perspective and then re-open the Dev Studio (by going "Dev Studio->Open >>> Dashboard". That solves the problem of the editor not showing the graphical >>> view and also seems to solve the problem of file saving. However, it's not >>> long before both problems come back - but I have no idea what sequence of >>> events makes them come back ! >>> >>> I realise this is a bit of a random problem - but it's really making >>> editing a very long winded process so any help would be much appreciated !! >>> >>> >>> >>> >>> many thanks >>> John. >>> >>> John Hawkins >>> Director: Solutions Architecture >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Viraj Rajaguru Senior Software Engineer WSO2 Inc. : http://wso2.com Mobile: +94 77 3683068
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev