[Bug 455270] [NEW] Negation on arc in schematic view translates to NullPointerException in VHDL

themusicgod1 themusicgod1 at zworg.com
Mon Oct 19 08:57:59 UTC 2009


Public bug reported:

Binary package hint: electric

Electric 8.07-1, Ubuntu 8.10
(this works fine in Ubuntu 6.06 / electric 6.05)

1. Create a schematic using a negation symbol(by means of C-t on an and gate, say)
2. View->Make VHDL view 

result is: 
NullPointerException:

with 
 java.lang.NullPointerException
	at com.sun.electric.tool.user.GenerateVHDL.generateVHDL(GenerateVHDL.java:337)
	at com.sun.electric.tool.user.GenerateVHDL.access$100(GenerateVHDL.java:61)
	at com.sun.electric.tool.user.GenerateVHDL$Visitor.enterCell(GenerateVHDL.java:117)
	at com.sun.electric.database.hierarchy.HierarchyEnumerator.enumerateCell(HierarchyEnumerator.java:262)
	at com.sun.electric.database.hierarchy.HierarchyEnumerator.doIt(HierarchyEnumerator.java:306)
	at com.sun.electric.database.hierarchy.HierarchyEnumerator.enumerateCell(HierarchyEnumerator.java:812)
	at com.sun.electric.database.hierarchy.HierarchyEnumerator.enumerateCell(HierarchyEnumerator.java:806)
	at com.sun.electric.database.hierarchy.HierarchyEnumerator.enumerateCell(HierarchyEnumerator.java:802)
	at com.sun.electric.database.hierarchy.HierarchyEnumerator.enumerateCell(HierarchyEnumerator.java:798)
	at com.sun.electric.tool.user.GenerateVHDL.convertCell(GenerateVHDL.java:99)
	at com.sun.electric.tool.user.menus.ToolMenu$DoSilCompActivity.performTaskNoJob(ToolMenu.java:1774)
	at com.sun.electric.tool.user.menus.ToolMenu$DoSilCompActivity.doIt(ToolMenu.java:1864)
	at com.sun.electric.tool.EThread.run(EThread.java:84)
in electric.log

result should be : 
valid VHDL, just as if it did not contain the negation symbol, with the correct logic

if that's not possible result should be:
some kind of error message along the lines of 'we can't compile your request due to your schematic containing a negation(?)'

themusicgod1 at fwtaylor:~$ apt-cache policy electric
electric:
  Installed: 8.07-1
  Candidate: 8.07-1
  Version table:
 *** 8.07-1 0
        500 http://ubuntu.mirror.rafal.ca intrepid/universe Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 8.10
Package: electric 8.07-1
PackageArchitecture: all
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/username/tools
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: electric
Uname: Linux 2.6.27-11-server x86_64

** Affects: electric (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
Negation on arc in schematic view translates to NullPointerException in VHDL
https://bugs.launchpad.net/bugs/455270
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list