Files copy - cut - past not working in Projects or Files windows on Windows OS
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Apache NetBeans version
Apache NetBeans 19
### What happened
When I try to `copy` a file in Projects window I get a silent exception in the notifications windows of
`java.lang.IllegalArgumentException: failed to parse:application/x-java-openide-dataobjectdnd;class=org.openide.loaders.DataObject;mask=١` and this happens also for `cut` operation.
The problem occurs when when I `copy` with context menu or with short cut `CTRL + C`.
If I copy I file from windows and I past it into a package of a folder in Netbeans Projects or FIles it doesn't past I get the same exception.
### How to reproduce
1. Create a new java project.
2. Try to copy a file from a package in Projects windows.
3. Look for the exception in Notifications window.
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Microsoft Windows 10 Enterprise N openjdk version "17.0.8.1" 2023-08-24
### JDK
openjdk version "17.0.8.1" 2023-08-24
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
1. This also occurred on windows 11 pro on another computer.
2. I had an installation previously where I didn't have the problem but I can't find out how was it working.
3. I tried running Netbeans as administrator but it showed the same behavior.
### Are you willing to submit a pull request?
No
Contributor guide
Research direction
Reproduce the copy and cut failure in the Projects or Files window on Windows using a new Java project, then start from the reported IllegalArgumentException and its application/x-java-openide-dataobjectdnd payload. Compare context-menu, keyboard, and Windows Explorer paste operations; done means these file operations work without the notification exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100