NutzCN Logo
问答 为什么数组越界 求解
发布于 2562天前 作者 少年不再年少 1467 次浏览 复制 上一个帖子 下一个帖子
标签:
2017-11-10 11:02:30,404 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [POST] path=/api/advert/quantity : PluginDataModule.ClientInfo(PluginDataModule.java:156)
2017-11-10 11:02:30,410 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'pluginDataModule'<class com.woyaofa.module.api.PluginDataModule>
2017-11-10 11:02:30,410 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=pluginDataModule
2017-11-10 11:02:30,411 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(pluginDataModule) in AnnotationIocLoader(packages=[com.woyaofa])
2017-11-10 11:02:30,411 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'pluginDataModule'<class com.woyaofa.module.api.PluginDataModule>
2017-11-10 11:02:30,413 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class com.woyaofa.module.api.PluginDataModule without AOP
2017-11-10 11:02:30,413 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'pluginDataModule' to [app] 
2017-11-10 11:02:30,418 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dao'<interface org.nutz.dao.Dao>
-----数据R [channel=null, brand=OPSSON, model=OPSSON V6, IMEI=869934021294558, IMSI=null, OS=null, version=null, number0=null, number1=null, network=null, MAC=null, pluginName=null, pluginVersion=null, pluginKey=null, softwareCount=0, application=0, time=0, apkItems=null, userDate=[ [PackageName=com.UCMobile, Date_Time=Fri Nov 10 09:44:48 CST 2017, CS_INT=2]]]
2017-11-10 11:02:30,680 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM t_preinstall_apk 
2017-11-10 11:02:30,719 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    | 1 |
    |---|
    | 1 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=1"
2017-11-10 11:02:30,735 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    | 1 |
    |---|
    | 2 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=2"
2017-11-10 11:02:30,751 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    | 1 |
    |---|
    | 3 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=3"
2017-11-10 11:02:30,769 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    | 1 |
    |---|
    | 4 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=4"
2017-11-10 11:02:30,788 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    | 1 |
    |---|
    | 5 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=5"
2017-11-10 11:02:30,806 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    | 1 |
    |---|
    | 6 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=6"
2017-11-10 11:02:30,825 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    | 1 |
    |---|
    | 7 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=7"
2017-11-10 11:02:30,843 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    | 1 |
    |---|
    | 8 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=8"
2017-11-10 11:02:30,861 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    | 1 |
    |---|
    | 9 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=9"
2017-11-10 11:02:30,877 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 10 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=10"
2017-11-10 11:02:30,894 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 11 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=11"
2017-11-10 11:02:30,911 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 12 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=12"
2017-11-10 11:02:30,929 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 13 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=13"
2017-11-10 11:02:30,945 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 14 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=14"
2017-11-10 11:02:30,962 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 15 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=15"
2017-11-10 11:02:30,977 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 16 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=16"
2017-11-10 11:02:30,993 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 17 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=17"
2017-11-10 11:02:31,013 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 18 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=18"
2017-11-10 11:02:31,032 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 19 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=19"
2017-11-10 11:02:31,053 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 20 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=20"
2017-11-10 11:02:31,072 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 21 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=21"
2017-11-10 11:02:31,093 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 22 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=22"
2017-11-10 11:02:31,111 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 23 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=23"
2017-11-10 11:02:31,138 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 24 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=24"
2017-11-10 11:02:31,159 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 25 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=25"
2017-11-10 11:02:31,178 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 26 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=26"
2017-11-10 11:02:31,196 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 27 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=27"
2017-11-10 11:02:31,212 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 28 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=28"
2017-11-10 11:02:31,228 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 29 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=29"
2017-11-10 11:02:31,245 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 30 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=30"
2017-11-10 11:02:31,262 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 31 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=31"
2017-11-10 11:02:31,278 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 32 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=32"
2017-11-10 11:02:31,294 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 33 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=33"
2017-11-10 11:02:31,310 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 34 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=34"
2017-11-10 11:02:31,326 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 35 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=35"
2017-11-10 11:02:31,344 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 36 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=36"
2017-11-10 11:02:31,361 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 37 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=37"
2017-11-10 11:02:31,379 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 38 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=38"
2017-11-10 11:02:31,396 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 39 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=39"
2017-11-10 11:02:31,415 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=?
    |  1 |
    |----|
    | 40 |
  For example:> "SELECT * FROM r_channel_preinstall_apk  WHERE c_apk_id=40"
