fclose is causing a crash and works for less than 10k entries when commented. Could someone comment what could be wrong with the below program

Here goes the program    #include <stdio.h>   #include <string.h>   #include <stdlib.h>     void main() {         FILE *fp;         char str[200];         char *tempstr;         char close[65000][10];         char open[65000][10];         char station[65000][20];         static int count;         tempstr=(char *)malloc(200);         bzero((void *)str,200);         system("$  SHELL parselog.sh 52799272_LOG1");         do {               system("head -n 7 tempfile > temp");               fp=fopen("temp","r");               while((fgets(str,120,fp)) != NULL) {                         if(strstr(str,"OPEN")!= NULL) {                                 strcpy(open[count],strtok(str," "));                                 printf("%s\n",open[count]);                         } else if(strstr(str,"CLOSE")!= NULL) {                                 strcpy(close[count],strtok(str," "));                                 printf("%s\n",close[count]);                         }                         else if (strstr(str,"YOURHOSTNAME:")!= NULL) {                                 printf("%s\n",str);                                 bzero((void *)tempstr,200);                                 strcpy(tempstr,str);                                 tempstr = strtok(tempstr," ");                                 printf("tempstr:%s\n",tempstr);                                 tempstr = strtok(NULL," ");                                 printf("tempstr:%s\n",tempstr);                                 strcpy(station[count],tempstr);                                 printf("%s\n",station[count]);                                 count++;                                 bzero((void *)str,200);                                 break;                         }                         //      printf("%s\n",str);                         bzero((void *)str,200);                 }                 system("cp tempfile tmp");                 remove("tempfile");                 system("tail -n +9 tmp > tempfile");                 fclose(fp); //causing the crash when uncommented                 fp=fopen("tmp","r");                 fgets(str,120,fp);                 fclose(fp);                 remove("temp");                 remove("tmp");           }while(str != NULL); 

}

The fclose in line#49 is causing the issue when uncommented it crashes right after parsing 2 entries and when commented it crashes stating there are too many open files.

case 1: free(): invalid pointer Aborted (core dumped)

case 2: cp: cannot create regular file ‘tmp’: Too many open files sh: 1: 1: Too many open files Segmentation fault (core dumped)

Could someone point what is wrong with my program?

Email notification if cell value goes below set amount

I’m having trouble finding a Google sheet script that does what I need so I figured I would ask if someone could help me. Basically I have a simple sheet setup to track inventory of one item. There is a formula in “G1” on sheet “QAI Stickers” that calculates the remaining inventory and I would like to add a script that emails specific people when the value drops below 11. I also just want it to email when just that value changes and not just when any value in the sheet changes.

Here is what I’ve been trying to use. I have a trigger setup to run on edit, but it seems to only run if I push play on the script. The program is also telling me that lines 5 & 8 are deprecated.

 function myNotification() {     var ss = SpreadsheetApp.getActiveSpreadsheet();     var value = ss.getSheetByName("QAI Stickers").getRange("G1").getValue();     if( value < 11 ) {       var last = ScriptProperties.getProperty("last");       value = value.toString();       if( value != last ) {        var email = Session.getUser().getEmail();        MailApp.sendEmail(email, 'My Notification',                       'new value: '+value+'\n\n'+ss.getUrl());        ScriptProperties.setProperty("last", value);       }     }   }   

unable to install Java netbeans10 incubating using ant. How to solve this? Below is ant -diagnostics and build screen output

C:\Netbeans10>dir Volume in drive C has no label. Volume Serial Number is 3ABF-1AE0

Directory of C:\Netbeans10

