Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#18862 closed defect (othersoftware)

NPE in Help Browser when posting

Reported by: Hb--- Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report help html form javabug Cc:


What steps will reproduce the problem?

  1. Open Help
  2. Click on current link to #18845
  3. Click on a Reply button, write some text
  4. Click on Preview/Submit changes

What is the expected result?

Comment posted as anonymous.

What happens instead?


Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-02-26 10:50:27 +0100 (Wed, 26 Feb 2020)
Build-Date:2020-02-26 09:52:41
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15937 de) Windows 7 64-Bit
OS Build number: Windows 7 Professional (7601)
Memory Usage: 1514 MB / 3641 MB (796 MB allocated, but free)
Java version: 1.8.0_212-b03, AdoptOpenJDK, OpenJDK 64-Bit Server VM
Screen: \Display0 1280x1024
Maximum Screen Size: 1280x1024
VM arguments: []

+ PicLayer (35313)
+ apache-commons (35092)
+ buildings_tools (35248)
+ continuosDownload (91)
+ ejml (35122)
+ geotools (35169)
+ jaxb (35092)
+ jts (35122)
+ measurement (35248)
+ opendata (35330)
+ photo_geotagging (35313)
+ photoadjust (35313)
+ print (35248)
+ reverter (35313)
+ tageditor (35258)
+ turnlanes-tagging (283)
+ turnrestrictions (35313)
+ utilsplugin2 (35334)

Tagging presets:

Map paint styles:

Validator rules:

Last errors/warnings:
- W: Failed to parse taginfo data geofabrik-index-v1-nogeom.json
- W: Warnung: Das Absuchen der Datei '' nach Modulinformationen ist fehlgschlagen. Überspringe.
- E: Fehler beim Laden des Bildes ''
- E: Fehler beim Laden des Bildes ''
- E: Fehler beim Laden des Bildes ''
- E: Fehler beim Laden des Bildes ''
- E: Fehler beim Laden des Bildes ''
- E: Fehler beim Laden des Bildes ''
- E: Fehler beim Laden des Bildes ''
- E: Handled by bug report queue: java.lang.NullPointerException

No data collected.

Warning issued by: BugReportExceptionHandler#handleException

Thread: AWT-EventQueue-0 (17) of main
	at javax.swing.text.html.FormView.appendBuffer(
	at javax.swing.text.html.FormView.loadSelectData(
	at javax.swing.text.html.FormView.loadElementDataIntoBuffer(
	at javax.swing.text.html.FormView.getFormData(
	at javax.swing.text.html.FormView.actionPerformed(
	at javax.swing.AbstractButton.fireActionPerformed(
	at javax.swing.AbstractButton$Handler.actionPerformed(
	at javax.swing.DefaultButtonModel.fireActionPerformed(
	at javax.swing.DefaultButtonModel.setPressed(
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
	at java.awt.Component.processMouseEvent(
	at javax.swing.JComponent.processMouseEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.LightweightDispatcher.retargetMouseEvent(
	at java.awt.LightweightDispatcher.processMouseEvent(
	at java.awt.LightweightDispatcher.dispatchEvent(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$500(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by Don-vip

Keywords: html form javabug added

The ticket #18845 has no "version" field filled with a value. When pressing submit, a decent navigator sets a "field_version=" POST argument with an empty value. Java's FormView, however, chokes with an NPE. Nothing we can do in JOSM unless submitting the bug to OpenJDK.

Debug value of internal StringBuilder when the NPE occurs:


comment:2 Changed 3 years ago by Don-vip

Resolution: othersoftware
Status: newclosed

Reported to Oracle with internal review ID : 9063948.

Version 0, edited 3 years ago by Don-vip (next)

comment:3 Changed 3 years ago by Don-vip

Wow it was fast. Oracle fixed the bug in build 19 of JDK 15.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.