Bug 730080

Summary: [abrt] blender-2.49b-11.fc13: export_m3g.py:1356:writeJava:AttributeError: 'NoneType' object has no attribute 'id'
Product: [Fedora] Fedora Reporter: Yodafon <yodafon>
Component: blenderAssignee: Jochen Schmitt <jochen>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 13CC: jochen, kwizart, promac
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:353cf124
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-01 18:39:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Yodafon 2011-08-11 17:42:25 UTC
abrt version: 1.1.14
architecture: x86_64
cmdline: /usr/bin/blender.bin
component: blender
executable: /usr/bin/blender.bin
kernel: 2.6.34.9-69.fc13.x86_64
package: blender-2.49b-11.fc13
reason: export_m3g.py:1356:writeJava:AttributeError: 'NoneType' object has no attribute 'id'
release: Fedora release 13 (Goddard)
time: 1313091632
uid: 500

backtrace
-----
export_m3g.py:1356:writeJava:AttributeError: 'NoneType' object has no attribute 'id'

Traceback (most recent call last):
  File "/home/Laci/.blender/scripts/export_m3g.py", line 3061, in file_callback_java
    exporter.start()
  File "/home/Laci/.blender/scripts/export_m3g.py", line 2703, in start
    self.writer.writeFile(world, exportList, externalReferences)
  File "/home/Laci/.blender/scripts/export_m3g.py", line 2732, in writeFile
    element.writeJava(self,True)
  File "/home/Laci/.blender/scripts/export_m3g.py", line 1356, in writeJava
    aWriter.write(2,"BL%i.setNormals(BL%i);" % (self.id,self.normals.id))
AttributeError: 'NoneType' object has no attribute 'id'

Local variables in innermost frame:
self: <M3GVertexBuffer::4>
aWriter: <__main__.JavaWriter instance at 0x2e65440>
aCreate: True

How to reproduce
-----
1. File-> Export
2. Choose the m3g file format
3. Select the "As Java source"
4. Ok

Comment 1 Yodafon 2011-08-11 17:42:28 UTC
Created attachment 517853 [details]
File: backtrace

Comment 2 Nicolas Chauvet (kwizart) 2012-08-01 18:39:59 UTC
F-13 is now EOL, please reproduce with a more recent version