----APK[PreinstallApk [id=1, channelId=1, uploaderId=1, advertisersId=1, name=UC浏览器, packageName=com.UCMobile, versionCode=700, versionName=11.6.2.948, price=1.0, SHA1=8521443e67234c4af64b70b5c7b0d3c6439701df, memo=null, enable=true, uploadDateTime=Fri Aug 18 01:13:08 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=2, channelId=1, uploaderId=1, advertisersId=1, name=酷我音乐, packageName=cn.kuwo.player, versionCode=6590, versionName=6.5.9.0, price=1.2, SHA1=9744c539c2bbed6570f10f8c3db85d29f96f582f, memo=null, enable=false, uploadDateTime=Fri Aug 18 01:14:16 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=3, channelId=0, uploaderId=1, advertisersId=1, name=高德地图, packageName=com.autonavi.minimap, versionCode=6120, versionName=8.1.2.2192, price=1.5, SHA1=3735a7b603ec8352a4f1e257a8075e559f4dc13d, memo=null, enable=false, uploadDateTime=Fri Aug 18 01:16:18 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=4, channelId=0, uploaderId=1, advertisersId=2, name= 360手机卫士, packageName=com.qihoo360.mobilesafe, versionCode=256, versionName=7.7.2, price=2.5, SHA1=dca2c0632f0b67623549a1d187b5282d8ccb64a3, memo=null, enable=true, uploadDateTime=Tue Aug 22 06:49:07 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=5, channelId=0, uploaderId=1, advertisersId=2, name=360浏览器, packageName=com.qihoo.browser, versionCode=712, versionName=6.9.9.98beta, price=2.5, SHA1=eb1cd961e2e7835b9705e36c7b71f56dda37a054, memo=null, enable=true, uploadDateTime=Tue Aug 22 06:49:56 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=6, channelId=0, uploaderId=1, advertisersId=2, name=360手机助手, packageName=com.qihoo.appstore, versionCode=300050185, versionName=5.1.85, price=3.0, SHA1=aa00ff4942ba2d824c3e3c41e3a6ed3e8a7fa80a, memo=null, enable=true, uploadDateTime=Tue Aug 22 06:51:25 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=7, channelId=0, uploaderId=1, advertisersId=2, name=日历, packageName=com.youloft.calendar, versionCode=109, versionName=4.6.7, price=1.2, SHA1=b98d26430abfefce1a8b20b5d8b462d0b6ee11a0, memo=null, enable=true, uploadDateTime=Tue Aug 22 06:52:56 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=8, channelId=0, uploaderId=1, advertisersId=2, name=讯飞输入法, packageName=com.iflytek.inputmethod, versionCode=4885, versionName=7.1.4885, price=1.2, SHA1=899f578ae3dab12b25e9ea59ffc3482aa1c4d89c, memo=null, enable=true, uploadDateTime=Tue Aug 22 06:54:01 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=9, channelId=0, uploaderId=1, advertisersId=2, name=搜狗浏览器, packageName=sogou.mobile.explorer, versionCode=147525, versionName=5.8.7, price=2.2, SHA1=61d5efd105cc2cc4fdcfebe7775d568ee806e38d, memo=null, enable=true, uploadDateTime=Tue Aug 22 06:54:43 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=10, channelId=0, uploaderId=1, advertisersId=2, name=应用中心, packageName=com.market.chenxiang, versionCode=61, versionName=4.5, price=3.2, SHA1=9effb659cf03554debfa8b6d827d87e549719333, memo=null, enable=true, uploadDateTime=Tue Aug 22 06:55:22 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=11, channelId=0, uploaderId=1, advertisersId=2, name=搜狗搜索, packageName=com.sogou.activity.src, versionCode=4601, versionName=4.6.0.1, price=1.8, SHA1=23526b7ac2d6bc462353311f3262f771b785dc98, memo=null, enable=true, uploadDateTime=Tue Aug 22 06:56:06 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=12, channelId=0, uploaderId=1, advertisersId=2, name=暴风影音, packageName=com.storm.smart, versionCode=720300, versionName=7.2.03, price=1.8, SHA1=fdf60049c5a93f004ae06dc6fc7c40c76265bd8c, memo=null, enable=true, uploadDateTime=Tue Aug 22 06:57:20 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=13, channelId=0, uploaderId=1, advertisersId=2, name=猎豹清理大师, packageName=com.cleanmaster.mguard_cn, versionCode=51661068, versionName=5.16.6, price=2.2, SHA1=57198cac3009cf00af55805ccc53fb2bc3530c8d, memo=null, enable=false, uploadDateTime=Tue Aug 22 06:58:16 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=14, channelId=0, uploaderId=1, advertisersId=2, name=酷我音乐, packageName=cn.kuwo.player, versionCode=6790, versionName=6.7.9.0, price=1.3, SHA1=0b2a2405e8a5eea7a1ca56aa8ed13473f10e0872, memo=null, enable=true, uploadDateTime=Tue Aug 22 06:59:16 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=15, channelId=0, uploaderId=1, advertisersId=2, name=土豆视频, packageName=com.tudou.android, versionCode=10000, versionName=6.7.1, price=1.8, SHA1=59f57a7a053a0c04f02c7f5d3a9a9fbb8eee6d66, memo=null, enable=true, uploadDateTime=Tue Aug 22 07:00:43 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=16, channelId=0, uploaderId=1, advertisersId=2, name=高德地图, packageName=com.autonavi.minimap, versionCode=6120, versionName=8.1.2.2192, price=1.8, SHA1=75763725fbf9328685b0758a1f123547ca107441, memo=null, enable=true, uploadDateTime=Tue Aug 22 07:03:42 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=17, channelId=0, uploaderId=1, advertisersId=2, name=JJ斗地主, packageName=cn.jj, versionCode=40608, versionName=4.06.08, price=1.8, SHA1=a7162f08710d774d7c63b4ec3240cb102f2da450, memo=null, enable=true, uploadDateTime=Tue Aug 22 07:05:07 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=18, channelId=0, uploaderId=1, advertisersId=2, name=浏览器, packageName=com.browser_llqhz, versionCode=103, versionName=8.5.2.2oem, price=1.8, SHA1=2f3eab7fec0608f703f4d9c17b0872a516e0d0a2, memo=null, enable=true, uploadDateTime=Tue Aug 22 07:05:38 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=19, channelId=0, uploaderId=1, advertisersId=2, name=搜狗输入法, packageName=com.sohu.inputmethod.sogou, versionCode=660, versionName=8.12, price=0.8, SHA1=2638b089ae7bf1f9cc0da05551fede6c03bb092d, memo=null, enable=true, uploadDateTime=Tue Aug 22 07:06:46 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=20, channelId=0, uploaderId=1, advertisersId=2, name=天气王, packageName=com.tianqiwhite, versionCode=47, versionName=5.2, price=0.8, SHA1=1effdeb363da7676e68260b2d398e7af5b70f0bc, memo=null, enable=true, uploadDateTime=Tue Aug 22 07:09:05 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=21, channelId=0, uploaderId=1, advertisersId=2, name=天气君, packageName=com.intimateweather.weather, versionCode=43, versionName=4.1.55, price=0.8, SHA1=59d4cd1a7c2da9fc6083cd95ca5852af70921989, memo=null, enable=false, uploadDateTime=Tue Aug 22 07:15:36 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=22, channelId=0, uploaderId=1, advertisersId=2, name=Free护眼, packageName=com.yjl.xianxiafeyepro, versionCode=5, versionName=1.00.03, price=0.8, SHA1=b2d163eb383425a654eeb7b5cdb2d9d70a903e80, memo=null, enable=true, uploadDateTime=Tue Aug 22 07:15:56 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=23, channelId=0, uploaderId=1, advertisersId=2, name=酷划锁屏, packageName=com.coohuaclient, versionCode=500002, versionName=3.7.4.1, price=0.8, SHA1=977f24ce01d2d2ed2c3a0f050d27a5d31448aebf, memo=null, enable=true, uploadDateTime=Tue Aug 22 07:16:35 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=24, channelId=0, uploaderId=1, advertisersId=2, name=波克捕鱼, packageName=com.shiyi.bkby, versionCode=182, versionName=3.82, price=0.8, SHA1=507c5c6a5410981ee7566da1118958a90e54c7b6, memo=null, enable=true, uploadDateTime=Tue Aug 22 07:18:03 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=25, channelId=0, uploaderId=1, advertisersId=2, name=浏览器, packageName=com.xp.browser, versionCode=300300, versionName=3.0.3, price=0.8, SHA1=4b3c8d1bfcbc4a583f11870667d9ba2d895e3daa, memo=null, enable=true, uploadDateTime=Tue Aug 22 10:41:23 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=26, channelId=0, uploaderId=1, advertisersId=2, name=奇点资讯, packageName=com.news.yazhidao, versionCode=400002, versionName=4.0.2, price=1.0, SHA1=b4b9324628d31a423e713d5d9fd58b5256c53b2d, memo=null, enable=true, uploadDateTime=Tue Aug 22 10:44:49 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=27, channelId=0, uploaderId=1, advertisersId=2, name=清理大师, packageName=com.shyz.toutiao, versionCode=2004, versionName=2.3.104, price=1.0, SHA1=dea6e198dc015076ce8727b328be2a9d2562b49e, memo=null, enable=false, uploadDateTime=Tue Aug 22 10:45:59 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=28, channelId=0, uploaderId=1, advertisersId=2, name=腾讯新闻, packageName=com.tencent.news, versionCode=5200, versionName=5.2.0, price=1.8, SHA1=8e40299e029744413daa73474ea36eb531f9b148, memo=null, enable=true, uploadDateTime=Mon Aug 28 09:30:45 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=29, channelId=0, uploaderId=1, advertisersId=2, name=腾讯视频, packageName=com.tencent.qqlive, versionCode=12708, versionName=5.7.1.12708, price=1.8, SHA1=e3f19b810d096e6dc145d9efcc23bd8378e9b9ed, memo=null, enable=false, uploadDateTime=Fri Sep 01 04:39:58 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=30, channelId=0, uploaderId=1, advertisersId=2, name=清理大师, packageName=com.shyz.toutiao, versionCode=3000, versionName=2.3.406, price=1.0, SHA1=e95d747eb8fb8d83e2a7abbc79e0db78b2cd7467, memo=null, enable=false, uploadDateTime=Tue Sep 05 06:31:18 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=31, channelId=0, uploaderId=1, advertisersId=2, name=天气, packageName=com.calendar.UI, versionCode=31615, versionName=3.16.1.5, price=0.8, SHA1=69efd3ffcd3d62029a18b0cb518196b49c355389, memo=null, enable=false, uploadDateTime=Mon Oct 09 15:29:49 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=32, channelId=0, uploaderId=1, advertisersId=2, name=猎豹清理大师, packageName=com.cleanmaster.mguard_cn, versionCode=60171066, versionName=6.01.7, price=2.2, SHA1=ef8189b08068a2d02a1ccfa3f26c6a0984e369bb, memo=null, enable=true, uploadDateTime=Mon Oct 30 12:50:01 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=33, channelId=0, uploaderId=1, advertisersId=2, name=火山小视频, packageName=com.ss.android.ugc.live, versionCode=272, versionName=2.7.2, price=2.7, SHA1=aef8d0dbcedf79b6d722a9dcd9b48db171081485, memo=null, enable=true, uploadDateTime=Mon Oct 30 12:51:01 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=34, channelId=0, uploaderId=1, advertisersId=2, name=今日头条, packageName=com.ss.android.article.news, versionCode=639, versionName=6.3.9, price=1.8, SHA1=012c2af7b2ed184a9177410b649f66e8992d379a, memo=null, enable=true, uploadDateTime=Mon Oct 30 12:51:40 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=35, channelId=0, uploaderId=1, advertisersId=2, name=搜狐新闻, packageName=com.sohu.newsclient, versionCode=128, versionName=5.9.5, price=1.8, SHA1=44ae2b439bf45b368b6bba5065e5cd5a3080b5d8, memo=null, enable=true, uploadDateTime=Mon Oct 30 12:52:18 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=36, channelId=0, uploaderId=1, advertisersId=2, name=手机管家, packageName=com.tencent.qqpimsecure, versionCode=1190, versionName=7.3.0, price=1.4, SHA1=d6090340e4feacbafc0efa45af568ba6d9b40d8a, memo=null, enable=true, uploadDateTime=Mon Oct 30 12:53:03 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=37, channelId=0, uploaderId=1, advertisersId=2, name=西瓜视频, packageName=com.ss.android.article.video, versionCode=205, versionName=2.0.5, price=1.3, SHA1=afe3a1459e5cf97dad44151221e6b0fa7c368edd, memo=null, enable=true, uploadDateTime=Mon Oct 30 12:53:22 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=38, channelId=0, uploaderId=1, advertisersId=2, name=天气, packageName=com.calendar.UI, versionCode=31615, versionName=3.16.1.5, price=0.8, SHA1=6d4746d955d17de0676841f133bded6ac3b8d107, memo=null, enable=true, uploadDateTime=Mon Oct 30 14:01:26 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=39, channelId=0, uploaderId=1, advertisersId=2, name=京东, packageName=com.jingdong.app.mall, versionCode=40819, versionName=5.6.0, price=1.6, SHA1=54e2daa235e277a9e8a0f609fe5a2dc2074b0524, memo=null, enable=true, uploadDateTime=Mon Oct 30 14:02:24 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0], PreinstallApk [id=40, channelId=0, uploaderId=1, advertisersId=2, name=手机铃声, packageName=com.iflytek.ringdiyclient, versionCode=1131, versionName=1.1.31, price=0.4, SHA1=fa416da878f9165e56771b8864b84cb81cc2f246, memo=null, enable=true, uploadDateTime=Mon Oct 30 14:03:50 CST 2017, order=0, uploaderName=null, advertisersName=null, channelIds=[], time=0, application=0, totalprice=0.0, keep=0.0]]
2017-11-10 11:02:31,462 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - INSERT INTO t_activating_quantity(q_apkId,q_deviceId,q_createtime,q_time) VALUES(?,?,?,?) 
    | 1 | 2 |                     3 | 4 |
    |---|---|-----------------------|---|
    | 1 | 0 |  2017-11-10 09:44:48  | 1 |
  For example:> "INSERT INTO t_activating_quantity(q_apkId,q_deviceId,q_createtime,q_time) VALUES(1,0,' 2017-11-10 09:44:48 ','1') "
