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 42710 - PatternSyntaxException when creating JSP breakpoint
Summary: PatternSyntaxException when creating JSP breakpoint
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords: T9Y
Depends on:
Blocks:
 
Reported: 2004-05-03 13:34 UTC by L Martinek
Modified: 2006-03-24 10:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description L Martinek 2004-05-03 13:34:30 UTC
[Build 200405021800, JDK 1.5.0]

When I want to toggle breakpoint an exception is
thrown and no breakpoint is created.

java.util.regex.PatternSyntaxException: Unexpected
internal error near index 1
\
 ^
	at java.util.regex.Pattern.error(Pattern.java:1637)
	at java.util.regex.Pattern.compile(Pattern.java:1391)
	at java.util.regex.Pattern.<init>(Pattern.java:1112)
	at java.util.regex.Pattern.compile(Pattern.java:811)
	at java.lang.String.replaceAll(String.java:1919)
	at
org.netbeans.modules.web.debug.actions.ToggleJspBreakpointAction.getServletClass(ToggleJspBreakpointAction.java:136)
	at
org.netbeans.modules.web.debug.actions.ToggleJspBreakpointAction.performAction(ToggleJspBreakpointAction.java:105)
	at
org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:78)
	at
org.openide.util.actions.CallableSystemAction.doPerformAction(CallableSystemAction.java:116)
	at
org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:76)
	at
org.netbeans.editor.GlyphGutter$GutterMouseListener.mouseClicked(GlyphGutter.java:687)
	at
java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:211)
	at
java.awt.Component.processMouseEvent(Component.java:5468)
	at
javax.swing.JComponent.processMouseEvent(JComponent.java:3081)
	at
java.awt.Component.processEvent(Component.java:5230)
	at
java.awt.Container.processEvent(Container.java:1961)
	at
java.awt.Component.dispatchEventImpl(Component.java:3933)
	at
java.awt.Container.dispatchEventImpl(Container.java:2019)
	at
java.awt.Component.dispatchEvent(Component.java:3781)
	at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4203)
	at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
	at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3813)
	at
java.awt.Container.dispatchEventImpl(Container.java:2005)
	at
java.awt.Window.dispatchEventImpl(Window.java:1764)
	at
java.awt.Component.dispatchEvent(Component.java:3781)
[catch] at
java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at
java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Martin Grebac 2004-05-04 09:20:03 UTC
Should be fixed in trunk now, the commit was rather big so not
including here.
Comment 2 L Martinek 2004-07-08 14:21:08 UTC
verified