UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 51309

14.2 PlanAhead - Saving I/O Pin Planning project to a new UCF file results in java.lang.NullPointerException

Description

If I attempt to save a UCF file after assigning pins in I/O pin planning of the PlanAhead tool, a window pops up stating there is "No Target constraints File" and asks for a constraints file name, but when I type in the file name field, the PlanAhead tool returns an error similar to the following:

NOTE: This issue is reproducible in the PlanAhead 14.2 tool and not reproducible in the Vivado tool.

#-------------------------------------------------------------------------------
# PlanAhead v14.2 (64-bit)
# Build 194362 by xbuild on Fri Jul 20 18:49:25 MDT 2012
# Current time: 8/10/12 9:40:06 AM
# Process ID: 24464
# Platform: Unix
#
# This file is an indication that an internal application error occurred.
# This information is useful for debugging. Please open a case with Xilinx
# Technical Support with this file and a testcase attached.
#-------------------------------------------------------------------------------
8/10/12 9:40:06 AM
java.lang.NullPointerException
 at ui.c.f.a.E.rG(SourceFile:62)
 at ui.c.f.a.G.update(SourceFile:193)
 at ui.c.f.a.G.b(SourceFile:41)
 at ui.c.f.a.J.insertUpdate(SourceFile:271)
 at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:202)
 at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:749)
 at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:708)
 at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
 at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:670)
 at javax.swing.text.JTextComponent.replaceSelection(JTextComponent.java:1379)
 at javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction.actionPerformed(DefaultEditorKit.java:876)
 at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1661)
 at javax.swing.JComponent.processKeyBinding(JComponent.java:2879)
 at javax.swing.JComponent.processKeyBindings(JComponent.java:2926)
 at javax.swing.JComponent.processKeyEvent(JComponent.java:2842)
 at java.awt.Component.processEvent(Component.java:6282)
 at java.awt.Container.processEvent(Container.java:2229)
 at java.awt.Component.dispatchEventImpl(Component.java:4861)
 at java.awt.Container.dispatchEventImpl(Container.java:2287)
 at java.awt.Component.dispatchEvent(Component.java:4687)
 at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1908)
 at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:752)
 at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1017)
 at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:889)
 at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:717)
 at java.awt.Component.dispatchEventImpl(Component.java:4731)
 at java.awt.Container.dispatchEventImpl(Container.java:2287)
 at java.awt.Window.dispatchEventImpl(Window.java:2713)
 at java.awt.Component.dispatchEvent(Component.java:4687)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
 at java.awt.EventQueue.access$000(EventQueue.java:101)
 at java.awt.EventQueue$3.run(EventQueue.java:666)
 at java.awt.EventQueue$3.run(EventQueue.java:664)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
 at java.awt.EventQueue$4.run(EventQueue.java:680)
 at java.awt.EventQueue$4.run(EventQueue.java:678)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
 at ui.frmwork.v.dispatchEvent(SourceFile:73)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java

Solution

This issue has been seen in the PlanAhead tool (standalone) version 14.2 and is fixed in ISE Design Suite 14.3.

To work around the problem in ISE Design Suite 14.2, you will need to avoid using the text field for creating a new target file in the "No Target Constraints File" dialog. This can be done in one of two ways:

  • Add a constraints file to the project and set that as a target (can be done via GUI with Add Sources Wizard followed by selecting file in Sources View; right-click menu "Set as Target Constraint File", or this can be done via tcl).
  • Add a constraints file to the project (via GUI or Tcl) and select that file in the "No Target Constraints File" dialog (lower option with combo box).
AR# 51309
Date Created 08/15/2012
Last Updated 11/08/2013
Status Active
Type Known Issues
Tools
  • PlanAhead - 14.2