Opened 2 years ago
Last modified 2 years ago
#22285 reopened defect
DataIntegrityProblemException: Primitive cannot be modified in read-only dataset
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2022-08-01 20:38:58 +0200 (Mon, 01 Aug 2022) Build-Date:2022-08-02 01:30:56 Revision:18531 Relative:URL: ^/trunk Identification: JOSM/1.5 (18531 en_GB) Windows 11 64-Bit OS Build number: Windows 10 Home 2009 (22000) Memory Usage: 247 MB / 247 MB (62 MB allocated, but free) Java version: 1.8.0_341-b10, Oracle Corporation, Java HotSpot(TM) Client VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920×1080 (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: Cp1252 System property sun.jnu.encoding: Cp1252 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\Downloads\josm.jnlp, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=56708, -Djnlpx.jvm=<java.home>\bin\javaw.exe] Dataset consistency test: No problems found Last errors/warnings: - 00003.787 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl - 00004.790 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl - 00176.897 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive cannot be modified in read-only dataset: {Way id=611679012 version=1 VT nodes=[{Node id=5790831720 version=1 V lat=53.1249548,lon=-2.7682584}, {Node id=5790831721 version=1 V lat=53.1249927,lon=-2.768213}, {Node id=5790831722 version=1 V lat=53.1250003,lon=-2.7682307}, {Node id=5790831723 version=1 V lat=53.1250366,lon=-2.7681867}, {Node id=5790831724 version=1 V lat=53.125029,lon=-2.7681696}, {Node id=5790831725 version=1 V lat=53.1250544,lon=-2.7681394}, {Node id=5790831726 version=1 V lat=53.1250162,lon=-2.7680548}, {Node id=5790831727 version=1 V lat=53.124917,lon=-2.7681744}, {Node id=5790831720 version=1 V lat=53.1249548,lon=-2.7682584}]} - 00211.561 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive cannot be modified in read-only dataset: {Way id=611679012 version=1 VT nodes=[{Node id=5790831720 version=1 V lat=53.1249548,lon=-2.7682584}, {Node id=5790831721 version=1 V lat=53.1249927,lon=-2.768213}, {Node id=5790831722 version=1 V lat=53.1250003,lon=-2.7682307}, {Node id=5790831723 version=1 V lat=53.1250366,lon=-2.7681867}, {Node id=5790831724 version=1 V lat=53.125029,lon=-2.7681696}, {Node id=5790831725 version=1 V lat=53.1250544,lon=-2.7681394}, {Node id=5790831726 version=1 V lat=53.1250162,lon=-2.7680548}, {Node id=5790831727 version=1 V lat=53.124917,lon=-2.7681744}, {Node id=5790831720 version=1 V lat=53.1249548,lon=-2.7682584}]} === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-2 (55) of javawsApplicationThreadGroup org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive cannot be modified in read-only dataset: {Way id=611679012 version=1 VT nodes=[{Node id=5790831720 version=1 V lat=53.1249548,lon=-2.7682584}, {Node id=5790831721 version=1 V lat=53.1249927,lon=-2.768213}, {Node id=5790831722 version=1 V lat=53.1250003,lon=-2.7682307}, {Node id=5790831723 version=1 V lat=53.1250366,lon=-2.7681867}, {Node id=5790831724 version=1 V lat=53.125029,lon=-2.7681696}, {Node id=5790831725 version=1 V lat=53.1250544,lon=-2.7681394}, {Node id=5790831726 version=1 V lat=53.1250162,lon=-2.7680548}, {Node id=5790831727 version=1 V lat=53.124917,lon=-2.7681744}, {Node id=5790831720 version=1 V lat=53.1249548,lon=-2.7682584}]} at org.openstreetmap.josm.data.osm.OsmPrimitive.checkDatasetNotReadOnly(OsmPrimitive.java:206) at org.openstreetmap.josm.data.osm.OsmPrimitive.put(OsmPrimitive.java:592) at org.openstreetmap.josm.command.ChangePropertyCommand.executeCommand(ChangePropertyCommand.java:180) at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:300) at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:354) at org.openstreetmap.josm.gui.dialogs.properties.TagEditHelper$EditTagDialog.performTagEdit(TagEditHelper.java:591) at org.openstreetmap.josm.gui.dialogs.properties.TagEditHelper.editTag(TagEditHelper.java:321) at org.openstreetmap.josm.gui.dialogs.properties.PropertiesDialog$MouseClickWatch.mouseClicked(PropertiesDialog.java:1014) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Attachments (0)
Change History (5)
follow-up: 2 comment:1 by , 2 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
follow-up: 3 comment:2 by , 2 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:3 by , 2 years ago
Replying to Klumbumbus:
Replying to skyper:
You data layer is read-only
But this shouldn't produce an exception anyway.
Ah, thanks.
It is probably not a duplicate of #22268 as here is no relation editor involved.
I find org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:300)
in the log. As far as I remember the command stack is deleted after a successful upload.
@anonymous:
Could you please tell us what kind of actions led to the exception.
Might not be related but using a 32-bit java version on a 64-bit operating system is discourage. Please, install and use a 64-bit java version.
comment:4 by , 2 years ago
Summary: | Unable to confirm tag changes → DataIntegrityProblemException: Primitive cannot be modified in read-only dataset |
---|
comment:5 by , 2 years ago
Version: | latest → tested |
---|
Replying to anonymous:
You data layer is read-only aka
locked
, see Layer state.