Menu

#13 NullPointerException on Saving

open
None
5
2008-03-12
2008-03-12
Anonymous
No

Hi,

we are working with java 1.5.0_14.
The Helpset, we created with the helpsetmaker has ca. 150 pages. after working 1 or 2 hours with the helpsetmaker we get a NullPointerException. now we can't save anymore, we can't make any output.
we would appretiate it very much, if anyone can give us a hand to work out this situation. because our complete manual, helpset etc. is depending on the helpsetmaker.

cio christoph

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at de.cantamen.helpsetmaker.engine.ProjectEngine.storeDocumentTree(Proje
ctEngine.java:305)
at de.cantamen.helpsetmaker.engine.ProjectEngine.store(ProjectEngine.jav
a:260)
at de.cantamen.helpsetmaker.gui.ProjectFrame.saveProject(ProjectFrame.ja
va:719)
at de.cantamen.helpsetmaker.gui.ProjectFrame.access$3(ProjectFrame.java:
707)
at de.cantamen.helpsetmaker.gui.ProjectFrame$32.actionPerformed(ProjectF
rame.java:327)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Discussion

  • Dirk Hillbrecht

    Dirk Hillbrecht - 2008-03-12

    Logged In: YES
    user_id=576689
    Originator: NO

    Hi, large documents are no problem, we're working with a 300+ document here in-house. Which version of HelpSetMaker are you using? Looking at the stack trace, it could be that it has something to do with labels in the document. Could it be that you have some duplicates? Does the problem always occur when editing the same document?

     
  • Dirk Hillbrecht

    Dirk Hillbrecht - 2008-03-12
    • assigned_to: nobody --> dirkhillbrecht
     
  • Nobody/Anonymous

    Logged In: NO

    Hi,

    first: thanks a lot for your fast response.
    to avoid problems with duplicate labels, we use the expensive label checking. and it occurs when editing the same project. it makes no difference which document we are working on. with new created projects there are errors on saving or building a helpset etc.

    what helps as a workaround for this specific project was to create a new document with a title and! a label. the we could save the project without an exception and also build a new helpset etc.

    it is also remarkable, that all changes on documents were almost saved. but with an exception. and without the message in the statusbar.

    cio christoph

     

Log in to post a comment.

MongoDB Logo MongoDB