You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
magdmartin opened this issue
Mar 15, 2024
· 1 comment
· Fixed by #6474
Assignees
Labels
metadataAdding metadata to projects, columns and other parts of the data modelType: BugIssues related to software defects or unexpected behavior, which require resolution.
Summarizing the environment from the four users that reported issues we have no clear pattern:
OpenRefine 3.7.1 and 3.7.2 - macOS Ventura Opera 97.0.4 - archilecteur
OpenRefie version unknown Mac Os version 13.6.2 Java(TM) SE Runtime Environment (build 17.0.9+11-LTS-201) Bart_Magnus
OpenRefine 3.7.9 ubuntu Java version "21.0.2" 2024-01-16 LTS Michel_Guenard
OpenRefine 3.7.5 and 3.7.9 Windows 11 openjdk version "17.0.10" 2024-01-16 Michael_Beckett
Current Results
The cell.cross function returns a NullPointerException
The text was updated successfully, but these errors were encountered:
magdmartin
added
Type: Bug
Issues related to software defects or unexpected behavior, which require resolution.
Status: Pending Review
Indicates that the issue or pull request is awaiting review by project maintainers or collaborators
labels
Mar 15, 2024
tfmorris
added a commit
to tfmorris/OpenRefine
that referenced
this issue
Mar 20, 2024
- improve error messages for various types of corruption
- don't automatically recreate missing directories at startup
- extract magic strings into constants
- improve error messages for various types of corruption
- don't automatically recreate missing directories at startup
- extract magic strings into constants
tfmorris
added
metadata
Adding metadata to projects, columns and other parts of the data model
and removed
Status: Pending Review
Indicates that the issue or pull request is awaiting review by project maintainers or collaborators
labels
Mar 20, 2024
This is caused by corrupt workspaces which have projects listed in workspace.json which don't have project directories. Although we have code to attempt to recover a metadata.json file if it's missing and there's data there, if there's nothing at all, it will cause problems for the project lookup by name that cross() uses.
One way to identify workspaces that might be corrupted in this way is empty project directories in the workspace directory. If they are deleted, they will get recreated the next time OpenRefine is started. Editing the workspace.json file to remove the offending project ID(s) (there may be more than one) is a temporary workaround until a fixed version of OpenRefine is available.
* Fix project name lookup with missing metadata. Fixes#6453
- improve error messages for various types of corruption
- don't automatically recreate missing directories at startup
- extract magic strings into constants
* Narrow Exception to IOException
metadataAdding metadata to projects, columns and other parts of the data modelType: BugIssues related to software defects or unexpected behavior, which require resolution.
I am creating this issue to track in Github the error reported in conversation on the forum https://forum.openrefine.org/t/cell-cross-not-working-getting-the-following-error-message-error-java-lang-nullpointerexception/688 - I am not personally experiencing the issue and cannot help to reproduce it.
Summarizing the environment from the four users that reported issues we have no clear pattern:
Current Results
The cell.cross function returns a NullPointerException
The text was updated successfully, but these errors were encountered: