java.lang.NullPointerException

codeproject.com | 2 days ago
  1. 0

    [Solved] java . lang. NullPointerException - CodeProject

    codeproject.com | 2 days ago
    java.lang.NullPointerException
  2. 0

    How to remove this error - Java Programming Help - KnowCoding.com

    knowcoding.com | 1 year ago
    java.lang.NoClassDefFoundError: com/oreilly/servlet/MultipartRequest
  3. 0

    On Thu, Jul 10, 2008 at 5:37 AM, Antony Corfield [awc] <awc@aber.ac.uk> wrote: > Hi, I've been running some tests depositing zip files using SWORD. When I hit the server with 50 concurrent threads (unlikely in reality!) I get the following error in the fedora code. > > java.util.ConcurrentModificationException > at java.util.Hashtable$Enumerator.next(Hashtable.java:1031) > at fedora.server.management.DefaultManagement.putTempStream(DefaultManagement.java:1395) > at fedora.server.management.UploadServlet.saveAndGetId(UploadServlet.java:149) > at fedora.server.management.UploadServlet.doPost(UploadServlet.java:99) > > > Here's a simple patch (Fedora 3.0b1) for fedora.server.management.UploadServlet that fixes this problem. > Same problem in Fedora 2.2.1 and other versions I guess. > > > > > Index: C:/Users/awc/eclipse/fedora_release-3.0b1/src/java/fedora/server/management/UploadServlet.java > =================================================================== > --- C:/Users/awc/eclipse/fedora_release-3.0b1/src/java/fedora/server/management/UploadServlet.java (revision 6592) > +++ C:/Users/awc/eclipse/fedora_release-3.0b1/src/java/fedora/server/management/UploadServlet.java (working copy) > @@ -129,8 +129,10 @@ > } > > private String saveAndGetId(Context context, FilePart filePart) > - throws ServerException, IOException { > - return s_management.putTempStream(context, filePart.getInputStream()); > + throws ServerException, IOException { > + synchronized (s_management) { > + return s_management.putTempStream(context, filePart.getInputStream()); > + } > }

    Sakai JIRA | 9 years ago | Chris Wilper
    java.util.ConcurrentModificationException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    On Thu, Jul 10, 2008 at 5:37 AM, Antony Corfield [awc] <awc@aber.ac.uk> wrote: > Hi, I've been running some tests depositing zip files using SWORD. When I hit the server with 50 concurrent threads (unlikely in reality!) I get the following error in the fedora code. > > java.util.ConcurrentModificationException > at java.util.Hashtable$Enumerator.next(Hashtable.java:1031) > at fedora.server.management.DefaultManagement.putTempStream(DefaultManagement.java:1395) > at fedora.server.management.UploadServlet.saveAndGetId(UploadServlet.java:149) > at fedora.server.management.UploadServlet.doPost(UploadServlet.java:99) > > > Here's a simple patch (Fedora 3.0b1) for fedora.server.management.UploadServlet that fixes this problem. > Same problem in Fedora 2.2.1 and other versions I guess. > > > > > Index: C:/Users/awc/eclipse/fedora_release-3.0b1/src/java/fedora/server/management/UploadServlet.java > =================================================================== > --- C:/Users/awc/eclipse/fedora_release-3.0b1/src/java/fedora/server/management/UploadServlet.java (revision 6592) > +++ C:/Users/awc/eclipse/fedora_release-3.0b1/src/java/fedora/server/management/UploadServlet.java (working copy) > @@ -129,8 +129,10 @@ > } > > private String saveAndGetId(Context context, FilePart filePart) > - throws ServerException, IOException { > - return s_management.putTempStream(context, filePart.getInputStream()); > + throws ServerException, IOException { > + synchronized (s_management) { > + return s_management.putTempStream(context, filePart.getInputStream()); > + } > }

    Sakai JIRA | 9 years ago | Chris Wilper
    java.util.ConcurrentModificationException
  6. 0

    com/oreilly/servlet/MultipartRequest Error

    Oracle Community | 1 decade ago | 807569
    java.lang.NoClassDefFoundError: com/oreilly/servlet/MultipartRequest

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at UploadServlet.doPost()
    2. Unknown
      UploadServlet.doPost
      1. UploadServlet.doPost(UploadServlet.java)
      1 frame