java.lang.IllegalArgumentException: Illegal value: -1

openxava | tianschoeman | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Illegal value: -1

    at org.eclipse.core.internal.resources.Resource.revertModificationStamp()
  2. Core Resource Management
    Resource.revertModificationStamp
    1. org.eclipse.core.internal.resources.Resource.revertModificationStamp(Resource.java:1618)
    1 frame
  3. File Buffers
    ResourceFileBuffer.commit
    1. org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.commitFileBufferContent(ResourceTextFileBuffer.java:403)
    2. org.eclipse.core.internal.filebuffers.ResourceFileBuffer.commit(ResourceFileBuffer.java:327)
    2 frames
  4. Java Development Tools UI
    DocumentAdapter.save
    1. org.eclipse.jdt.internal.ui.javaeditor.DocumentAdapter.save(DocumentAdapter.java:472)
    1 frame
  5. JDT Core
    JavaModelOperation.run
    1. org.eclipse.jdt.internal.core.CommitWorkingCopyOperation.executeOperation(CommitWorkingCopyOperation.java:123)
    2. org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:729)
    2 frames
  6. Core Resource Management
    Workspace.run
    1. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
    1 frame
  7. JDT Core
    CompilationUnit.commitWorkingCopy
    1. org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:794)
    2. org.eclipse.jdt.internal.core.CompilationUnit.commitWorkingCopy(CompilationUnit.java:391)
    2 frames
  8. Java Development Tools UI
    CompilationUnitDocumentProvider$4.execute
    1. org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider.commitWorkingCopy(CompilationUnitDocumentProvider.java:1378)
    2. org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider$4.execute(CompilationUnitDocumentProvider.java:1458)
    2 frames
  9. Default Text Editor
    TextFileDocumentProvider$DocumentProviderOperation.run
    1. org.eclipse.ui.editors.text.TextFileDocumentProvider$DocumentProviderOperation.run(TextFileDocumentProvider.java:132)
    1 frame
  10. Eclipse UI
    WorkspaceModifyOperation$1.run
    1. org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:70)
    2. org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:108)
    2 frames
  11. Core Resource Management
    Workspace.run
    1. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
    1 frame
  12. Eclipse UI
    WorkspaceModifyOperation.run
    1. org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:130)
    1 frame
  13. Default Text Editor
    TextFileDocumentProvider.saveDocument
    1. org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:75)
    2. org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:65)
    3. org.eclipse.ui.editors.text.TextFileDocumentProvider.executeOperation(TextFileDocumentProvider.java:456)
    4. org.eclipse.ui.editors.text.TextFileDocumentProvider.saveDocument(TextFileDocumentProvider.java:772)
    4 frames
  14. Text Editor Framework
    AbstractTextEditor.performSave
    1. org.eclipse.ui.texteditor.AbstractTextEditor.performSave(AbstractTextEditor.java:5076)
    1 frame
  15. Java Development Tools UI
    CompilationUnitEditor.doSave
    1. org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.performSave(CompilationUnitEditor.java:1244)
    2. org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.doSave(CompilationUnitEditor.java:1298)
    2 frames
  16. Text Editor Framework
    AbstractTextEditor$TextEditorSavable.doSave
    1. org.eclipse.ui.texteditor.AbstractTextEditor$TextEditorSavable.doSave(AbstractTextEditor.java:7209)
    1 frame
  17. Eclipse UI
    Saveable.doSave
    1. org.eclipse.ui.Saveable.doSave(Saveable.java:216)
    1 frame
  18. Eclipse UI
    SaveableHelper$5.run
    1. org.eclipse.ui.internal.SaveableHelper.doSaveModel(SaveableHelper.java:357)
    2. org.eclipse.ui.internal.SaveablesList$3.run(SaveablesList.java:665)
    3. org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:285)
    3 frames
  19. JFace
    ModalContext.run
    1. org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:463)
    2. org.eclipse.jface.operation.ModalContext.run(ModalContext.java:371)
    2 frames
  20. Eclipse UI
    WorkbenchWindow$14.run
    1. org.eclipse.ui.internal.WorkbenchWindow$14.run(WorkbenchWindow.java:2181)
    1 frame
  21. RWT
    BusyIndicator.showWhile
    1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    1 frame
  22. Eclipse UI
    WorkbenchPage.saveAllEditors
    1. org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2177)
    2. org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:293)
    3. org.eclipse.ui.internal.SaveablesList.saveModels(SaveablesList.java:675)
    4. org.eclipse.ui.internal.WorkbenchPage.saveAll(WorkbenchPage.java:3660)
    5. org.eclipse.ui.internal.WorkbenchPage.saveAllEditors(WorkbenchPage.java:3638)
    6. org.eclipse.ui.internal.WorkbenchPage.saveAllEditors(WorkbenchPage.java:3581)
    6 frames
  23. Eclipse UI
    CleanDialog.buttonPressed
    1. org.eclipse.ui.internal.ide.actions.BuildUtilities.saveEditors(BuildUtilities.java:184)
    2. org.eclipse.ui.internal.ide.dialogs.CleanDialog.buttonPressed(CleanDialog.java:142)
    2 frames
  24. JFace
    Dialog$2.widgetSelected
    1. org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
    1 frame
  25. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
    2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)
    4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1329)
    5. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3819)
    6. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3430)
    6 frames
  26. JFace
    MessageDialog.open
    1. org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
    2. org.eclipse.jface.window.Window.open(Window.java:803)
    3. org.eclipse.jface.dialogs.MessageDialog.open(MessageDialog.java:330)
    3 frames
  27. Eclipse UI
    BuildCleanAction.run
    1. org.eclipse.ui.internal.ide.actions.BuildCleanAction.run(BuildCleanAction.java:50)
    1 frame
  28. JFace
    ActionContributionItem$5.handleEvent
    1. org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
    2. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
    3. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
    4. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
    4 frames
  29. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)
    3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1329)
    4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3819)
    5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3430)
    5 frames
  30. Eclipse Workbench SWT
    PartRenderingEngine$4.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
    1 frame
  31. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    1 frame
  32. Eclipse Workbench SWT
    PartRenderingEngine.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
    1 frame
  33. Eclipse Workbench
    E4Workbench.createAndRunUI
    1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
    1 frame
  34. Eclipse UI
    Workbench$5.run
    1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
    1 frame
  35. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    1 frame
  36. Eclipse UI
    Workbench.createAndRunWorkbench
    1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
    1 frame
  37. Eclipse UI
    PlatformUI.createAndRunWorkbench
    1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    1 frame
  38. Eclipse IDE
    IDEApplication.start
    1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
    1 frame
  39. Equinox Container
    EclipseAppHandle.run
    1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    1 frame
  40. 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:380)
    4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    4 frames
  41. 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
  42. Equinox
    Main.main
    1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
    2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
    3. org.eclipse.equinox.launcher.Main.run(Main.java:1515)
    4. org.eclipse.equinox.launcher.Main.main(Main.java:1488)
    4 frames