Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#332 Wavefront export error

closed
nobody
None
5
2008-05-01
2007-10-01
Infernal Quack
No

When I try to export the model http://infernal-quack.net/files/table.aoi to Wavefront (.obj) in AoI v2.5 on Linux with Java 1.6.0_02, I get this error :

java.lang.NullPointerException
at artofillusion.object.TriangleMesh.subdivideLoop(TriangleMesh.java:1320)
at artofillusion.object.TriangleMesh.getRenderingMesh(TriangleMesh.java:773)
at artofillusion.translators.OBJExporter.writeScene(OBJExporter.java:146)
at artofillusion.translators.OBJExporter.exportFile(OBJExporter.java:97)
at artofillusion.translators.OBJTranslator.exportFile(OBJTranslator.java:42)
at artofillusion.LayoutWindow.exportCommand(LayoutWindow.java:1413)
at artofillusion.LayoutWindow.actionPerformed(LayoutWindow.java:1226)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at buoy.internal.EventLinkRecord.dispatchEvent(EventLinkRecord.java:81)
at buoy.event.EventSource.dispatchEvent(EventSource.java:140)
at buoy.widget.Widget.dispatchEvent(Widget.java:326)
at buoy.widget.BMenuItem$1.actionPerformed(BMenuItem.java:93)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1216)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1257)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

I don't know what's going on but it seems to be a bug.

Discussion

  • Infernal Quack
    Infernal Quack
    2007-10-01

    Logged In: YES
    user_id=1903234
    Originator: YES

    File Added: table.aoi

     
  • Infernal Quack
    Infernal Quack
    2007-10-01

    Model

     
    Attachments
  • Infernal Quack
    Infernal Quack
    2007-10-01

    Logged In: YES
    user_id=1903234
    Originator: YES

    File Added: table.aoi

     
  • Infernal Quack
    Infernal Quack
    2007-10-02

    Logged In: YES
    user_id=1903234
    Originator: YES

    I found the problem.

    In my model, I used a curve called "Courbe barre curcive" (hidden) and it seems that the export crash when a curve is part of the selected object to export.

    Perhaps,it will be a good idea to ignore curves during export if they can't be exported to .obj files.

     
  • Peter Eastman
    Peter Eastman
    2008-04-20

    Logged In: YES
    user_id=74743
    Originator: NO

    This will be fixed in 2.6.

     
  • Peter Eastman
    Peter Eastman
    2008-04-20

    • status: open --> pending
     
  • Peter Eastman
    Peter Eastman
    2008-05-01

    • status: pending --> closed