Modify ↓
Opened 4 years ago
Closed 7 months ago
#21004 closed defect (duplicate)
NPE at PhotoAdjustWorker.translatePhoto
Reported by: | anonymous | Owned by: | holgermappt |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin photoadjust | Version: | |
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: 2021-06-02 22:03:39 +0200 (Wed, 02 Jun 2021) Build-Date:2021-06-02 20:11:30 Revision:17919 Relative:URL: ^/trunk Identification: JOSM/1.5 (17919 ru) Windows 7 64-Bit OS Build number: Windows 7 Ultimate (7601) Memory Usage: 1064 MB / 1820 MB (482 MB allocated, but free) Java version: 1.8.0_291-b10, Oracle Corporation, Java HotSpot(TM) 64-Bit Server 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: Cp1251 System property sun.jnu.encoding: Cp1251 Locale info: ru_RU Numbers with default locale: 1234567890 -> 1234567890 Plugins: + BuildingGeneralization (36) + ColorPlugin (1537115529) + FastDraw (35640) + HouseNumberTaggingTool (35640) + Mapillary (2.0.0-alpha.11) + RoadSigns (35640) + ShapeTools (1240) + apache-commons (35524) + apache-http (35589) + buildings_tools (35756) + editgpx (35562) + ejml (35458) + geotools (35458) + imagery_offset_db (35640) + jaxb (35543) + jna (35662) + jts (35458) + mapwithai (1.8.2) + opendata (35640) + osm-obj-info (56) + photo_geotagging (35738) + photoadjust (35770) + tageditor (35640) + utilsplugin2 (35691) Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1 Last errors/warnings: - 00208.812 E: Не удалось найти изображение «regulatory--texts--g2» - 00208.842 E: Не удалось найти изображение «void--car-mount» - 00208.844 E: Не удалось найти изображение «void--dynamic» - 00208.847 E: Не удалось найти изображение «void--ego-vehicle» - 00208.849 E: Не удалось найти изображение «void--ground» - 00208.851 E: Не удалось найти изображение «void--static» - 00208.897 E: Не удалось найти изображение «warning--kangaroo-crossing--g1» - 00503.791 E: Handled by bug report queue: java.lang.NullPointerException - 00503.800 E: Handled by bug report queue: java.lang.NullPointerException - 00503.803 E: Handled by bug report queue: java.lang.NullPointerException === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (18) of main java.lang.NullPointerException at org.openstreetmap.josm.plugins.photoadjust.PhotoAdjustWorker.translatePhoto(PhotoAdjustWorker.java:212) at org.openstreetmap.josm.plugins.photoadjust.PhotoAdjustWorker.doMouseDragged(PhotoAdjustWorker.java:172) at org.openstreetmap.josm.plugins.photoadjust.PhotoAdjustPlugin$2.mouseDragged(PhotoAdjustPlugin.java:68) at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source) at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source) at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source) at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source) at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source) at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source) at java.awt.Component.processMouseMotionEvent(Unknown Source) at javax.swing.JComponent.processMouseMotionEvent(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 (3)
comment:1 by , 4 years ago
Component: | Core → Plugin photoadjust |
---|---|
Owner: | changed from | to
Summary: | crash → NPE at PhotoAdjustWorker.translatePhoto |
comment:2 by , 4 years ago
comment:3 by , 7 months ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Closed as duplicate of #23239.
Note:
See TracTickets
for help on using tickets.
Can you please describe what you did? Looks like you drag one or multiple images, but one of the image throws the NPE. I can add more checks, but there might be an issue with the images if a dragged image is null.