java.lang.NullPointerException

Stack Overflow | EliseuGomes7 | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.nitorcreations.robotframework.eclipseide.editors.RobotFrameworkTextfileEditor.ensureRFSupportedLineEndings()
  2. com.nitorcreations.robotframework
    RobotFrameworkTextfileEditor.doSetInput
    1. com.nitorcreations.robotframework.eclipseide.editors.RobotFrameworkTextfileEditor.ensureRFSupportedLineEndings(RobotFrameworkTextfileEditor.java:88)
    2. com.nitorcreations.robotframework.eclipseide.editors.RobotFrameworkTextfileEditor.handleOpenDocument(RobotFrameworkTextfileEditor.java:81)
    3. com.nitorcreations.robotframework.eclipseide.editors.RobotFrameworkTextfileEditor.doSetInput(RobotFrameworkTextfileEditor.java:60)
    3 frames
  3. Text Editor Framework
    AbstractTextEditor$5.run
    1. org.eclipse.ui.texteditor.AbstractTextEditor$5.run(AbstractTextEditor.java:3154)
    1 frame
  4. JFace
    ModalContext.run
    1. org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:437)
    2. org.eclipse.jface.operation.ModalContext.run(ModalContext.java:353)
    2 frames
  5. Eclipse UI
    WorkbenchWindow$14.run
    1. org.eclipse.ui.internal.WorkbenchWindow$14.run(WorkbenchWindow.java:2184)
    1 frame
  6. RWT
    BusyIndicator.showWhile
    1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    1 frame
  7. Eclipse UI
    WorkbenchWindow.run
    1. org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2180)
    1 frame
  8. Text Editor Framework
    AbstractTextEditor.init
    1. org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3172)
    2. org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3197)
    2 frames
  9. Eclipse UI
    EditorReference.initialize
    1. org.eclipse.ui.internal.EditorReference.initialize(EditorReference.java:362)
    1 frame
  10. org.eclipse.ui
    CompatibilityPart.create
    1. org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:319)
    1 frame
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  12. org.eclipse.e4
    ContextInjectionFactory.make
    1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:54)
    2. org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:966)
    3. org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:931)
    4. org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:151)
    5. org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:375)
    6. org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:294)
    7. org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
    7 frames
  13. Eclipse Workbench
    ReflectionContributionFactory.create
    1. org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:105)
    2. org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:74)
    3. org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:56)
    3 frames
  14. org.eclipse.e4
    ContributedPartRenderer.createWidget
    1. org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)
    1 frame
  15. Eclipse Workbench SWT
    PartRenderingEngine$2.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:975)
    2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:651)
    3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:757)
    4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:728)
    5. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:722)
    5 frames
  16. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    1 frame
  17. Eclipse Workbench SWT
    PartRenderingEngine.createGui
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:706)
    1 frame
  18. org.eclipse.e4
    UIEventHandler$1.run
    1. org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1317)
    2. org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:72)
    3. org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
    3 frames
  19. RWT
    Synchronizer.syncExec
    1. org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:233)
    1 frame
  20. Eclipse UI
    UISynchronizer.syncExec
    1. org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
    1 frame
  21. RWT
    Display.syncExec
    1. org.eclipse.swt.widgets.Display.syncExec(Display.java:5406)
    1 frame
  22. Eclipse Workbench SWT
    E4Application$1.syncExec
    1. org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:211)
    1 frame
  23. org.eclipse.e4
    UIEventHandler.handleEvent
    1. org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
    1 frame
  24. org.eclipse.equinox
    EventHandlerTracker.dispatchEvent
    1. org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:201)
    2. org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
    3. org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
    3 frames
  25. Eclipse OSGi
    ListenerQueue.dispatchEventSynchronous
    1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    2. org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
    2 frames
  26. org.eclipse.equinox
    EventComponent.sendEvent
    1. org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
    2. org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
    3. org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
    3 frames
  27. org.eclipse.e4
    EventBroker.send
    1. org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:94)
    1 frame
  28. Eclipse Workbench
    UIEventPublisher.notifyChanged
    1. org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:60)
    1 frame
  29. org.eclipse.emf.common
    BasicNotifierImpl.eNotify
    1. org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
    1 frame
  30. org.eclipse.e4
    ElementContainerImpl.setSelectedElement
    1. org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:173)
    1 frame
  31. Eclipse Workbench
    PartServiceImpl.showPart
    1. org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:617)
    2. org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:581)
    3. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:770)
    4. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1211)
    4 frames
  32. Eclipse UI
    WorkbenchPage$10.run
    1. org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3261)
    2. org.eclipse.ui.internal.WorkbenchPage.access$25(WorkbenchPage.java:3176)
    3. org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:3158)
    3 frames
  33. RWT
    BusyIndicator.showWhile
    1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    1 frame
  34. Eclipse UI
    WorkbenchPage.openEditor
    1. org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3153)
    2. org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3117)
    3. org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3098)
    3 frames
  35. Eclipse UI
    EditorAreaDropAdapter.lambda$0
    1. org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1397)
    2. org.eclipse.ui.internal.ide.EditorAreaDropAdapter.asyncDrop(EditorAreaDropAdapter.java:136)
    3. org.eclipse.ui.internal.ide.EditorAreaDropAdapter.lambda$0(EditorAreaDropAdapter.java:83)
    3 frames
  36. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
    3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4528)
    4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4146)
    4 frames
  37. Eclipse Workbench SWT
    PartRenderingEngine$4.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
    1 frame
  38. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
    1 frame
  39. Eclipse Workbench SWT
    PartRenderingEngine.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
    1 frame
  40. Eclipse Workbench
    E4Workbench.createAndRunUI
    1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
    1 frame
  41. Eclipse UI
    Workbench$5.run
    1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
    1 frame
  42. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
    1 frame
  43. Eclipse UI
    Workbench.createAndRunWorkbench
    1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
    1 frame
  44. Eclipse UI
    PlatformUI.createAndRunWorkbench
    1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
    1 frame
  45. Eclipse IDE
    IDEApplication.start
    1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
    1 frame
  46. Equinox Container
    EclipseAppHandle.run
    1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    1 frame
  47. Eclipse OSGi
    EclipseStarter.run
    1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
    4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
    4 frames
  48. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  49. Equinox
    Main.main
    1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
    2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
    3. org.eclipse.equinox.launcher.Main.run(Main.java:1519)
    4. org.eclipse.equinox.launcher.Main.main(Main.java:1492)
    4 frames