2017-11-10 11:02:31,473 org.nutz.mvc.impl.processor.FailProcessor.process(FailProcessor.java:28) WARN  - Error@/api/advert/quantity :
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
	at java.util.ArrayList.rangeCheck(Unknown Source)
	at java.util.ArrayList.get(Unknown Source)
	at com.woyaofa.module.api.PluginDataModule.ClientInfo(PluginDataModule.java:174)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:25)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:33)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:58)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:123)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)
	at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)
	at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)
	at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)
	at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:198)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:495)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:767)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1347)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Unknown Source)

3 回复
@At(UpdateClientInfo.QUANTITY)
	public  Result ClientInfo(@Param("json") String json, HttpServletRequest request) {
		//System.out.println("-------"+json.toString());
		json = Data.decode(json);
		//System.out.println("------加密"+json.toString());
		 //GSON直接解析成对象
		UpdateClientInfo.R  updateClientInfo= new Gson().fromJson(json,UpdateClientInfo.R.class);
		 //对象中拿到集合
	    List<Statistics>  statistics = updateClientInfo.getUserDate();
	    System.out.println("-----数据"+updateClientInfo.toString());
		List<PreinstallApk> preinstallApks = Util.fetchPreinstallApkInfos(dao);
         System.out.println("----APK"+preinstallApks.toString());
          ActivatingQuantity activatingQuantity = new ActivatingQuantity();
          int  num=1;
           SimpleDateFormat sdf =   new SimpleDateFormat( " yyyy-MM-dd HH:mm:ss " );
          for (int i = 0; i < preinstallApks.size(); i++) {
        	  if(statistics.get(i).getPackageName().equals(preinstallApks.get(i).getPackageName())) {
        		  if(statistics.get(i).getDate_Time().getTime() > preinstallApks.get(i).getUploadDateTime().getTime()) {
            		  activatingQuantity.setApkId(preinstallApks.get(i).getId());
            		  activatingQuantity.setCreatetime(sdf.format(statistics.get(i).getDate_Time()));
            		  activatingQuantity.setTime(num+"");
            		  activatingQuantity = dao.insert(activatingQuantity);
                	}
        		 
          	}
        	
		}
          num++;
          System.out.println("-----------操作成功");
		return Result.makeSuccessResult();
		
	}
我可能知道哪里错误了
添加回复
请先登陆
回到顶部