
| Key: |
BEGINNINGEE6-2
|
| Type: |
Bug
|
| Status: |
Open
|
| Priority: |
Critical
|
| Assignee: |
Unassigned
|
| Reporter: |
rarchibald
|
| Votes: |
0
|
| Watchers: |
1
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
File Attachments:
|
1.
stacktrace.txt (8 kB) 06/Jul/11 06:42 PM - rarchibald
|
|
Image Attachments:
|
|
|
Environment:
|
Glassfish 3.1
Netbeans 7.0
Java 1.6
Maven 2.2.1
Glassfish 3.1
Netbeans 7.0
Java 1.6
Maven 2.2.1
|
|
I wanted to start with the solution to verify it was running before learning these technologies that are new to me. I've been able to build the project in Maven. However, when I try to create a book, I get a NullPointerException from line 84 "book.setTags(transformToList(tags));" where the tags value is null. As a side-note, I was able to create a new CD with newCD.xhtml. I've attached the following screenshots:
screenshot.jpg - Shows the newBook.xhtml form filled out
debug-error.jpg - Shows NetBeans IDE in debug mode after the "Create a book" button was clicked
stacktrace.txt - Shows the stack trace
|
|
Description
|
I wanted to start with the solution to verify it was running before learning these technologies that are new to me. I've been able to build the project in Maven. However, when I try to create a book, I get a NullPointerException from line 84 "book.setTags(transformToList(tags));" where the tags value is null. As a side-note, I was able to create a new CD with newCD.xhtml. I've attached the following screenshots:
screenshot.jpg - Shows the newBook.xhtml form filled out
debug-error.jpg - Shows NetBeans IDE in debug mode after the "Create a book" button was clicked
stacktrace.txt - Shows the stack trace |
Show » |
Sort Order:
|
FYI - I made two edits to ItemBean and ItemEJB per the Hands On Lab PDF (I replaced one occurrence of @Resource in ItemEJB and one occurrence of @EJB in ItemBean with @Inject).