Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 236508 - NullPointerException: The description parameter cannot be null
NullPointerException: The description parameter cannot be null
Product: javafx
Classification: Unclassified
Component: Editor
All All
: P3 (vote)
: 8.0
Assigned To: Svata Dedic
Depends on: 236509
  Show dependency treegraph
Reported: 2013-09-29 00:48 UTC by Chiana
Modified: 2013-12-21 07:20 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT

stacktrace (1003 bytes, text/plain)
2013-09-29 00:49 UTC, Chiana
stacktrace (1003 bytes, text/plain)
2013-09-29 00:51 UTC, Chiana
Offending project (entire) (168.80 KB, application/x-zip-compressed)
2013-09-29 00:55 UTC, Chiana

Note You need to log in before you can comment on or make changes to this bug.
Description Chiana 2013-09-29 00:48:58 UTC
This bug was originally marked as duplicate of bug 234947, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201309250002)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 7

User Comments:
Chiana: Tried to save a fxml file by pressing control-S

GUEST: Right click => Edit on an fxml file

Chiana: Pasted " xmlns:fx=""" into a JavaFX "<AnchorPane" line

ionuion: right click on a fxml file in the project window

java.lang.NullPointerException: The description parameter cannot be null
   at org.openide.util.Parameters.notNull(
   at org.netbeans.spi.editor.hints.ErrorDescriptionFactory.createErrorDescription(
   at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(
   at org.netbeans.modules.parsing.impl.TaskProcessor$
Comment 1 Chiana 2013-09-29 00:49:00 UTC
Created attachment 140608 [details]
Comment 2 Chiana 2013-09-29 00:51:45 UTC
Created attachment 140609 [details]

Restarted IDE to get rid of this error, but it persists after restart...
Comment 3 Exceptions Reporter 2013-09-29 00:51:49 UTC
This bug already has 5 duplicates 
Comment 4 Chiana 2013-09-29 00:55:38 UTC
Created attachment 140610 [details]
Offending project (entire)
Comment 5 Chiana 2013-09-29 01:14:34 UTC
It seems this is related to the xmlns:fx="" parameter that is set, that makes to not work properly, if you then add "xmlns:fx="" this error occurs, if you on the other hand remove the "/1" from the xmlns:fx..." line it seems to work...
Comment 6 Lou Dasaro 2013-09-29 06:02:30 UTC
This exception likely a result of trying to redefine namespace xmlns:fx, e.g. xmlns:fx="" xmlns:fx="". 
I copied that into my FXMLDocument.fxml and quickly received an Exception.

For the workaround, you should delete one of the xmlns:fx declarations - but bear in mind that each time you save the file in Scene Builder, it will update the namespaces as follows (using Scene Builder 1.1 GA, which correctly injects): 
xmlns:fx="" xmlns=""

See also bug 236509 and included JavaFX RT and Scene Builder JIRAs.
Comment 7 Svata Dedic 2013-09-29 16:45:56 UTC
will be fixed soon for dev/8.0
Comment 8 Svata Dedic 2013-10-02 08:39:29 UTC
Actually a separate defect, even with improved namespace support. Note you cannot have two xmlns attributes, it's a XML level error. 

Fixed in rev
Comment 9 Quality Engineering 2013-10-04 01:31:41 UTC
Integrated into 'main-silver', will be available in build *201310040001* on (upload may still be in progress)

User: Svata Dedic <>
Log: #236508: Missing error messages added, I18N added
Comment 10 Lou Dasaro 2013-10-04 08:11:23 UTC
Is blocked until bug 236509 fix becomes a 7.4 patch.
Comment 11 Lou Dasaro 2013-12-21 07:20:45 UTC
Verified Fixed in NetBeans 7.4-patch1

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo