java.net.SocketException: Socket closed 2016-10-09 14:21:41,520 WARN [MyController.org Shutdown-Hook] [org.knowm.sundial.SundialJobScheduler:140] Scheduler has not yet been created!!! Call "createScheduler" first. Exception in thread "MyController.org Shutdown-Hook" java.lang.NullPointerException 2016-10-09 14:21:41,530 ERROR [Acme.Utils.ThreadPool(5)-PooledThread: Acme.Serve.Serve$ServeConnection@db975] [org.mycontroller.standalone.AppProperties:342] Unable to create tmp location, Location:tmp/

GitHub | gbrd | 2 months ago
  1. 0

    GitHub comment 277#252489400

    GitHub | 2 months ago | gbrd
    java.net.SocketException: Socket closed 2016-10-09 14:21:41,520 WARN [MyController.org Shutdown-Hook] [org.knowm.sundial.SundialJobScheduler:140] Scheduler has not yet been created!!! Call "createScheduler" first. Exception in thread "MyController.org Shutdown-Hook" java.lang.NullPointerException 2016-10-09 14:21:41,530 ERROR [Acme.Utils.ThreadPool(5)-PooledThread: Acme.Serve.Serve$ServeConnection@db975] [org.mycontroller.standalone.AppProperties:342] Unable to create tmp location, Location:tmp/
  2. 0

    Android PreferenceManager NullPointException

    Stack Overflow | 4 years ago | James
    java.net.SocketException: Address family not supported by protocol 06-10 13:56:16.886: D/dalvikvm(114): GC_EXPLICIT freed 970 objects / 55696 bytes in 124ms 06-10 13:56:20.166: D/EXCEPTION(27328): Location Selection java.lang.NullPointerException 06-10 13:56:21.906: D/dalvikvm(260): GC_EXPLICIT freed 66 objects / 3040 bytes in 128ms </code></pre> <p><strong>EDIT 2:</strong> //Network connection class</p> <pre><code>public class NetworkConnection extends Activity { /** Called when the activity is first created. */ public boolean isNetworkConnAvail(Context context) { ConnectivityManager connMgr = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo networkInfo = connMgr.getActiveNetworkInfo(); if (networkInfo != null) return networkInfo.isConnected(); return false; } } </code></pre> <p>//Print statment</p> <pre><code>06-10 14:10:40.015: D/AndroidRuntime(27731): &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; AndroidRuntime START &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; 06-10 14:10:40.015: D/AndroidRuntime(27731): CheckJNI is ON 06-10 14:10:40.145: D/AndroidRuntime(27731): --- registering native functions --- 06-10 14:10:40.535: D/dalvikvm(27670): GC_EXPLICIT freed 1408 objects / 74352 bytes in 898ms 06-10 14:10:40.645: D/AndroidRuntime(27731): Shutting down VM 06-10 14:10:40.645: D/dalvikvm(27731): Debugger has detached; object registry had 1 entries 06-10 14:10:40.665: I/AndroidRuntime(27731): NOTE: attach of thread 'Binder Thread #3' failed 06-10 14:10:41.045: D/AndroidRuntime(27739): &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; AndroidRuntime START &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; 06-10 14:10:41.045: D/AndroidRuntime(27739): CheckJNI is ON 06-10 14:10:41.166: D/AndroidRuntime(27739): --- registering native functions --- 06-10 14:10:41.655: I/ActivityManager(59): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.swiftdrink/.SplashScreen } 06-10 14:10:41.695: D/AndroidRuntime(27739): Shutting down VM 06-10 14:10:41.695: D/dalvikvm(27739): Debugger has detached; object registry had 1 entries 06-10 14:10:41.775: I/dalvikvm(27739): JNI: AttachCurrentThread (from ???.???) 06-10 14:10:41.775: I/AndroidRuntime(27739): NOTE: attach of thread 'Binder Thread #3' failed 06-10 14:10:42.465: I/ActivityManager(59): Displayed activity com.swiftdrink/.SplashScreen: 799 ms (total 799 ms) 06-10 14:10:42.845: I/ActivityManager(59): Starting activity: Intent { act=com.swiftdrink.SWIFTDRINKMAIN cmp=com.swiftdrink/.SwiftDrinkMain } 06-10 14:10:42.895: V/one(27670): locationSelection 06-10 14:10:43.186: I/ActivityManager(59): Displayed activity com.swiftdrink/.SwiftDrinkMain: 337 ms (total 337 ms) 06-10 14:10:45.185: D/EXCEPTION(27670): Location Selection java.lang.NullPointerException 06-10 14:10:45.185: W/System.err(27670): java.lang.NullPointerException 06-10 14:10:45.205: W/System.err(27670): at android.content.ContextWrapper.getApplicationContext(ContextWrapper.java:100) 06-10 14:10:45.205: W/System.err(27670): at com.swiftdrink.Location.locationSelection(Location.java:39) 06-10 14:10:45.205: W/System.err(27670): at com.swiftdrink.Options$2.onClick(Options.java:73) 06-10 14:10:45.205: W/System.err(27670): at android.view.View.performClick(View.java:2408) 06-10 14:10:45.205: W/System.err(27670): at android.view.View$PerformClick.run(View.java:8816) 06-10 14:10:45.205: W/System.err(27670): at android.os.Handler.handleCallback(Handler.java:587)
  3. 0

    Openshift java.net.SocketException: Permission denied

    Stack Overflow | 3 months ago | Richard
    java.net.SocketException: Permission denied 2016-09-05 10:36:13,194 ERROR [stderr] (Thread-125) at sun.nio.ch.Net.bind0(Native Method)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    EventHubReader slows down to a crawl in HDInsight Storm Cluster and stops processing messages for ~15 minutes

    GitHub | 1 month ago | aidanmorgan
    java.net.SocketException: Connection timed out 2016-10-27 06:21:58.289 STDIO [ERROR]
  6. 0

    PhoneGap - Not working on new devices

    Stack Overflow | 4 years ago | user1017063
    java.net.SocketException: Socket closed 10-14 22:49:51.682: W/System.err(871): at libcore.io.Posix.accept(Native Method)

    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.net.SocketException

      Socket closed 2016-10-09 14:21:41,520 WARN [MyController.org Shutdown-Hook] [org.knowm.sundial.SundialJobScheduler:140] Scheduler has not yet been created!!! Call "createScheduler" first. Exception in thread "MyController.org Shutdown-Hook" java.lang.NullPointerException 2016-10-09 14:21:41,530 ERROR [Acme.Utils.ThreadPool(5)-PooledThread: Acme.Serve.Serve$ServeConnection@db975] [org.mycontroller.standalone.AppProperties:342] Unable to create tmp location, Location:tmp/

      at org.mycontroller.standalone.mqttbroker.MoquetteMqttBroker.stop()
    2. org.mycontroller.standalone
      AppShutdownHook$1.run
      1. org.mycontroller.standalone.mqttbroker.MoquetteMqttBroker.stop(MoquetteMqttBroker.java:59)
      2. org.mycontroller.standalone.StartApp.stopServices(StartApp.java:277)
      3. org.mycontroller.standalone.AppShutdownHook$1.run(AppShutdownHook.java:34)
      3 frames