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 34263 - Editor window blanks out.
Summary: Editor window blanks out.
Status: RESOLVED DUPLICATE of bug 23569
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Miloslav Metelka
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2003-06-09 22:54 UTC by Ana.von Klopp
Modified: 2007-11-05 13:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log (47.23 KB, text/plain)
2003-06-09 22:56 UTC, Ana.von Klopp
Details
exception form editor (3.70 KB, text/plain)
2003-06-10 10:25 UTC, _ rkubacki
Details
hopefully reproducible case (311.05 KB, application/x-zip)
2003-06-10 10:30 UTC, _ rkubacki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ana.von Klopp 2003-06-09 22:54:55 UTC
I see this fairly regularly (one time out of four or five). 

Create a new JSP. 
Copy jstl.jar and standard.jar into WEB-INF. 
Use code completion to add a taglib directive, e.g 
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
I use code completion for taglib, prefix, uri and value of 
uri. Save after adding the end of the directive. Click in 
editor to move the cursor somewhere else - > text is lost. 

See included ide.log for JDK details (1.4.1_02). 

The exception comes from the editor APIs, and doesn't 
mention the JSP editor, but I haven't been able to 
reproduce it for anything except JSPs so I'll file it here 
first. 

The workaround for this is to exit the editor tab for the 
file and re-open it.
Comment 1 Ana.von Klopp 2003-06-09 22:56:07 UTC
Created attachment 10627 [details]
ide.log
Comment 2 _ rkubacki 2003-06-10 10:25:39 UTC
Created attachment 10630 [details]
exception form editor
Comment 3 _ rkubacki 2003-06-10 10:30:14 UTC
Created attachment 10631 [details]
hopefully reproducible case
Comment 4 _ rkubacki 2003-06-10 10:38:33 UTC
I've seen the problem in Java too but it is much more visible in JSP.
Probably adding taglib directive as Ana described is one of good tricks.

Attached is a web module where I can reproduce the problem. Unzip it
and mount, open test.jsp and click somewhere into 3rd line. Moving
cursor causes also other lines to disappear. The line disappears on my
IDE:

  Product Version       = NetBeans IDE Dev (Build 030609)
  Operating System      = Linux version 2.4.18-27.8.0 running on i386
  Java; VM; Vendor      = 1.4.2-beta; Java HotSpot(TM) Client VM
1.4.2-beta-b19; Sun Microsystems Inc.
  Java Home             = /usr/local/j2sdk1.4.2/jre
  System Locale; Encod. = en_US; ANSI_X3.4-1968
Comment 5 ehucka 2003-06-13 08:55:46 UTC
It is similar to 23569. If you want you can increase its priority.

*** This issue has been marked as a duplicate of 23569 ***