kaylims Posted May 25, 2012 Share Posted May 25, 2012 When i follow to install Jaspersoft studio plugin into eclipse the problem will occur Cannot complete the install because one or more required items could not be found. Software being installed: Jaspersoft Studio Expression Editor 1.1.1 (com.jaspersoft.studio.expressioneditor.feature.feature.group 1.1.1) Missing requirement: Jaspersoft Studio Expression Editor 1.1.1 (com.jaspersoft.studio.expressioneditor.feature.feature.group 1.1.1) requires 'de.itemis.xtext.utils.jface.feature.group [1.0.0.201205141449]' but it could not be found Link to comment Share on other sites More sharing options...
Massimo Rabbi Posted May 30, 2012 Share Posted May 30, 2012 Hi kaylims,could you tell me what Eclipse version are you using? Looking at the error I suppose is 3.5.x, right?Unfortunately the new expression editor can not be used in 3.5.x, but requires at least 3.6.To resolve the problem try to deselect the feature concerning the Expression Editor (it is optional).Regards,Massimo. Link to comment Share on other sites More sharing options...
pbakker Posted June 4, 2012 Share Posted June 4, 2012 I get a similar error and am running Eclipse 3.7: Cannot complete the install because one or more required items could not be found. Software being installed: Jaspersoft Studio Expression Editor 1.1.1 (com.jaspersoft.studio.expressioneditor.feature.feature.group 1.1.1) Missing requirement: Jaspersoft Studio Expression Editor 1.1.1 (com.jaspersoft.studio.expressioneditor.feature.feature.group 1.1.1) requires 'de.itemis.xtext.utils.jface.feature.group [1.0.0.201205141449]' but it could not be found P Link to comment Share on other sites More sharing options...
pbakker Posted June 4, 2012 Share Posted June 4, 2012 And when I try to install without the Expression Editor, I get these errors: An error occurred while collecting items to be installedsession context was:(profile=Servoy, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).Unable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio_1.1.1.jar.Connection resetUnable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio.components_1.1.1.jar.Read timed outUnable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio.data_1.1.1.jar.Connection resetUnable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/net.sf.jasperreports_4.6.0.jar.Connection reset Link to comment Share on other sites More sharing options...
pranjal23 Posted June 6, 2012 Share Posted June 6, 2012 Same here, it refuses to complete installation tried both on Indigo and Helios. Tried with and without Expression editor. Just refuses to install pbakkerWrote: And when I try to install without the Expression Editor, I get these errors: An error occurred while collecting items to be installed session context was:(profile=Servoy, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Unable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio_1.1.1.jar. Connection reset Unable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio.components_1.1.1.jar. Read timed out Unable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio.data_1.1.1.jar. Connection reset Unable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/net.sf.jasperreports_4.6.0.jar. Connection reset Link to comment Share on other sites More sharing options...
Massimo Rabbi Posted June 6, 2012 Share Posted June 6, 2012 Hi guys,sorry for the late reply.I'll give a look to it and let you know.Massimo.P.S: what is the link for the update site you used? Link to comment Share on other sites More sharing options...
Massimo Rabbi Posted June 6, 2012 Share Posted June 6, 2012 Hi guys,I've done some tests and here it is what I found out.I've tried an installation on a clean java indigo package, using the update site http://jasperstudio.sourceforge.net/updates/The "Contact all update sites..." flag of course enabled. Everything worked fine.I've also tried an installation on a clean java indigo package, using the update site http://jasperstudio.sourceforge.net/updates/site.xml. Flag enabled, and I found out the same error you had.It seems that using this url, the installation manager is unable to contact correctly the external sites for the additional features.So, now as "workaround", when you face the error go back to the previous page and click on available software sites.Now you should have the following ones, probably disabled:- http://updates.yakindu.com/indigo/milestones/- http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/Then enable them.Clicking again on the next, you should be able to proceed with the installation of the plugins.We'll try to figure out what can be the cause of this problem, in order to solve it.Massimo.P.S: If you have the chance please provide the error log. Link to comment Share on other sites More sharing options...
jamesw1123 Posted June 21, 2012 Share Posted June 21, 2012 I tried everything you suggested. It will not complete the install. It gets to 48% and then shuts down. This is the errors that it shows: An error occurred while collecting items to be installedsession context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).Unable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio_1.1.1.jar.Connection resetUnable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio.data_1.1.1.jar.Connection resetUnable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio.editor.jrexpressions_1.1.1.jar.Connection resetUnable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio.server_1.1.1.jar.Connection resetUnable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/net.sf.jasperreports_4.6.0.jar.Connection reset I have installed the stand-alone version. It shows that its connected to my database, but it doesn't show any of the fields and I'm not sure how to call the report from eclipse. Please help.Post Edited by jamesw1123 at 06/21/2012 16:26 Link to comment Share on other sites More sharing options...
Massimo Rabbi Posted June 22, 2012 Share Posted June 22, 2012 Hi,can you enter these additional information: Update site URL used to download the plugin Eclipse version JDK/JRE version Os (i.e: Windows 7 64bit) if you are using a proxy or some kind of custom network configuration to connect to internetI verified similar issues with some plugins installation in the past, but most of the times it was caused by custom IT network configuration (proxy etc.). That required to play a bit with the network connection preferences in Eclipse.Regards,Massimo. Link to comment Share on other sites More sharing options...
jamesw1123 Posted June 22, 2012 Share Posted June 22, 2012 I have tried both of the URL's listed earlier in this posting. http://jasperstudio.sourceforge.net/updates/site.xml http://jasperstudio.sourceforge.net/updates/Eclipse version - 3.7.2JDKWindows XPNo special internet connections. Link to comment Share on other sites More sharing options...
Massimo Rabbi Posted June 22, 2012 Share Posted June 22, 2012 Hi,could you please specify which JDK version you are currently using?The XP installation you are using is a 32-bit version, right?From our tests installation is successful on different platforms.Could you please try to remove from the "Available Software Sites" the ones that should have been added when trying to install JSS.You should see: http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/ http://jasperstudio.sourceforge.net/updates/ http://updates.yakindu.com/indigo/milestones/After removing them, restart and try to re-install plugin using the update-site http://jasperstudio.sourceforge.net/updates/Please be sure that the "Contact all update sites during install to find required software" is selected.Regards,Massimo. Link to comment Share on other sites More sharing options...
jamesw1123 Posted June 22, 2012 Share Posted June 22, 2012 It is the 32 bit version. I removed the locations, restarted eclipse, and tried to install the software using the url you listed. I am now getting this error: Some sites could not be found. See the error log for more detail.Unknown Host: http://http/download.eclipse.org/windowbuilder/WB/release/R201109201200/3.7/content.xmlhttpNo repository found at http://download.eclipse.org/windowbuilder/WB/release/R201109201200/3.7/. I do appreciate all of your help with this issue. JW Link to comment Share on other sites More sharing options...
pbakker Posted June 22, 2012 Share Posted June 22, 2012 Disable or remove the WindowBuilder update site and try it again: Eclipse checks all active update urls for some reason regardless the fact that you have selected a specific one. P Link to comment Share on other sites More sharing options...
Massimo Rabbi Posted June 25, 2012 Share Posted June 25, 2012 Hi,I suggest to adopt the solution proposed by pbakker and see if the error disappear or others update site problems appear.Regards,Massimo. Link to comment Share on other sites More sharing options...
pbakker Posted June 26, 2012 Share Posted June 26, 2012 I'm still facing the same issue. Tried all the steps so far suggested in this thread, but no afail. I keep getting the following errors:An error occurred while collecting items to be installedsession context was:(profile=Servoy, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).Unable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio_1.1.1.jar.Connection resetUnable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio.components_1.1.1.jar.Connection resetUnable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio.data_1.1.1.jar.Connection resetUnable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio.data.hive_1.1.1.jar.Connection resetUnable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio.data.mongodb_1.1.1.jar.Connection resetUnable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio.html_1.1.1.jar.Read timed outUnable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio.properties_1.1.1.jar.Connection resetUnable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio.server_1.1.1.jar.Connection resetUnable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/net.sf.jasperreports_4.6.0.jar.Connection reset When I look in the workspace log file, I see a lot of these:!SUBENTRY 1 org.eclipse.equinox.p2.transport.ecf 4 1002 2012-06-26 14:51:08.669!MESSAGE Unable to read repository at http://jasperstudio.sourceforge.net/updates/plugins/com.jaspersoft.studio.data_1.1.1.jar.!STACK 0java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.read1(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:170) at java.io.FilterInputStream.read(Unknown Source) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108) at java.io.FilterInputStream.read(Unknown Source) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:127) at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer$1.performFileTransfer(AbstractRetrieveFileTransfer.java:172) at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:73) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) I'm on Win7, Java 7 update 22, 64bit, running Eclipse 3.7.2Is it possible to download the Jasper Studio plugin for Eclipse as a zip file, so we can install in from a local archive and at least be able to continue while this is being investigated?Paul Link to comment Share on other sites More sharing options...
Massimo Rabbi Posted June 26, 2012 Share Posted June 26, 2012 Hi guys,please have a look at the following request on the tracker 0005739: Zipped update site for JasperStudio.A zipped version of the update site will be available only starting from the next release.In the meanwhile you can try to adopt a solution like I proposed in the lastest comment of the issue (p2 stuff).However as last attempt, given the fact that you should have all the three update sites registered, try to install the features in this sequence:- Xtext UI 2.2.1.v201112130541 org.eclipse.xtext.ui.feature.group- Xtext JFace Integration (XJI) 1.0.0.201205141449 de.itemis.xtext.utils.jface.feature.group- JasperSoft Studio 1.1.1Regards,Massimo. Link to comment Share on other sites More sharing options...
Massimo Rabbi Posted June 29, 2012 Share Posted June 29, 2012 Hi guys,I performed some other tests trying to solve these issues. This is what I found out.After searching a little more on Google, I found some posts regarding errors of the kind "java.net.SocketException: Connection reset" when using JDK 1.7. So I tried to test it on a virtual machine with Windows 7 64bit.INITIAL TESTI installed the JDK 1.7 update 5 (the latest available) and tried to install Jaspersoft Studio plugin in Servoy Developer 6.0.6 (Paul, I saw you used it).I faced a different exception during installation process, look at the attacched screenshot and exception .log.It seems that the "Comparison method violates its general contract!" error is given by some more strict checks introduced in JRE 1.7 regarding comparators badly implemented.Eclipse Bugzilla already contains issues regarding this: Bug 317785 - [repository] Synchronization problem in mirror selectionSo solution could be to downgrade to the use of a previous JVM version, so from 1.7 to 1.6.Another trick can be to specify in the eclipse.ini (servoy.ini) file the following flag:-Djava.util.Arrays.useLegacyMergeSort=trueThis should force to use the old implementation and avoid to bring up the bug.I tried this latest approach on the windows virtual machine and installation completed successfully. However I added also the following vm argument:-Declipse.p2.mirrors=falseThis because the update procedure, despite not giving exception, was very very slow. Someone used this trick to prevent timeout errors, check this blog post.ADDITIONAL TEST 1Instead of pointing to the external http update site, I've mirrored the needed update sites as stated in the tracker issue 5739.I had to adopt the same solution as described above, so I added the two vm arguments:-Djava.util.Arrays.useLegacyMergeSort=true-Declipse.p2.mirrors=falseADDITIONAL TEST 2I forced the use of a JVM 1.6 and installation completed without no problems and no "tricks" needed.ADDITIONAL TEST 3I've tried the plugin installation using directly an Eclipse 3.7.2 Java package, still Windows 7 64bit with JDK 1.7u5. I did not modified the original eclipse.ini with the jvm arguments. This time I had no exceptions and the installation could complete succefully.CONCLUSIONIf you are using a JDK 1.7, switch back to a JDK 1.6. This can be achieved placing in different ways: - the jre folder directly inside you Eclipse/Servoy/Other folder (you can find the jre folder in your jdk installation directory)- specifying the -vm <jdk1.6_installation_dir> either in the eclipse.ini or from the command line- by uninstalling the actual jdk 1.7 installed and replacing it with a 1.6.Eclipse is officially supporting 1.7 only starting from Juno releases. If you have a look at the Eclipse 3.7.2 release notes you see that the reference platforms against which Eclipse is validated and tested are still Java 6. If you are already using the JDK 1.6 and have problems, give it try putting the -Declipse.p2.mirrors=falsevm argument in the eclipse.ini file.Really hope this helps, let me know.Massimo. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now