Coder Social home page Coder Social logo

Comments (5)

PuszekSE avatar PuszekSE commented on August 20, 2024 1

@thurka @kcpeppe
I've actually found that same exact issue within one of production server's heap dumps.


Log Session: Thursday, July 5, 2018 1:05:10 PM CEST
[...]
INFO [org.netbeans.modules.autoupdate.updateprovider.DownloadListener]: Reading URL https://visualvm.java.net/uc/8u40/updates.xml.gz?unique=0bd161e76-cd08-420e-886c-0b90d07b593d_60aeb6a7-8f78-4aa6-a510-cf3a82ec828c failed (java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.oracle.com/splash/java.net/maintenance/index.html)
INFO [org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler]
java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.oracle.com/splash/java.net/maintenance/index.html
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)
at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:90)
at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1433)
at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1431)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1430)
at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$2.call(NetworkAccess.java:154)
at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$2.call(NetworkAccess.java:122)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused: java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.oracle.com/splash/java.net/maintenance/index.html
at org.netbeans.modules.autoupdate.updateprovider.DownloadListener.notifyException(DownloadListener.java:64)
at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogCache.copy(AutoupdateCatalogCache.java:207)
at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogCache.writeCatalogToCache(AutoupdateCatalogCache.java:60)
at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.refresh(AutoupdateCatalogProvider.java:115)
at org.netbeans.modules.autoupdate.services.UpdateUnitProviderImpl.refresh(UpdateUnitProviderImpl.java:141)
at org.netbeans.api.autoupdate.UpdateUnitProvider.refresh(UpdateUnitProvider.java:157)
[catch] at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler$4.run(AutoupdateCheckScheduler.java:116)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1384)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1994)
WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.home has been obsoleted in favor of InstalledFileLocator/Places at org.netbeans.Clusters.relativeDirsWithHome(Clusters.java:104)
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor com.sun.tools.visualvm.heapdump.impl.HeapDumpView$MasterViewSupport$1
java.lang.ArrayIndexOutOfBoundsException: -11
at org.netbeans.lib.profiler.heap.HprofHeap.fillTagBounds(HprofHeap.java:1013)
at org.netbeans.lib.profiler.heap.HprofHeap.(HprofHeap.java:95)
at org.netbeans.lib.profiler.heap.HeapFactory.createHeap(HeapFactory.java:49)
at org.netbeans.lib.profiler.heap.HeapFactory.createHeap(HeapFactory.java:31)
at org.netbeans.modules.profiler.heapwalk.HeapWalker.createHeap(HeapWalker.java:155)
at org.netbeans.modules.profiler.heapwalk.HeapWalker.(HeapWalker.java:54)
at com.sun.tools.visualvm.heapdump.impl.HeapDumpView$MasterViewSupport$1.run(HeapDumpView.java:116)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1384)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1994)
java.lang.ArrayIndexOutOfBoundsException
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor com.sun.tools.visualvm.heapdump.impl.HeapDumpView$MasterViewSupport$1
java.lang.ArrayIndexOutOfBoundsException
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor com.sun.tools.visualvm.heapdump.impl.HeapDumpView$MasterViewSupport$1
java.lang.ArrayIndexOutOfBoundsException
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor com.sun.tools.visualvm.heapdump.impl.HeapDumpView$MasterViewSupport$1
java.lang.ArrayIndexOutOfBoundsException
INFO [org.netbeans.core.windows.persistence]: [PersistenceManager.getTopComponentForID] Problem when deserializing TopComponent for tcID:'com#002Esun#002Etools72625A45#002EDataSourceWindow_2'. Reason: Top component com#002Esun#002Etools72625A45#002EDataSourceWindow_2 could not be located or loaded from Components folder.
com.sun.tools.visualvm.heapdump.impl.HeapDumpView$MasterViewSupport$1
java.lang.ArrayIndexOutOfBoundsException
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor com.sun.tools.visualvm.heapdump.impl.HeapDumpView$MasterViewSupport$1
java.lang.ArrayIndexOutOfBoundsException

from visualvm.

thurka avatar thurka commented on August 20, 2024

What do you mean by it drops into source code that isn't readily available ? As you can see from the package org.netbeans.lib.profiler.heap, this code is from NetBeans. So the best way to debug this is to debug it NetBeans dev. build. I guess you already know how to debug NetBeans, am I right? BTW: Can you share the heap dump? It looks like it is somehow broken.

from visualvm.

kcpeppe avatar kcpeppe commented on August 20, 2024

Sorry to say I can't share the heap dump. I've not debugged NetBeans but I think I'm going to have to sort that one out.

from visualvm.

thurka avatar thurka commented on August 20, 2024

FYI: org.netbeans.lib.profiler.heap package is in lib.profiler module.

from visualvm.

thurka avatar thurka commented on August 20, 2024

Closing the issue until we are able to reproduce ArrayIndexOutOfBoundsException.

from visualvm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.