10-04-2019 07:18 . 10-04-2019 07:18 .. 31-01-2019 05:13 0 ant 30-01-2019 12:53 apisupport 17-12-2018 04:13 1,034 build.xml 17-12-2018 04:14 30,682 DEPENDENCIES 17-12-2018 04:13 535 DISCLAIMER 30-01-2019 12:53 ergonomics 31-01-2019 05:16 0 exit 30-01-2019 12:53 extide 30-01-2019 12:53 groovy 30-01-2019 12:53 harness 30-01-2019 12:53 ide 30-01-2019 12:53 java 31-01-2019 05:13 0 javac 30-01-2019 12:53 javafx 17-12-2018 04:14 23,941 LICENSE 30-01-2019 13:15 licenses 10-04-2019 07:20 12,059 log.txt 30-01-2019 12:53 nb 30-01-2019 15:56 nbbuild 30-01-2019 13:03 nbi 17-12-2018 04:14 598 NOTICE 30-01-2019 12:53 php 30-01-2019 12:53 platform 30-01-2019 12:53 profiler 17-12-2018 04:13 4,763 README.md 30-01-2019 12:53 webcommon 30-01-2019 12:53 websvccommon 10 File(s) 73,612 bytes 19 Dir(s) 14,247,563,264 bytes free

C:\Netbeans10>dir Volume in drive C has no label. Volume Serial Number is 3ABF-1AE0

Directory of C:\Netbeans10

10-04-2019 07:18 . 10-04-2019 07:18 .. 31-01-2019 05:13 0 ant 30-01-2019 12:53 apisupport 17-12-2018 04:13 1,034 build.xml 17-12-2018 04:14 30,682 DEPENDENCIES 17-12-2018 04:13 535 DISCLAIMER 30-01-2019 12:53 ergonomics 31-01-2019 05:16 0 exit 30-01-2019 12:53 extide 30-01-2019 12:53 groovy 30-01-2019 12:53 harness 30-01-2019 12:53 ide 30-01-2019 12:53 java 31-01-2019 05:13 0 javac 30-01-2019 12:53 javafx 17-12-2018 04:14 23,941 LICENSE 30-01-2019 13:15 licenses 10-04-2019 07:20 12,059 log.txt 30-01-2019 12:53 nb 30-01-2019 15:56 nbbuild 30-01-2019 13:03 nbi 17-12-2018 04:14 598 NOTICE 30-01-2019 12:53 php 30-01-2019 12:53 platform 30-01-2019 12:53 profiler 17-12-2018 04:13 4,763 README.md 30-01-2019 12:53 webcommon 30-01-2019 12:53 websvccommon 10 File(s) 73,612 bytes 19 Dir(s) 14,247,628,800 bytes free

C:\Netbeans10>ant -diagnostics ——- Ant diagnostics report ——- Apache Ant(TM) version 1.10.5 compiled on July 10 2018


Implementation Version

core tasks : 1.10.5 in file:/C:/apache-ant-1.10.5/lib/ant.jar


ANT PROPERTIES

ant.version: Apache Ant(TM) version 1.10.5 compiled on July 10 2018 ant.java.version: 12 Is this the Apache Harmony VM? no Is this the Kaffe VM? no Is this gij/gcj? no ant.core.lib: C:\apache-ant-1.10.5\lib\ant.jar ant.home: C:\apache-ant-1.10.5


ANT_HOME/lib jar listing

ant.home: C:\apache-ant-1.10.5 ant-antlr.jar (12290 bytes) ant-apache-bcel.jar (15578 bytes) ant-apache-bsf.jar (10147 bytes) ant-apache-log4j.jar (8744 bytes) ant-apache-oro.jar (10038 bytes) ant-apache-regexp.jar (10002 bytes) ant-apache-resolver.jar (9908 bytes) ant-apache-xalan2.jar (8407 bytes) ant-commons-logging.jar (10138 bytes) ant-commons-net.jar (89305 bytes) ant-jai.jar (29574 bytes) ant-javamail.jar (14499 bytes) ant-jdepend.jar (14922 bytes) ant-jmf.jar (12884 bytes) ant-jsch.jar (53276 bytes) ant-junit.jar (140662 bytes) ant-junit4.jar (13843 bytes) ant-junitlauncher.jar (59457 bytes) ant-launcher.jar (18827 bytes) ant-netrexx.jar (17227 bytes) ant-swing.jar (14007 bytes) ant-testutil.jar (27868 bytes) ant-xz.jar (11541 bytes) ant.jar (2216652 bytes)


USER_HOME/.ant/lib jar listing

