This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 107023

Summary: Page fragment DnD creation throws IOException
Product: obsolete Reporter: Lark Fitzgerald <lfitzgerald>
Component: visualwebAssignee: Winston Prakash <wjprakash>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: error text

Description Lark Fitzgerald 2007-06-18 15:21:18 UTC
NB6: 200706180000
Woodstock 4.1 200706172309

Unable to create page fragment using DnD.  This is the primary usecase.

Steps:
1. drag a palette > layout > page fragment box onto designer (ee5)
2. press Create new fragment button

IOException is thrown (attached)
java.io.IOException: Can't find template FileObject for Templates/JSP_Servlet/PageFragment.jspf

workaround:
right click project > web Pages and create a page fragment using menu's.
Comment 1 Lark Fitzgerald 2007-06-18 15:22:07 UTC
Created attachment 43889 [details]
error text
Comment 2 _ sandipchitale 2007-06-18 16:46:58 UTC
FYI: I think this was introduced by Pavel (related to his work on fixing categories in new File Wizrd) on thursday and 
fixed by him on Friday.
Comment 3 Winston Prakash 2007-06-18 18:19:43 UTC
Lark could you verify.
Comment 4 Lark Fitzgerald 2007-06-19 19:13:17 UTC
This still fails in build:
NB6: 200706190000
Woodstock 4.1 200706172309
Comment 5 Winston Prakash 2007-06-20 01:32:26 UTC
Fixed now. The templates are re-arranged. So, it need to fixed in the Page Fragment Panel also.
Comment 6 Lark Fitzgerald 2007-06-21 15:05:27 UTC
*** Issue 107537 has been marked as a duplicate of this issue. ***
Comment 7 Lark Fitzgerald 2007-06-21 15:13:00 UTC
verified using:
NB6: 200706211113
Woodstock 4.1 200706210537