<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>First attempt at printing gives &amp;quot;Production complete&amp;quot; message after 6.5 seconds</title>
        <description> Hello.  I am working on the &quot;Software Tweaking&quot; page of the Darwin build instructions [www.reprap.org].  Specifically, I am in the &quot;Measure the deposited filament section&quot; area of the page, which instructs me to, for the first time with this machine, print a .stl file, widebar.stl.

After setting the parameters as specified (Except that I used 210C for a extrusion temp, as I am using HDPE), closing the program, opening it, loading the widebar.stl file, selecting &quot;HDPE&quot;,  and clicking &quot;Start build&quot;, my RepRap is motionless.  About 7 seconds later, I get the following message:

[attachment 966 ProductionCompleteMessage.png]

Apparently, the reprap-host software thinks it finished the whole job in 6.5 seconds.  Wouldn&#039;t that be nice? :)

Any ideas about what the problem is?

Some facts, as I understand them:

1.)  I am using the latest released reprap-host software, reprap-host-20080523.zip

2.)  I am using the reprap single-Arduino SNAP file from reprap-arduino-firmware-1.3.zip

3.)  The stepper motor exerciser works when I start up the reprap-host program fresh, and I am able to control each stepper.

4.)  The extruder exerciser works when I start up the reprap-host program fresh, and I am able to heat, sense temperature, and extrude.

5.)  On a typical run of reprap-host, doing things like 3 and 4, I usually get the following console messages:

$ reprap-host
Experimental:  JNI_OnLoad called.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
Exception in thread &quot;RepRap&quot; java.lang.NullPointerException
        at javax.swing.ImageIcon.(ImageIcon.java:138)
        at org.reprap.gui.botConsole.PrintTabPanel.initComponents(Unknown Source)
        at org.reprap.gui.botConsole.PrintTabPanel.(Unknown Source)
        at org.reprap.gui.botConsole.BotConsoleFrame.initComponents(Unknown Source)
        at org.reprap.gui.botConsole.BotConsoleFrame.(Unknown Source)
        at org.reprap.gui.botConsole.BotConsoleFrame$1.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        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)
sendMessage error - retrying
sendMessage error - retrying
sendMessage error - retrying
sendMessage error - retrying
sendMessage error - retrying


Everything before the sendMessage errors happens on startup, and the sendMesage errors happen usually when I&#039;m doing something like telling it to extrude or run a motor.  These errors are unpredictable.  On a given program run, I may get 0 or I may get 10.  Usually, they come one at a time.

Are these sendMessage errors normal?  The retries seem to work fine, and the cumulative effect seems to just be a delay in the robot&#039;s response.

6.  Sometimes when I try to print the stl file, I get only the errors mentioned above.  Other times, I&#039;ve gotten a slew of the following errors:

java.lang.NullPointerException
        at org.reprap.comms.snap.SNAPCommunicator.receivePacket(Unknown Source)
        at org.reprap.comms.snap.SNAPCommunicator.sendMessage(Unknown Source)
        at org.reprap.comms.IncomingMessage.(Unknown Source)
        at org.reprap.devices.GenericExtruder$RequestIsEmptyResponse.(Unknown Source)
        at org.reprap.devices.GenericExtruder.RefreshEmptySensor(Unknown Source)
        at org.reprap.devices.GenericExtruder.TEMPpollcheck(Unknown Source)
        at org.reprap.devices.GenericExtruder.getTemperature(Unknown Source)
        at org.reprap.gui.botConsole.GenericExtruderTabPanel.refreshTemperature(Unknown Source)
        at org.reprap.gui.botConsole.GenericExtruderTabPanel.access$100(Unknown Source)
        at org.reprap.gui.botConsole.GenericExtruderTabPanel$1.run(Unknown Source)
java.lang.NullPointerException
        at org.reprap.comms.snap.SNAPCommunicator.receivePacket(Unknown Source)
        at org.reprap.comms.snap.SNAPCommunicator.sendMessage(Unknown Source)
        at org.reprap.comms.IncomingMessage.(Unknown Source)
        at org.reprap.devices.GenericExtruder$RequestIsEmptyResponse.(Unknown Source)
        at org.reprap.devices.GenericExtruder.RefreshEmptySensor(Unknown Source)
        at org.reprap.devices.GenericExtruder.TEMPpollcheck(Unknown Source)
        at org.reprap.devices.GenericExtruder.getTemperature(Unknown Source)
        at org.reprap.gui.botConsole.GenericExtruderTabPanel.refreshTemperature(Unknown Source)
        at org.reprap.gui.botConsole.GenericExtruderTabPanel.access$100(Unknown Source)
        at org.reprap.gui.botConsole.GenericExtruderTabPanel$1.run(Unknown Source)

