DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23772>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23772

MalformedURLException

           Summary: MalformedURLException
           Product: JMeter
           Version: 1.9.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HTTP
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


we have a web application with a servlet. example of a working url (with 
<value> masked out fields):

http://<ipaddress>:7001/srv/srv?cmd=login&login=<login>&pwd=<pwd>

In the HTTP Request Defaults, it doesn't matter what i set at "path" - it is 
ignored! Therefore, i have to set the path in each HTTP Request as "/srv/srv".
(Any other path leads to a "Temporarily Moved" result message.) But the result 
is a application exception in JMeter (in the DOS console):


----
java.net.MalformedURLException: no protocol: srv?cmd=loginsuccess
        at java.net.URL.<init>(URL.java:537)
        at java.net.URL.<init>(URL.java:434)
        at javax.swing.text.html.FrameView.createComponent(FrameView.java:56)
        at javax.swing.text.ComponentView.setComponentParent(ComponentView.java:
271)
        at javax.swing.text.ComponentView.setParent(ComponentView.java:234)
        at javax.swing.text.html.FrameView.setParent(FrameView.java:107)
        at javax.swing.text.CompositeView.replace(CompositeView.java:200)
        at javax.swing.text.BoxView.replace(BoxView.java:164)
        at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
        at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
        at javax.swing.text.CompositeView.replace(CompositeView.java:200)
        at javax.swing.text.BoxView.replace(BoxView.java:164)
        at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
        at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
        at javax.swing.text.html.BlockView.setParent(BlockView.java:55)
        at javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.setPare
nt(HTMLEditorKit.java:1266)
        at javax.swing.text.CompositeView.replace(CompositeView.java:200)
        at javax.swing.text.BoxView.replace(BoxView.java:164)
        at javax.swing.text.View.updateChildren(View.java:1126)
        at javax.swing.text.View.insertUpdate(View.java:710)
        at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.
java:1487)
        at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTe
xtUI.java:1726)
        at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.j
ava:184)
        at javax.swing.text.DefaultStyledDocument.create(DefaultStyledDocument.j
ava:138)
        at javax.swing.text.html.HTMLDocument.create(HTMLDocument.java:266)
        at javax.swing.text.html.HTMLDocument$HTMLReader.flushBuffer(HTMLDocumen
t.java:3252)
        at javax.swing.text.html.HTMLDocument$HTMLReader.flush(HTMLDocument.java
:2074)
        at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:231)
        at javax.swing.JEditorPane.setText(JEditorPane.java:1298)
        at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.showRenderedR
esponse(ViewResultsFullVisualizer.java:422)
        at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.valueChanged(
ViewResultsFullVisualizer.java:320)
        at javax.swing.JTree.fireValueChanged(JTree.java:2392)
        at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:276
3)
        at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTr
eeSelectionModel.java:629)
        at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTr
eeSelectionModel.java:1076)
        at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultT
reeSelectionModel.java:287)
        at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTr
eeSelectionModel.java:170)
        at javax.swing.JTree.setSelectionPath(JTree.java:1168)
        at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.jav
a:2192)
        at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.handleSelection(Basic
TreeUI.java:2840)
        at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.mousePressed(BasicTre
eUI.java:2801)
        at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:22
2)
        at java.awt.Component.processMouseEvent(Component.java:5097)
        at java.awt.Component.processEvent(Component.java:4897)
        at java.awt.Container.processEvent(Container.java:1569)
        at java.awt.Component.dispatchEventImpl(Component.java:3615)
        at java.awt.Container.dispatchEventImpl(Container.java:1627)
        at java.awt.Component.dispatchEvent(Component.java:3477)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483
)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3195)

        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
        at java.awt.Container.dispatchEventImpl(Container.java:1613)
        at java.awt.Window.dispatchEventImpl(Window.java:1606)
        at java.awt.Component.dispatchEvent(Component.java:3477)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:201)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
java.net.MalformedURLException: no protocol: welcome.jsp;jsessionid=1KkBC7kZTktE
1362Z1wlvVwS2fDzRDPaiJ8uo4QjZdwdjyvTXq1r!1878261823!-1062731763!7001!7002
        at java.net.URL.<init>(URL.java:537)
        at java.net.URL.<init>(URL.java:434)
        at javax.swing.text.html.FrameView.createComponent(FrameView.java:56)
        at javax.swing.text.ComponentView.setComponentParent(ComponentView.java:
271)
        at javax.swing.text.ComponentView.setParent(ComponentView.java:234)
        at javax.swing.text.html.FrameView.setParent(FrameView.java:107)
        at javax.swing.text.CompositeView.replace(CompositeView.java:200)
        at javax.swing.text.BoxView.replace(BoxView.java:164)
        at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
        at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
        at javax.swing.text.CompositeView.replace(CompositeView.java:200)
        at javax.swing.text.BoxView.replace(BoxView.java:164)
        at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
        at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
        at javax.swing.text.html.BlockView.setParent(BlockView.java:55)
        at javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.setPare
nt(HTMLEditorKit.java:1266)
        at javax.swing.text.CompositeView.replace(CompositeView.java:200)
        at javax.swing.text.BoxView.replace(BoxView.java:164)
        at javax.swing.text.View.updateChildren(View.java:1126)
        at javax.swing.text.View.insertUpdate(View.java:710)
        at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.
java:1487)
        at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTe
xtUI.java:1726)
        at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.j
ava:184)
        at javax.swing.text.DefaultStyledDocument.create(DefaultStyledDocument.j
ava:138)
        at javax.swing.text.html.HTMLDocument.create(HTMLDocument.java:266)
        at javax.swing.text.html.HTMLDocument$HTMLReader.flushBuffer(HTMLDocumen
t.java:3252)
        at javax.swing.text.html.HTMLDocument$HTMLReader.flush(HTMLDocument.java
:2074)
        at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:231)
        at javax.swing.JEditorPane.setText(JEditorPane.java:1298)
        at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.showRenderedR
esponse(ViewResultsFullVisualizer.java:422)
        at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.valueChanged(
ViewResultsFullVisualizer.java:320)
        at javax.swing.JTree.fireValueChanged(JTree.java:2392)
        at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:276
3)
        at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTr
eeSelectionModel.java:629)
        at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTr
eeSelectionModel.java:1076)
        at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultT
reeSelectionModel.java:287)
        at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTr
eeSelectionModel.java:170)
        at javax.swing.JTree.setSelectionPath(JTree.java:1168)
        at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.jav
a:2192)
        at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.handleSelection(Basic
TreeUI.java:2840)
        at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.mousePressed(BasicTre
eUI.java:2801)
        at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:22
2)
        at java.awt.Component.processMouseEvent(Component.java:5097)
        at java.awt.Component.processEvent(Component.java:4897)
        at java.awt.Container.processEvent(Container.java:1569)
        at java.awt.Component.dispatchEventImpl(Component.java:3615)
        at java.awt.Container.dispatchEventImpl(Container.java:1627)
        at java.awt.Component.dispatchEvent(Component.java:3477)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483
)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3195)

        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
        at java.awt.Container.dispatchEventImpl(Container.java:1613)
        at java.awt.Window.dispatchEventImpl(Window.java:1606)
        at java.awt.Component.dispatchEvent(Component.java:3477)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:201)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to