Eclipse PTP: NullPointerException when enable uploading rules - eclipse

I'm developing a MPI application and I want to upload input data files before my application starts. I completed the Synchronize tab as specified in Eclipse Parallel Tools Platform User Guide.
I then run my application and get an error: An internal error occurred during: "Launching myapp".java.lang.NullPointerException. I tried different settings but still can't get it works.
Does anyone experience the same problem? How can I fix it?
I use Eclipse Juno, with PTP v1.5.1 on Ubuntu 12.04. I had ssh/ssh-server installed.
Thanks!

Related

"unable to read repository" for "all" Red Hat add ons into Eclipse 2020-06

I have gotten Eclipse 2020-06 installed under Windows 10 and have also gotten it to recognize and "update" my Project from Eclipse Oxygen.
I need to install Red Hat Tools and neither it nor installation of other Red Hat add ons is working. Everything fails with "unable to read repository".
For example, I have tried to install using both the Eclipse Marketplace and Help Install New Software for:
JBoss Tools, Code Ready Studio and I get:
Unable to read repository at https://devstudio.redhat.com/12/stable/composite/12.16.0/compositeContent.xml
Unable to read repository at https://download.jboss.org/jbosstools/oxygen/updates/content.xml
Unable to read repository at https://download.jboss.org/jbosstools/photon/updates/content.xml
Unable to read repository at https://download.jboss.org/jbosstools/2020-06/updates/content.xml
Connection to http://download.jboss.org/jbosstools/photon/staging/updates/central/4.16.0.Final/p2.index failed on Received fatal alert: internal_error. Retry attempt 0 started
All of the attemps show the following in the Errors log :
javax.net.ssl.SSLException: Received fatal alert: internal_error
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:129)
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
When I am using Install New Software I get the above error as soon as I selet the (Red Hat related) Work With item.
I can reach the internet with the Eclipse "embedded" browser. In Install New Software I can select non-Red Hat packages and see all of the available modules. I have deleted the cache at p2\org.eclipse.equinox.p2.repository\cache and I have Removed and added back the Source for Red Hat Tools (as above).
My searches have resulted in numerous older posts with suggestions that a proxy is causing the problem but I don't see how that can be the case. This is failing on a home network with no proxy and the Windows 10 system Eclipse is running on does not have a proxy set up.
Can someone suggest why this is failing?
Thank you in advance.
Many thanks to howlger! I had a bad install of the JDK. I started fresh, installed AdoptOpenJDK's .msi, installed Eclipse and am finally able to install CodeReady Studio (includes Jboss Tools). Thanks again very much!

'"Eclipse" would like to access files in your Document folder' alerts continuously while running multiple Eclipse instances

The OS continuously asking for the above permission while I'm running multiple Eclipse instances.
I have already given the permission and I tried by disabling and enabling the permission several times.
I'm using,
macOS Catalina (version: 10.15.3 (19D76))
Eclipse IDE for Java Developers (Version: 2019-03 (4.11.0), Build
id: 20190314-1200)
Anything that I can do to stop this please.
Goto system preferences > Security & privacy > Full Disk Access > add Eclipse
Restart eclipse & PC
then your java able to get listFiles()
If anyone having this issue, try installing eclipse in the Documents folder. That what I tried and worked for me.

Terminating Flask's Internal Server in Eclipse ( Aptana Pydev)

I am using Aptana plugin in eclipse Luna. Pydev is already there in Aptana.
I am doing flask development using flask's internal web server (Werkzeug/0.10.1 Python/2.7.6).
When i run my project everything goes well but when i terminate run, my app server remain active.
It keeps serving and when i run my project again it gives me following socket error.
socket.error: [Errno 98] Address already in use
Previously i was using pydev without aptana and it was working fine. Now for every run i am killing process manually which is very annoying.
I am using ubuntu and virtualenv.
How can i overcome this issue ?
Thanks
I found solution after reading this thread.
Trick is while running your application pass use_reloader=False.
app.run("0.0.0.0", 5051, debug=True, use_reloader=False)

Clustering Openfire 3.7.1

I am trying for clustering openfire 3.7.1, but still not succeed and don't know what the problem is. Here are the steps:
First, I install Clustering Plugin 1.2.0 from Plugins menu.
Then I go to Server -> Server Manager -> Clustering menu and got java.lang.NoClassDefFoundError: com/tangosol/net/Invocable exception. Searching on the forum, I found that Clustering Plugin needs Oracle Coherence. So I download Oracle Coherence v3.4.2 and copy all jar files from lib dir into openfire lib dir. Then I restart openfire and now clustering menu seems ok, no exception occurred.
I try to enable clustering from clustering menu. It states that enabling clustering may take 30 seconds. But after clicking the Save settings button, the process won't stop even after 10 minutes. So I stopped the process and restart openfire.
I login again and everything seems good. Accessing again the Clustering menu, it shows that the clustering is enabled and there is 1 node listed and running. But when I click the nodes link, it does nothing. Also when I try to access 'Users/Group' menu, it shows HTTP ERROR 500 with org.jivesoftware.util.cache.DefaultCache cannot be cast to com.jivesoftware.util.cache.ClusteredCache exception.
My machine specs are:
Ubuntu 12.04
Openfire 3.7.1
Core i5 with 8 GB memory.
That seems be a problem with 1.2.0 Plugin
Look at this post for further help:
http://community.igniterealtime.org/message/218486#218486

Error installing plugins: "Could not acquire framework manipulator service"

Using the RCP version of Eclipse Helios on my Windows XP machine, I am trying to install some fairly basic plug-ins like PyDev and EPIC from their standard update sites. Unfortunately, I keep receiving the following error message:
An error occurred while installing the items
session context was:(profile=epp.package.rcp,
phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null -->
{plugin name},
action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
Could not acquire the framework manipulator service.
Could not acquire the framework manipulator service.
It doesn't look like this error occurs very much as there are very few things online. Everything about my installation of Eclipse is pretty standard. Is there some workaround for fix for this issue?
Looks like this was an extraction issue. One of my plugins didn't get unzipped correctly the first time, causing this behavior. I unzipped it again in a new location and it works fine now.