user.home: C:\Users\Mayuri No such directory.


Tasks availability

xz : Missing dependency org.tukaani.xz.FilterOptions sshsession : Missing dependency com.jcraft.jsch.Logger sshexec : Missing dependency com.jcraft.jsch.Logger scp : Missing dependency com.jcraft.jsch.Logger image : Missing dependency javax.media.jai.PlanarImage jdepend : Missing dependency jdepend.textui.JDepend A task being missing/unavailable should only matter if you are trying to use it


org.apache.env.Which diagnostics

Not available. Download it at http://xml.apache.org/commons/


XML Parser information

XML Parser : com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl XML Parser Location: unknown Namespace-aware parser : com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$ JAXPSAXParser Namespace-aware parser Location: unknown


XSLT Processor information

XSLT Processor : com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl XSLT Processor Location: unknown


System properties

sun.desktop : windows awt.toolkit : sun.awt.windows.WToolkit ant.library.dir : C:\apache-ant-1.10.5\lib java.specification.version : 12 sun.cpu.isalist : amd64 sun.jnu.encoding : Cp1252 java.class.path : C:\apache-ant-1.10.5\lib\ant-launcher.jar;C:\apache-ant-1.10.5\lib\ant-antlr.jar;C:\apache-ant-1.10.5\lib\ant-apache-bcel.jar;C:\apache-ant-1.10.5\lib\ant-apache-bsf.jar;C:\apache-ant-1.10.5\lib\ant-apache-log4j.jar;C:\apache-ant-1.10.5\lib\ant-apache-oro.jar;C:\apache-ant-1.10.5\lib\ant-apache-regexp.jar;C:\apache-ant-1.10.5\lib\ant-apache-resolver.jar;C:\apache-ant-1.10.5\lib\ant-apache-xalan2.jar;C:\apache-ant-1.10.5\lib\ant-commons-logging.jar;C:\apache-ant-1.10.5\lib\ant-commons-net.jar;C:\apache-ant-1.10.5\lib\ant-jai.jar;C:\apache-ant-1.10.5\lib\ant-javamail.jar;C:\apache-ant-1.10.5\lib\ant-jdepend.jar;C:\apache-ant-1.10.5\lib\ant-jmf.jar;C:\apache-ant-1.10.5\lib\ant-jsch.jar;C:\apache-ant-1.10.5\lib\ant-junit.jar;C:\apache-ant-1.10.5\lib\ant-junit4.jar;C:\apache-ant-1.10.5\lib\ant-junitlauncher.jar;C:\apache-ant-1.10.5\lib\ant-launcher.jar;C:\apache-ant-1.10.5\lib\ant-netrexx.jar;C:\apache-ant-1.10.5\lib\ant-swing.jar;C:\apache-ant-1.10.5\lib\ant-testutil.jar;C:\apache-ant-1.10.5\lib\ant-xz.jar;C:\apache-ant-1.10.5\lib\ant.jar java.vm.vendor : Oracle Corporation sun.arch.data.model : 64 user.variant : java.vendor.url : https://java.oracle.com/ user.timezone : Asia/Calcutta java.vm.specification.version : 12 os.name : Windows 10 sun.java.launcher : SUN_STANDARD user.country : IN sun.boot.library.path : C:\Program Files\Java\jdk-12\bin sun.java.command : org.apache.tools.ant.launch.Launcher -diagnostics jdk.debug : release sun.cpu.endian : little user.home : C:\Users\Mayuri user.language : en sun.stderr.encoding : cp437 java.specification.vendor : Oracle Corporation java.version.date : 2019-03-19 java.home : C:\Program Files\Java\jdk-12 file.separator : \ java.vm.compressedOopsMode : 32-bit line.separator :

sun.stdout.encoding : cp437 java.vm.specification.vendor : Oracle Corporation java.specification.name : Java Platform API Specification java.awt.graphicsenv : sun.awt.Win32GraphicsEnvironment user.script : sun.management.compiler : HotSpot 64-Bit Tiered Compilers java.runtime.version : 12+33 user.name : Mayuri path.separator : ; os.version : 10.0 java.runtime.name : Java(TM) SE Runtime Environment file.encoding : Cp1252 java.vm.name : Java HotSpot(TM) 64-Bit Server VM java.vendor.url.bug : https://bugreport.java.com/bugreport/ java.io.tmpdir : C:\Users\Mayuri\AppData\Local\Temp\ java.version : 12 user.dir : C:\Netbeans10 os.arch : amd64 java.vm.specification.name : Java Virtual Machine Specification ant.home : C:\apache-ant-1.10.5 sun.os.patch.level : java.library.path : C:\Program Files\Java\jdk-12\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\apache-ant-1.10.5\bin;C:\Program Files\Java\jdk-12\bin\bin;C:\Program Files (x86)\nodejs\;C:\Program Files\Java\jdk-12\bin;C:\Users\Mayuri\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\Mayuri\AppData\Local\Programs\Python\Python37\;C:\Users\Mayuri\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\Mayuri\AppData\Local\atom\bin;C:\apache-ant-1.10.5\bin;C:\Program Files\Java\jdk-12\bin\bin;;C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\bin;;C:\Users\Mayuri\AppData\Roaming\npm;. java.vm.info : mixed mode, sharing java.vendor : Oracle Corporation java.vm.version : 12+33 sun.io.unicode.encoding : UnicodeLittle java.class.version : 56.0


Temp dir

Temp dir is C:\Users\Mayuri\AppData\Local\Temp\ Temp dir is writeable Temp dir alignment with system clock is 415 ms


Locale information

Timezone India Standard Time offset=19800000


Proxy information

Java1.5+ proxy settings: Direct connection

C:\Netbeans10>ant Buildfile: C:\Netbeans10\build.xml

-jdk-pre-preinit:

-jdk-preinit:

-jdk-warn:

-jdk-presetdef-basic:

-jdk-default:

-jdk-init:

-load-build-properties:

bootstrap: [echo] Bootstrapping NetBeans-specific Ant extensions…

init-tasks:

-check-vanilla-javac:

