Forum: Newcomers |
---|
Topic: 2024-03 useless because can no longer bring up search dialog |
---|
2024-03 useless because can no longer bring up search dialog [message #1865097] |
Fri, 26 April 2024 05:10 |
David M. Karr Messages: 802 Registered: July 2009 |
Senior Member |
|
|
For quite a while, I've had a problem with Eclipse 2024-03 that makes severely handicapped. For some reason, some time after a workspace is created, the Search Dialog simply stops appearing. Usually, I can use a workspace for a week or so before it gets into this state, and it never comes out of it. My only workaround so far has been to create a new workspace. This is somewhat annoying, as I have dozens of git repos and projects associated with those repos, although I'm now getting used to the keyboard shortcuts to import a repo in a particular way. Nevertheless, it is quite painful to have to do this every week or so.
However, it's now gotten much worse. I only just created a new workspace today. Search was working earlier today, but now it's gone again. This time it only lasted a few hours.
I do find that I have not seen this issue in 2023-09. I have a feeling I'm going to be stuck with that version for quite a while.
In the error log, the indication that this is happening is shown from the following stack trace:
!ENTRY org.eclipse.e4.ui.workbench 4 0 2024-04-25 22:00:32.330
!MESSAGE Execution exception for: ParameterizedCommand(Command(org.eclipse.search.ui.openSearchDialog,Open Search Dialog,
Open the Search dialog,
Category(org.eclipse.search.ui.category.search,Search,Search command category,true),
WorkbenchHandlerServiceHandler("org.eclipse.search.ui.openSearchDialog"),
,,true),null) in
context chain: WorkbenchContext -> TrimmedWindowImpl (IDEWindow) Context -> PerspectiveImpl (org.eclipse.jdt.ui.JavaPerspective) Context -> PartImpl (org.eclipse.e4.ui.compatibility.editor) removeOnHide (pl_idp_ms.groovy) Context
!STACK 0
org.eclipse.core.commands.ExecutionException: Error executing 'org.eclipse.search.ui.openSearchDialog': java.lang.NullPointerException: Cannot invoke "org.eclipse.ui.IEditorPart.getAdapter(java.lang.Class)" because "editor" is null
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:179)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:488)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:485)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:204)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:308)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:569)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:644)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:439)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:96)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1287)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1065)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1090)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1075)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1117)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1113)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1594)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4866)
at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4744)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5039)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(Native Method)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3658)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1042)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:152)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:639)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:546)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
Caused by: org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException: Cannot invoke "org.eclipse.ui.IEditorPart.getAdapter(java.lang.Class)" because "editor" is null
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:68)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:298)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:232)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:174)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:165)
... 42 more
Caused by: java.lang.NullPointerException: Cannot invoke "org.eclipse.ui.IEditorPart.getAdapter(java.lang.Class)" because "editor" is null
at org.eclipse.search.internal.ui.ScopePart.selectedResourcesFromEditors(ScopePart.java:247)
at org.eclipse.search.internal.ui.ScopePart.createPart(ScopePart.java:457)
at org.eclipse.search.internal.ui.SearchDialog.createPageControl(SearchDialog.java:763)
at org.eclipse.search.internal.ui.SearchDialog.createPageArea(SearchDialog.java:425)
at org.eclipse.search.internal.ui.util.ExtendedDialogWindow.createDialogArea(ExtendedDialogWindow.java:142)
at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:766)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1092)
at org.eclipse.search.internal.ui.SearchDialog.create(SearchDialog.java:290)
at org.eclipse.jface.window.Window.open(Window.java:788)
at org.eclipse.search.internal.ui.OpenSearchDialogAction.run(OpenSearchDialogAction.java:60)
at org.eclipse.search.internal.ui.OpenSearchDialogAction.run(OpenSearchDialogAction.java:50)
at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.execute(ActionDelegateHandlerProxy.java:285)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:98)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
I also created the following issue for this, although there hasn't bee much useful response:
https://github.com/eclipse-platform/eclipse.platform/issues/1151
|
|
|
Topic: Cost by System report |
---|
Cost by System report [message #1865031] |
Wed, 24 April 2024 20:52 |
Gursev Bajwa Messages: 2 Registered: April 2024 |
Junior Member |
|
|
I am working in IBM Maximo 7.6 and I am using Eclipse to create reports using BIRT Designer. I am working with a copy of the out-of-the-box report called "maintaincost_by_system.rptdesign". I would like the report to also show a breakdown of how we arrived at the total cost. That is, it should also show the components of Total Cost, including labor cost, material cost, and service cost. When I preview the report in Eclipse, it looks good at the top level and it shows me the cost breakdown; however, as I drill down, it is no longer showing me the cost break down; it only shows total cost. What can I do to fix this error?
|
|
|
Topic: Reports on child data sets |
---|
Reports on child data sets [message #1865028] |
Wed, 24 April 2024 20:51 |
Gursev Bajwa Messages: 2 Registered: April 2024 |
Junior Member |
|
|
Hello,
I am working on a report using Eclipse BIRT and I wanted to know if and how there is a way to see detailed information such as costs when clicking on a data set and the hyperlink goes to another data set.
For example, in the report there is an Item that shows total cost, then I click on that dataset name and that will go to another dataset, in that dataset, how can I see similar information
|
|
|
Topic: How to uninstall Eclipse IDE on macOS? |
---|
How to uninstall Eclipse IDE on macOS? [message #1864977] |
Mon, 22 April 2024 12:11 |
Jiaxin Zhang Messages: 1 Registered: April 2024 |
Junior Member |
|
|
How to uninstall Eclipse IDE on macOS? My IDE is Eclipse IDE for Enterprise Java and Web Developers.
The Eclipse.app is only 1 MB in total. There must be much directories and files elsewhere.
|
|
|
Forum: Java Development Tools (JDT) |
---|
Topic: Does anyone have insights ? |
---|
Does anyone have insights ? [message #1865022] |
Wed, 24 April 2024 17:03 |
karen funk Messages: 1 Registered: April 2024 |
Junior Member |
|
|
I'm looking to include a new option in both the References and Declarations context menus. I've been attempting to utilize the org.eclipse.ui.menus extension point through Menu Contributions but am having trouble pinpointing the correct locationURI. Does anyone have insights or suggestions on this matter?
|
|
|
Forum: Epsilon |
---|
Topic: Alternative way to create references using EOL |
---|
Alternative way to create references using EOL [message #1865088] |
Fri, 26 April 2024 00:42 |
Nick Annable Messages: 5 Registered: March 2020 |
Junior Member |
|
|
For example consider an ECore metamodel M with two classes C1 and C2, and one reference between them with the label L at the C2 end. If I have c1 : C1 and c2 : C2 in my model, I can add a reference to c2 using the line c1.L.add(c2).
However I am wondering if there is an alternative way to add that relationship using the name of the reference as a string. This would be similar to creating a class using the name as a string by doing var c1 = M.createInstance('C1') instead of var c1 = new M:C1.
Thank you for your help!
[Updated on: Fri, 26 April 2024 00:44] Report message to a moderator
|
|
|
Forum: Eclipse Scout |
---|
Topic: Know server session Id from Client session id or vice versa |
---|
|
Forum: Remote Application Platform (RAP) |
---|
Topic: I want to use websocket |
---|
I want to use websocket [message #1865046] |
Thu, 25 April 2024 07:42 |
|
I want to use websocket.
The default environment is
Apache Tomcat 9
Eclipse RAP e3, 3.22
How can I use it?
Any tutorials or examples would be helpful .
|
|
|
Forum: Jobs and employment |
---|
Topic: Hiring for Help to fix Eclipse Bug 329657 |
---|
Hiring for Help to fix Eclipse Bug 329657 [message #1865013] |
Wed, 24 April 2024 15:10 |
Martin Terra Messages: 1 Registered: April 2024 |
Junior Member |
|
|
We would like to hire someone from the Eclipse open source development community to work on an Eclipse IDE bug.
The Eclipse Java IDE has a bug that it blocks user actions unnecessarily while compiling/building code. We would like to get this problem fixed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=329657
The bug is most noticeable when "Build Automatically" setting is activated in the Eclipse Java IDE.
This issue may not very noticeable if you have a fast disk, but nevertheless, the bug is there, and you can probably simulate it by using a slower disk, e.g., a usb 2.0 device for your Eclipse workspace, and disable some caches if necessary.
We would like to work with you to propose a patch to work around this and work together with the Eclipse community to iteratively revise and get the patch approved.
The goal is to enhance Eclipse JAVA IDE efficiency and user experience, by refining the selectivity of blocking in multithreading during builds. Currently, most user actions proceed without blocking during the multithreaded build process, but certain actions, like saving and version management, are unnecessarily blocked, causing inconvenience.
The only tasks that the compilation/building process should block are the ones related to Java code launches (Run, Debug, etc.). It should not affect code/file edits or ant scripts (however, it is possible that a rebuild request should be queued if files are changed, but this should be part of existing functionality and if not then make it queueable so that the build will restart as soon as possible while staying in the background).
The goal is, instead of creating new multithreading functionality, to modify the existing multithreading functionality to restrict blocking behavior only for run/launch actions that depend on the ongoing build process, making it more user-friendly. Perhaps there is a filter-like functionality that selects which actions should be blocked, and this filtering is what should be adjusted, only for the build process.
This is the entirety of this project for the time being.
If you have tinkered with Eclipse before and feel up to the task, contact me at jobs@koodaripalvelut.com (jobs(at)koodaripalvelut.com) in free form and in your email refer to the eclipse bug id 329657.
Yours sincerely,
Martin Terra
Koodaripalvelut.com Finland
|
|
|
Forum: Gendoc |
---|
Topic: Add support for new Eclipse targets |
---|
Add support for new Eclipse targets [message #1865010] |
Tue, 23 April 2024 16:48 |
Denis Nikiforov Messages: 344 Registered: August 2013 |
Senior Member |
|
|
Hi
I'm trying to add support for new Eclipse versions.
Our modeling tool is based on Eclipse 2022-06 because we are temporarily locked to Java 11. So I added a 2022-06 target platform for Gendoc and migrated it to Java 11: https://gitlab.eclipse.org/eclipse/gendoc/org.eclipse.gendoc/-/merge_requests/1
But I have two problems:
1) The build of one project org.eclipse.gendoc.services.xlsx.tests is failed with the error "The package org.w3c.dom is accessible from more than one module: , java.xml".
To reproduce it just run:
mvn clean verify -DskipTests
2) Tests are failed. To reproduce it run:
The error is "Workbench has not been created yet":
Running org.eclipse.gendoc.services.pptx.tests.PptxSimpleTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.108 s <<< FAILURE! - in org.eclipse.gendoc.services.pptx.tests.PptxSimpleTest
simpleTest(org.eclipse.gendoc.services.pptx.tests.PptxSimpleTest) Time elapsed: 7.067 s <<< ERROR!
java.lang.NoClassDefFoundError: org/eclipse/papyrus/infra/ui/emf/databinding/EMFObservableList
at org.eclipse.gendoc.services.pptx.tests.PptxSimpleTest.simpleTest(PptxSimpleTest.java:20)
Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle org.eclipse.papyrus.infra.ui.emf (452).
at org.eclipse.gendoc.services.pptx.tests.PptxSimpleTest.simpleTest(PptxSimpleTest.java:20)
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.papyrus.infra.ui.internal.emf.Activator.start() of bundle org.eclipse.papyrus.infra.ui.emf.
at org.eclipse.gendoc.services.pptx.tests.PptxSimpleTest.simpleTest(PptxSimpleTest.java:20)
Caused by: java.lang.ExceptionInInitializerError
at org.eclipse.gendoc.services.pptx.tests.PptxSimpleTest.simpleTest(PptxSimpleTest.java:20)
Caused by: java.lang.IllegalStateException: Workbench has not been created yet.
at org.eclipse.gendoc.services.pptx.tests.PptxSimpleTest.simpleTest(PptxSimpleTest.java:20)
Could you please help to fix it?
I hope after that it will not be a big deal to add a 2024-03 target platform or a newer one.
|
|
|
Forum: C / C++ IDE (CDT) |
---|
Topic: C++20 concepts support |
---|
C++20 concepts support [message #1864983] |
Mon, 22 April 2024 13:04 |
Rouslan Abdukhanov Messages: 1 Registered: April 2024 |
Junior Member |
|
|
Hello,
I am currently using the latest version of Eclipse CDT along with GCC 13.2.0 compiler. I've been trying to utilize C++20 concepts in my code, specifically using the requires keyword, but Eclipse seems to be unable to recognize it. When I include concepts like requires std::totally_ordered<T> (see in my_priority_queue.h), Eclipse expects a semicolon at the end of the line and does not recognize the requires keyword.
Is there a specific configuration or update required to enable support for C++20 concepts in Eclipse CDT? Any guidance on how to resolve this issue would be greatly appreciated.
Thank you.
|
|
|
Forum: M2T (model-to-text transformation) |
---|
Topic: [Acceleo] IDE Error during Acceleo Project Build in Eclipse 202403 |
---|
[Acceleo] IDE Error during Acceleo Project Build in Eclipse 202403 [message #1864986] |
Mon, 22 April 2024 13:05 |
aga odias Messages: 1 Registered: April 2024 |
Junior Member |
|
|
We are encountering error when running Acceleo Project Build in Eclipse 202403.
Acceleo Plugin: org.eclipse.acceleo.ide.ui v3.17.5 (current release)
(See attached screenshots and workspace log)
Upon investigation, the issue was caused by outdated code in acceleo.ide.ui v3.7.15.
Acceleo code is instantiating a no-arg constructor in org.eclipse.jdt.internal.core.JavaProject class. However, no-arg constructor no longer exist starting jdt.internal.core v3.37.0 (current release).
Before:
jdt.internal.core v3.36.0
- No Error in Acceleo
Now:
jdt.internal.core v3.37.0
- Acceleo Error Started
acceleo.ide.ui v3.17.5
- Acceleo is looking for non existing constructor JavaProject class.
|
|
|
Forum: Eclipse Common Security Infrastructure |
---|
Topic: Public Key Infrastructure Core Package |
---|
Public Key Infrastructure Core Package [message #1864980] |
Mon, 22 April 2024 12:54 |
|
NOW available in Eclipse Marketplace, search on PKI
The comprehensive system required to provide public key encryption and digital signature services is known as a Public Key Infrastructure (PKI). The purpose of a PKI is to manage keys and certificates. By managing keys and certificates through a PKI, an organization establishes and maintains a trustworthy networking environment [^1].
This package is implemented in Java programming language and allows a user to setup an SSLContext to use inside the Eclipse architecture. ,(additionally, A UI is forthcoming org.eclipse.pki.ui ), The preferred option is specified below. That option takes a clear text password and allows the core pki package to encrypt it for any subsequent usage.
Create a file called .pki inside of your user home .eclipse directory. Once you startup eclipse it will create a template in your .eclipse directory that you can update with your personal PKI setup. You can use either a PKCS11 or PKCS12 KeyStore setup. The .pki file for a PKCS12 setup should look similar to the following;
javax.net.ssl.trustStore=/etc/pki/java/cacerts
javax.net.ssl.trustStoreType=JKS
javax.net.ssl.trustStorePassword=changeit
javax.net.ssl.keyStore=/home/user/Certificates/your_org.p12 ( or specify NONE for PKCS11 ) javax.net.ssl.keyStoreType=PKCS12 ( or specify PKCS11 )
javax.net.ssl.keyStorePassword=Clear Text Password ( Eclipse will encrypt on startup )
javax.net.ssl.keyStoreProvider=PKCS12 ( or for PKCS11 use; SunPKCS11 )
javax.net.ssl.cfgFileLocation=NONE ( or for PKCS11; /etc/opensc/pkcs11_java.cfg )
[Updated on: Mon, 22 April 2024 17:07] Report message to a moderator
|
|
|
Forum: Test |
---|
Topic: iiii |
---|
|
Topic: Testing new db |
---|
|
Forum: BPEL Designer |
---|
Topic: Where could I download BPEL designer for Eclipse? |
---|
|
Forum: Objectteams |
---|
Topic: Optimizing Go compiler in complexity? |
---|
|
Powered by
FUDForum. Page generated in 0.04480 seconds