java.net.MalformedURLException

java.lang.NullPointerException at java.net.URL.<init>(URL.java(Compiled Code))

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web173

  • via strutstestcase by nobody
    , 1 year ago
    java.lang.NullPointerException at java.net.URL.<init>(URL.java(Compiled Code))
  • via strutstestcase by nobody
    , 1 year ago
    java.lang.NullPointerException at java.net.URL.<init>(URL.java(Compiled Code))
  • via Oracle Community by 843834, 1 year ago
    no protocol: <?xml version="1.0" encoding="UTF-8"?><SM><STAT><CD>999</CD><TXT>Invalid input xml</TXT></STAT></SM> at java.net.URL.<init>(URL.java(Compiled Code)) at java.net.URL.<init>(URL.java(Compiled Code))
  • Stack trace

    • java.net.MalformedURLException: java.lang.NullPointerException at java.net.URL.<init>(URL.java(Compiled Code)) at java.net.URL.<init>(URL.java:403) at java.net.URL.<init>(URL.java:357) at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:748) at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:693) at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:260) at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:499) at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:581) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1158) at org.apache.commons.digester.Digester.parse(Digester.java:1567) at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1433) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:279) at servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:332) at test.SimpleTest.testActions(SimpleTest.java:36) at java.lang.reflect.Method.invoke(Native Method) at junit.framework.TestCase.runTest(TestCase.java:166) at junit.framework.TestCase.runBare(TestCase.java:140) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:131) at junit.framework.TestSuite.runTest(TestSuite.java:173) at junit.framework.TestSuite.run(TestSuite.java:168) at junit.textui.TestRunner.doRun(TestRunner.java:74) at junit.textui.TestRunner.run(TestRunner.java:200) at junit.textui.TestRunner.run(TestRunner.java:186) at test.SimpleTest.main(SimpleTest.java:60)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Once, 4 days ago
    27 times, 1 week ago
    Once, 1 month ago
    2 times, 2 months ago
    94 more bugmates