prepare-vanilla-javac: [delete] Deleting directory C:\Netbeans10\nbbuild\build\langtools [mkdir] Created dir: C:\Netbeans10\nbbuild\build\langtools [unzip] Expanding: C:\Netbeans10\nbbuild\external\langtools-9.zip into C:\Netbeans10\nbbuild\build\langtools [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release

-def-check:

-check-langtools.jdk.home:

-prepare-build: [mkdir] Created dir: C:\Netbeans10\nbbuild\build\langtools\build\modules [mkdir] Created dir: C:\Netbeans10\nbbuild\build\langtools\build\toolclasses [mkdir] Created dir: C:\Netbeans10\nbbuild\build\langtools\build\gensrc [mkdir] Created dir: C:\Netbeans10\nbbuild\build\langtools\build\bin [mkdir] Created dir: C:\Netbeans10\nbbuild\build\langtools\build\prevsrc

-def-pparse: [copy] Copying 1 file to C:\Netbeans10\nbbuild\build\langtools\build\toolclasses\propertiesparser [javac] Compiling 2 source files to C:\Netbeans10\nbbuild\build\langtools\build\toolclasses

-def-pcompile: [javac] Compiling 2 source files to C:\Netbeans10\nbbuild\build\langtools\build\toolclasses

generate-sources: [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release

generate-sources-internal: [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release

generate-sources-internal: [pparse] Generating 1 resource files to C:\Netbeans10\nbbuild\build\langtools\build\gensrc\jdk.compiler [pcompile] Generating 15 resource files to C:\Netbeans10\nbbuild\build\langtools\build\gensrc\jdk.compiler [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release

generate-sources-internal: [pcompile] Generating 18 resource files to C:\Netbeans10\nbbuild\build\langtools\build\gensrc\jdk.javadoc [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release

generate-sources-internal: [pcompile] Generating 10 resource files to C:\Netbeans10\nbbuild\build\langtools\build\gensrc\jdk.jdeps [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release [pathconvert] Warning: Nashorn engine is planned to be removed from a future JDK release

generate-sources-internal: [pcompile] Generating 6 resource files to C:\Netbeans10\nbbuild\build\langtools\build\gensrc\jdk.jshell [mkdir] Created dir: C:\Netbeans10\nbbuild\build\langtools\build\nb [javac] Compiling 1031 source files to C:\Netbeans10\nbbuild\build\langtools\build\nb [javac] C:\Netbeans10\nbbuild\build\langtools\src\java.compiler\share\classes\javax\annotation\processing\Messager.java:28: error: package javax.annotation does not exist [javac] import javax.annotation.; [javac] ^ [javac] C:\Netbeans10\nbbuild\build\langtools\src\jdk.compiler\share\classes\com\sun\tools\javac\model\AnnotationProxyMaker.java:35: error: package sun.reflect.annotation is not visible [javac] import sun.reflect.annotation.; [javac] ^ [javac] (package sun.reflect.annotation is declared in module java.base, which does not export it to module java.compiler) [javac] C:\Netbeans10\nbbuild\build\langtools\src\jdk.javadoc\share\classes\com\sun\tools\doclets\internal\toolkit\builders\LayoutParser.java:31: error: package javax.xml.parsers is not visible [javac] import javax.xml.parsers.; [javac] ^ [javac] (package javax.xml.parsers is declared in module java.xml, but module java.compiler does not read it) [javac] C:\Netbeans10\nbbuild\build\langtools\src\jdk.javadoc\share\classes\com\sun\tools\doclets\internal\toolkit\builders\LayoutParser.java:33: error: package org.xml.sax is not visible [javac] import org.xml.sax.; [javac] ^ [javac] (package org.xml.sax is declared in module java.xml, but module java.compiler does not read it) [javac] C:\Netbeans10\nbbuild\build\langtools\src\jdk.javadoc\share\classes\com\sun\tools\doclets\internal\toolkit\builders\LayoutParser.java:34: error: package org.xml.sax.helpers is not visible [javac] import org.xml.sax.helpers.DefaultHandler; [javac] ^ [javac] (package org.xml.sax.helpers is declared in module java.xml, but module java.compiler does not read it) [javac] C:\Netbeans10\nbbuild\build\langtools\src\jdk.javadoc\share\classes\jdk\javadoc\internal\doclets\toolkit\builders\LayoutParser.java:31: error: package javax.xml.parsers is not visible [javac] import javax.xml.parsers.; [javac] ^ [javac] (package javax.xml.parsers is declared in module java.xml, but module java.compiler does not read it) [javac] C:\Netbeans10\nbbuild\build\langtools\src\jdk.javadoc\share\classes\jdk\javadoc\internal\doclets\toolkit\builders\LayoutParser.java:36: error: package org.xml.sax is not visible [javac] import org.xml.sax.; [javac] ^ [javac] (package org.xml.sax is declared in module java.xml, but module java.compiler does not read it) [javac] C:\Netbeans10\nbbuild\build\langtools\src\jdk.javadoc\share\classes\jdk\javadoc\internal\doclets\toolkit\builders\LayoutParser.java:37: error: package org.xml.sax.helpers is not visible [javac] import org.xml.sax.helpers.DefaultHandler; [javac] ^ [javac] (package org.xml.sax.helpers is declared in module java.xml, but module java.compiler does not read it) [javac] C:\Netbeans10\nbbuild\build\langtools\src\jdk.javadoc\share\classes\com\sun\tools\doclets\internal\toolkit\builders\LayoutParser.java:105: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] C:\Netbeans10\nbbuild\build\langtools\src\jdk.javadoc\share\classes\com\sun\tools\doclets\internal\toolkit\builders\LayoutParser.java:122: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] C:\Netbeans10\nbbuild\build\langtools\src\jdk.javadoc\share\classes\jdk\javadoc\internal\doclets\toolkit\builders\LayoutParser.java:110: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] C:\Netbeans10\nbbuild\build\langtools\src\jdk.javadoc\share\classes\jdk\javadoc\internal\doclets\toolkit\builders\LayoutParser.java:126: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] 12 errors

BUILD FAILED C:\Netbeans10\nbbuild\build.xml:151: Compile failed; see the compiler error output for details.

How can my recorded data usage be 5x higher than what’s shown in the apps list below it?

On the data usage screen, it says 1 GB used at the top, but if I add up the data from the list of apps below, it only adds up to about 180 MB. What are the possible causes?

I’m talking about this screen: https://cdn.guidingtech.com/media/assets/WordPress-Import/2015/09/ImageJoiner-2015-09-21-at-7.07.57-pm_result.png (not my actual screen, just an example)

And — there’s only 3 apps that really used any data (hotspot, maps and chrome) because the rest (about 10 others) only used less than 1MB and so it’s really easy to see and I’m not miscounting.

I have an S7 Active running 7.0.

When I start up my terminal in Mac . I see the below error?

-bash: /usr/local/bin/python3: No such file or directory virtualenvwrapper.sh: There was a problem running the initialization hooks.  If Python could not import the module virtualenvwrapper.hook_loader, check that virtualenvwrapper has been installed for VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3 and that PATH is set properly.  .bash_profile   > # added by Anaconda3 2018.12 installer # >>> conda init >>> # !! Contents within this block are managed by 'conda init' !!/Users/apple __conda_setup="$  (CONDA_REPORT_ERRORS=false '/Users/apple/anaconda3/bin/conda' shell.bash hook 2> /dev/null)" if [ $  ? -eq 0 ]; then     \eval "$  __conda_setup" else     if [ -f "/Users/apple/anaconda3/etc/profile.d/conda.sh" ]; then         . "/Users/apple/anaconda3/etc/profile.d/conda.sh"         CONDA_CHANGEPS1=false conda activate base     else         \export PATH="/Users/apple/anaconda3/bin:$  PATH"     fi fi unset __conda_setup # <<< conda init <<< # Homebrew  # virtualenv and virtualenvwrapper export PATH=/usr/local/bin:$  PATH export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3 export WORKON_HOME=$  HOME/.virtualenvs source /usr/local/bin/virtualenvwrapper.sh 

while running python script I’m getting below error kindly help me to resolve

[root@localhost ~]# cat pythonR5script1 import getpass import sys import telnetlib

HOST = “100.100.100.1” user = raw_input(“Enter your telnet username: “) password = getpass.getpass()

tn = telnetlib.Telnet(HOST)

tn.read_until(“username: “) tn.write(user + “\r\n”) if password: tn.read_until(“Password: “) tn.write(password + “\r\n”)

tn.write(“enable\r\n”) tn.write(“cisco\r\n”) tn.write(“conf t\r\n”) tn.write(“int loop 0\r\n”) tn.write(“ip add 200.200.200.1 255.255.255.255\r\n”) tn.write(“end\r\n”) tn.write(“exit\r\n”)

print tn.read_all()

getting error while running script

[root@localhost ~]# python pythonR5script1 Enter your telnet username: alan Password: Traceback (most recent call last): File “pythonR5script1”, line 14, in tn.read_until(“Password: “) File “/usr/local/lib/python2.7/telnetlib.py”, line 294, in read_until return self._read_until_with_poll(match, timeout) File “/usr/local/lib/python2.7/telnetlib.py”, line 343, in _read_until_with_poll return self.read_very_lazy() File “/usr/local/lib/python2.7/telnetlib.py”, line 455, in read_very_lazy raise EOFError, ‘telnet connection closed’ EOFError: telnet connection closed

kindly help to resolve

How to check for empty due date in the below calculated column formula

I am using below calculated column formula for group by:

=IF(Frequency="As Requested","G. As Requested",IF(DaysDifference<0,"A. Overdue",IF(DaysDifference<=7,"B. 7 Days",IF(DaysDifference<=15,"C. 15 Days",IF(DaysDifference<=30,"D. 30 Days",IF(DaysDifference<=60,"E. 60 Days","F. There After")))))) 

it works great, i just need to add another IF condition to check for empty due date in the existing formula. Basically if Due Date is null then log ‘Due date not populated’. Can someone help me with modifying formula accordingly, thanks in advance.