We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.

The latest version of the book is P1.0, released about 6 years ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

Key: Typo Tech. Error Suggestion Not a problem Next edition

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:  

(To find out what version you have, look at the copyright page, a few pages in from the front of the book. If it says (say) 'Second Printing', then here it'll be P2.0. If there are interim PDF releases in that printing, they'll be 2.1, 2.2, and so on.)

PDF Paper Description Found in Fixed in
0
#35220: This issue is on many of the pages in the book (17, 18, 19, ... 181, 203) and is more nit-picky but I noticed that in many (but not all) of th...more...
B1.0
13-Oct-08
19

#32381: The paragraph at the bottom of page 19 that starts with 'The"blue pill"...' is missing a space between 'The' and '"blue'. Very minor.

B1.0
13-Jun-08
25

#30809: $groovy -version did not work (using version 1.5.4)
Had to use
$groovy -v
or
$groovy --version--Subhasish Mukherjee

B1.0
15-Feb-08
36

#41025: 3.4 Optional Return Statements
"global warning" instead of "global warming"--Tom Bender

B1.0
20-Oct-09
44 44

#30511: global warning should be global warming--Tim Orr

B1.0
18-Jan-08
52

#36259: In the first example of the "Safe Dereferencing" section, the output of s.size() should be 4 not 5.--Jim Goodnow

P1.0
03-Dec-08
54
#43029: // I'm using Groovy Version: 1.7.1 JVM: 1.6.0_18 // this doesn't remove any items from the map // family.remove always returns null when usi...more...
P1.0
30-Apr-10
84

#31921: java.io.tmp property doesn't exist. Should be java.io.tmpdir instead.--Leslie Johnson

P1.0
07-May-08
109
#30737: In Appending data to an existing file this code (before and after the append) println "${file.size()} lines" should be println "${fil...more...
B1.0
12-Feb-08
121

#38430: First sentence. "You still want to know how XmlParser..." should be "You still want to know how XmlSlurper..."

P1.0
20-Mar-09
121
#35205: The last sentence of the second paragraph says, "Therefore, you must trap for it explicitly:" but I thing it should be "Therefore, you must as...more...
B1.0
13-Oct-08
122
#35206: The first (only) sentence of second paragraph says, "... your query results can end up being looking like nonsense ..." and I strongly suspect...more...
B1.0
13-Oct-08
126
#35207: There's a space missing between the end of the first sentence on the page and the start of the second. "... construct a valid GroovyBean from ...more...
P1.0
13-Oct-08
152
#35208: The last sentence in the "Building the Query String from a Map" section refers the reader to Section 9.4, "Creating a Convenience QueryString ...more...
B1.0
13-Oct-08
185
#35211: Last sentence of the first paragraph says, "It can yield unpredictable results if the getter or setter is doing anything other than directly s...more...
B1.0
13-Oct-08
196
#42341: In the third paragraph, ".bash_rc" should be ".bashrc" (Book version 2008-04-23, P2.0 printing, April 2008. P2.0 was NOT an option in the web ...more...
P1.0
19-Feb-10
212
#33359: On section 11.8 in the explanation of the code for the BookController, the text mentions the call to the controller "Bookstore.list" and it sh...more...
P1.0
29-Jul-08
222
#35216: Last sentence in the first paragraph says, "The value that appears in the combo box is the toString method." Perhaps this should be "The valu...more...
B1.0
13-Oct-08
228
#35218: The first sentence of the last paragraph in the "Render as XML" section says, "In this example, we'll leave off the parentheses on the render ...more...
B1.0
13-Oct-08
236

#35219: The first (and only) paragraph on the page is composed of the same five sentences twice.--Burk Hufnagel

B1.0
13-Oct-08