7.  I have tried shutting down the RepRap, resetting the Arduino, turning the RepRap back on, and starting reprap-host again.  Same 6-second print.

Any thoughts?  Has this happened to anyone else?  Thanks for your help.</description>
        <link>https://reprap.org/forum/read.php?12,15090,15090#msg-15090</link>
        <lastBuildDate>Mon, 12 Oct 2026 09:15:35 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?12,15090,15101#msg-15101</guid>
            <title>Re: First attempt at printing gives &quot;Production complete&quot; message after 6.5 seconds</title>
            <link>https://reprap.org/forum/read.php?12,15090,15101#msg-15101</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />Changing nullcartesian to cartesian in my preferences fixed the problem. What is nullcartesian for, anyway, and why is it the default?</div></blockquote>
<br />
It just does a build preview, and no actual IO. It means the software can run and be tested without needing a real cartesian bot attached to it.]]></description>
            <dc:creator>Ru</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Wed, 30 Jul 2008 03:03:15 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?12,15090,15094#msg-15094</guid>
            <title>Re: First attempt at printing gives &quot;Production complete&quot; message after 6.5 seconds</title>
            <link>https://reprap.org/forum/read.php?12,15090,15094#msg-15094</link>
            <description><![CDATA[ Some other errors I've gotten:<br />
<br />
When setting the Extruder0_XYSpeed to 255, and trying to print the above stl, the machine starts printing, then stops, and eventually outputs:<br />
<br />
IO error/timeout, resending<br />
<br />
Printing at the 247 speed works fine.<br />
<br />
Another error I've gotten:<br />
<br />
Exception in thread "Producer" java.lang.StackOverflowError<br />
        at org.reprap.geometry.polygons.treeList.getChild(Unknown Source)<br />
        at org.reprap.geometry.polygons.treeList.setParents(Unknown Source)<br />
        at org.reprap.geometry.polygons.treeList.setParents(Unknown Source)<br />
        at org.reprap.geometry.polygons.treeList.setParents(Unknown Source)<br />
        at org.reprap.geometry.polygons.treeList.setParents(Unknown Source)<br />
        at org.reprap.geometry.polygons.treeList.setParents(Unknown Source)<br />
        at org.reprap.geometry.polygons.treeList.setParents(Unknown Source)<br />
<br />
<br />
Just thought I should post them as a sort of bug report. :)]]></description>
            <dc:creator>Andromodon</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Tue, 29 Jul 2008 23:35:56 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?12,15090,15091#msg-15091</guid>
            <title>Re: First attempt at printing gives &quot;Production complete&quot; message after 6.5 seconds</title>
            <link>https://reprap.org/forum/read.php?12,15090,15091#msg-15091</link>
            <description><![CDATA[ Wow...  It seems like someone else, just a little while ago, had the same problem as I did.  [<a href="http://forums.reprap.org/read.php?12,15060" target="_blank"  rel="nofollow">forums.reprap.org</a>] <br />
<br />
Changing nullcartesian to cartesian in my preferences fixed the problem.  What is nullcartesian for, anyway, and why is it the default? :)<br />
<br />
Also, if anyone has any insight into the errors I get, I would greatly appreciate hearing it. :)<br />
<br />
~Andy]]></description>
            <dc:creator>Andromodon</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Tue, 29 Jul 2008 23:11:20 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?12,15090,15090#msg-15090</guid>
            <title>First attempt at printing gives &quot;Production complete&quot; message after 6.5 seconds</title>
            <link>https://reprap.org/forum/read.php?12,15090,15090#msg-15090</link>
            <description><![CDATA[ Hello.  I am working on the "Software Tweaking" page of the Darwin build instructions [<a href="http://www.reprap.org/bin/view/Main/RepRapSoftwareTweakingManual" target="_blank"  rel="nofollow">www.reprap.org</a>].  Specifically, I am in the "Measure the deposited filament section" area of the page, which instructs me to, for the first time with this machine, print a .stl file, widebar.stl.<br />
<br />
After setting the parameters as specified (Except that I used 210C for a extrusion temp, as I am using HDPE), closing the program, opening it, loading the widebar.stl file, selecting "HDPE",  and clicking "Start build", my RepRap is motionless.  About 7 seconds later, I get the following message:<br />
<br />
[attachment 966 ProductionCompleteMessage.png]<br />
<br />
Apparently, the reprap-host software thinks it finished the whole job in 6.5 seconds.  Wouldn't that be nice? :)<br />
<br />
Any ideas about what the problem is?<br />
<br />
Some facts, as I understand them:<br />
<br />
1.)  I am using the latest released reprap-host software, reprap-host-20080523.zip<br />
<br />
2.)  I am using the reprap single-Arduino SNAP file from reprap-arduino-firmware-1.3.zip<br />
<br />
3.)  The stepper motor exerciser works when I start up the reprap-host program fresh, and I am able to control each stepper.<br />
<br />
4.)  The extruder exerciser works when I start up the reprap-host program fresh, and I am able to heat, sense temperature, and extrude.<br />
<br />
5.)  On a typical run of reprap-host, doing things like 3 and 4, I usually get the following console messages:<br />
<br />
$ reprap-host<br />
Experimental:  JNI_OnLoad called.<br />
Stable Library<br />
=========================================<br />
Native lib Version = RXTX-2.1-7<br />
Java lib Version   = RXTX-2.1-7<br />
Exception in thread "RepRap" java.lang.NullPointerException<br />
        at javax.swing.ImageIcon.(ImageIcon.java:138)<br />
        at org.reprap.gui.botConsole.PrintTabPanel.initComponents(Unknown Source)<br />
        at org.reprap.gui.botConsole.PrintTabPanel.(Unknown Source)<br />
        at org.reprap.gui.botConsole.BotConsoleFrame.initComponents(Unknown Source)<br />
        at org.reprap.gui.botConsole.BotConsoleFrame.(Unknown Source)<br />
        at org.reprap.gui.botConsole.BotConsoleFrame$1.run(Unknown Source)<br />
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)<br />
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)<br />
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)<br />
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)<br />
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)<br />
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)<br />
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)<br />
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)<br />
sendMessage error - retrying<br />
sendMessage error - retrying<br />
sendMessage error - retrying<br />
sendMessage error - retrying<br />
sendMessage error - retrying<br />
<br />
<br />
Everything before the sendMessage errors happens on startup, and the sendMesage errors happen usually when I'm doing something like telling it to extrude or run a motor.  These errors are unpredictable.  On a given program run, I may get 0 or I may get 10.  Usually, they come one at a time.<br />
<br />
Are these sendMessage errors normal?  The retries seem to work fine, and the cumulative effect seems to just be a delay in the robot's response.<br />
<br />
6.  Sometimes when I try to print the stl file, I get only the errors mentioned above.  Other times, I've gotten a slew of the following errors:<br />
<br />
java.lang.NullPointerException<br />
        at org.reprap.comms.snap.SNAPCommunicator.receivePacket(Unknown Source)<br />
        at org.reprap.comms.snap.SNAPCommunicator.sendMessage(Unknown Source)<br />
        at org.reprap.comms.IncomingMessage.(Unknown Source)<br />
        at org.reprap.devices.GenericExtruder$RequestIsEmptyResponse.(Unknown Source)<br />
        at org.reprap.devices.GenericExtruder.RefreshEmptySensor(Unknown Source)<br />
        at org.reprap.devices.GenericExtruder.TEMPpollcheck(Unknown Source)<br />
        at org.reprap.devices.GenericExtruder.getTemperature(Unknown Source)<br />
        at org.reprap.gui.botConsole.GenericExtruderTabPanel.refreshTemperature(Unknown Source)<br />
        at org.reprap.gui.botConsole.GenericExtruderTabPanel.access$100(Unknown Source)<br />
        at org.reprap.gui.botConsole.GenericExtruderTabPanel$1.run(Unknown Source)<br />
java.lang.NullPointerException<br />
        at org.reprap.comms.snap.SNAPCommunicator.receivePacket(Unknown Source)<br />
        at org.reprap.comms.snap.SNAPCommunicator.sendMessage(Unknown Source)<br />
        at org.reprap.comms.IncomingMessage.(Unknown Source)<br />
        at org.reprap.devices.GenericExtruder$RequestIsEmptyResponse.(Unknown Source)<br />
        at org.reprap.devices.GenericExtruder.RefreshEmptySensor(Unknown Source)<br />
        at org.reprap.devices.GenericExtruder.TEMPpollcheck(Unknown Source)<br />
        at org.reprap.devices.GenericExtruder.getTemperature(Unknown Source)<br />
        at org.reprap.gui.botConsole.GenericExtruderTabPanel.refreshTemperature(Unknown Source)<br />
        at org.reprap.gui.botConsole.GenericExtruderTabPanel.access$100(Unknown Source)<br />
        at org.reprap.gui.botConsole.GenericExtruderTabPanel$1.run(Unknown Source)<br />
<br />
7.  I have tried shutting down the RepRap, resetting the Arduino, turning the RepRap back on, and starting reprap-host again.  Same 6-second print.<br />
<br />
Any thoughts?  Has this happened to anyone else?  Thanks for your help.]]></description>
            <dc:creator>Andromodon</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Tue, 29 Jul 2008 22:59:38 -0400</pubDate>
        </item>
    </channel>
</rss>
