troizet commented on issue #4620:
URL: https://github.com/apache/netbeans/issues/4620#issuecomment-2451364673
I'm facing the same problem.
In the end the file was renamed, the class was not.
Logs:
```
INFO [org.netbeans.ui.vcs]: Versioning command INTERNAL-rename called, took
25ms.
File: /var/www/belgau-rasp/models/Students.php
StartOffset: 292
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor
org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$2
msg
Caused: org.openide.filesystems.FileStateInvalidException:
/var/www/belgau-rasp/models/Students.php@78ddac1:3ef3c650[invalid]
at org.openide.loaders.DataObject.find(DataObject.java:586)
Caused: org.openide.loaders.DataObjectNotFoundException:
/var/www/belgau-rasp/models/Students.php@78ddac1:3ef3c650[invalid]
at org.openide.loaders.DataObject.find(DataObject.java:609)
at
org.netbeans.modules.csl.spi.support.ModificationResult.commit(ModificationResult.java:113)
at
org.netbeans.modules.csl.spi.support.ModificationResult.commit(ModificationResult.java:105)
at
org.netbeans.modules.refactoring.spi.RefactoringCommit.commit(RefactoringCommit.java:128)
Caused: java.lang.RuntimeException
at
org.netbeans.modules.refactoring.spi.RefactoringCommit.commit(RefactoringCommit.java:140)
at
org.netbeans.modules.refactoring.api.RefactoringSession.reallyDoRefactoring(RefactoringSession.java:141)
at
org.netbeans.modules.refactoring.api.RefactoringSession.access$100(RefactoringSession.java:54)
at
org.netbeans.modules.refactoring.api.RefactoringSession$1.run(RefactoringSession.java:97)
at
org.netbeans.modules.refactoring.api.RefactoringSession$1.run(RefactoringSession.java:95)
at
org.netbeans.modules.editor.lib.BeforeSaveTasks.runWithOnSaveTasksDisabled(BeforeSaveTasks.java:68)
at
org.netbeans.editor.Utilities.runWithOnSaveTasksDisabled(Utilities.java:1676)
at
org.netbeans.modules.refactoring.api.RefactoringSession.doRefactoring(RefactoringSession.java:95)
at
org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$2.run(RefactoringPanel.java:547)
at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1403)
at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2018)
ALL [null]: The file /var/www/belgau-rasp/models/Students.php seems no
longer valid!
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists