When/where is this "FirebaseRemoteConfigFetchThrottledException" thrown?
Unfortunately we launched our Apps by keeping the RemoteConfig in developer mode. One of our Apps is working fine, but another App is throwing this exception quite often:
com.google.firebase.remoteconfig.FirebaseRemoteConfigFetchThrottledException
at com.google.firebase.remoteconfig.FirebaseRemoteConfig.zza(Unknown Source)
at com.google.firebase.remoteconfig.FirebaseRemoteConfig$1.zza(Unknown Source)
at com.google.firebase.remoteconfig.FirebaseRemoteConfig$1.onResult(Unknown Source)
at com.google.android.gms.internal.zzpt$zza.zzb(Unknown Source)
at com.google.android.gms.internal.zzpt$zza.handleMessage(Unknown Source)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
It means you're trying to fetch values from the Remote Config service too frequently, and you're getting throttled (either by the client or by the service itself).
If you want to avoid having this happen in the future, I would recommend using a cache expiration time of no less than 2 hours (and, honestly, you're probably fine sticking with the default of 12 hours).
Related
We are trying to make a soap webservice call when we are getting the below Runtime exception continously. we are running on AJSC7 platform.
Ecception is coming from "org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create"
iLib: ILIB-MSG-009 Something went wrong in the transformer.
java.lang.RuntimeException: com.att.csi.csi.namespaces.customercareprofile.types._public.commondatamodel.DiscountInfo$JaxbAccessorF_description class is frozen
at ilib.javassist.CtClassType.checkModify(CtClassType.java:309)
at ilib.javassist.CtBehavior.getMethodInfo(CtBehavior.java:111)
at com.att.ilib.transformer.InstrumentMeTransformer.getAnnotation(InstrumentMeTransformer.java:82)
at com.att.ilib.transformer.InstrumentMeTransformer.transform(InstrumentMeTransformer.java:62)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.lang.ClassLoader.defineClass(ClassLoader.java:642)
at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:271)
at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:92)
at com.sun.xml.bind.v2.runtime.reflect.opt.AccessorInjector.prepare(AccessorInjector.java:87)
use isFrozen( ) method to check if it is acutally frozen and deFrost it for further modification. Javassist freezes a class when it is loaded so that further changes will be prohibited.
check out the following links for further reference.
official javassist tuorial for frozen class
samples for deFrost( )
I am using WSO2 EMM version 1.1.0
After registrering some Android devices all was going well but after
I try to setup GCM with Android , I got some exception in the carbonlog
what can I do ?
TID: [0] [EMM] [2015-02-05 13:32:09,473] ERROR {org.jaggeryjs.jaggery.core.manager.WebAppManager} - org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (gcm#7) {org.jaggeryjs.jaggery.core.manager.WebAppManager}
org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (gcm#7)
at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)
at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
Caused by: org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (gcm#7)
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.mozilla.javascript.gen.gcm_21._c_anonymous_2(gcm:7)
at org.mozilla.javascript.gen.gcm_21.call(gcm)
Caused by: java.lang.NullPointerException
at org.wso2.mobile.gcm.GCMServerBridge.sendDataViaGCM(GCMServerBridge.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
It is difficult to find the exact issue without the code as its impossible to debug. But you can look over this sample source code that integrates the capabilities of WSO2 EMM with the GCM. Check to see the Manifest file if you are missing some permissions or referencing some variable that has been declared but not been initialized.
Follow this and this article to see is there any cause that matches in your code for having the Null pointer Exception.\
Hope this Helps!!
My users are getting this crash from my app, but I haven't a clue where it is coming from. It is mostly coming from Gingerbread users. The bug report from the Developer Console looks like this:
java.lang.NoSuchMethodError: android.view.ViewParent.requestSendAccessibilityEvent
at lxg.a(Unknown Source)
at lxx.a(Unknown Source)
at kzf.c(Unknown Source)
at lnx.handleMessage(Unknown Source)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)
The app is here:
https://www.google.ca/webhp?sourceid=chrome-instant&rlz=1C5CHFA_enCA507CA507&ion=1&espv=2&ie=UTF-8#q=trailnav
The app uses in app purchases and the camera. Could it be coming from one of those packages?
android.view.ViewParent.requestSendAccessibilityEvent was added in API 14 (Android 4.0). This crash appears when you try to call the method on a device with a lower API level.
The following code:
at lxg.a(Unknown Source)
at lxx.a(Unknown Source)
at kzf.c(Unknown Source)
Looks like an obfuscated code. So you're either using Proguard to obfuscate your code or you're using an external library which was obfuscated.
If you obfuscated the code with Proguard, then you can decode the obfuscated code as explained here. If you are using some external obfuscated library, then you can either search their documentation to see if they support API levels lower than 14. If they do, then you can send them a bug report.
In Crystal Reports XI (11) I am getting a ReportSDKException "/ by zero" (e.g. divide by zero ) sometime before/during we go to preview the report in html. This happening on the middle tier (java) on our test server. It fails for the tester, but it works for me on my local dev**elopment environment running from IntelliJ. **Pointing to the test database and using the same search criteria, I still couldn't get it to fail for me.
All other reports in that reports module application work, except for one report, using a recently modified *.rpt file (REPORT_IN_QUESTION.rpt).
The things I did in the REPORT_IN_QUESTION.rpt file was to delete one database field (card id) and introduce another one (personal id number), which also required me to modify the layout so everything fit. In so doing, I also chose a different Page Setup (I can't recall which I used now). Upon initially entering CR XI IDE it told me the printer setup was not valid, and that it would just use the default. That's why I chose a different Page Setup, as I just mentioned.
What fixed the problem was to NOT change the Page Setup / Printer Layout options at all. The tester was able to run a version of REPORT_IN_QUESTION.rpt with no formatting introduced - only the introduction of the new database field.
I then did a final version of REPORT_IN_QUESTION.rpt, again, NOT changing the Page Setup - but just squeezing the fields in tighter, to make it all fit, with whatever my "default" was. This also worked for the Tester.
All that said, I'm trying to understand what was the specific cause of all this. My best guess was the Page Setup / Layout I introduced initially was somehow unknown on the server/workstation - and that resulted in some value becoming zero, and during the calculations to preview in html (position things like the field, etc) that divide by zero happened.
Any how, hopefully this proves helpful to someone else. I'm still curious to know if anyone out there has experienced anything similar. I didn't do a complete search of google, but I did see divide by zeros being mentioned in relation to printing and drivers.
As for the initial exception - here is what gets thrown in more detail:
2014-05-06 13:45:08,510 DEBUG [TP-Processor1] (ReportsServlet.java:98) - Loading reports config file /usr/share/tomcat6/webapps/[...]/WEB-INF/classes/reports_setup.properties
2014-05-06 13:45:08,513 DEBUG [TP-Processor1] (ReportsServlet.java:121) - Connecting with driver:oracle.jdbc.driver.OracleDriver User:dbconn to DB:jdbc:oracle:thin:#(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL = TCP)(PORT = 1521)(HOST = [...])))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME = [...])))
2014-05-06 13:45:08,534 DEBUG [TP-Processor1] (ReportsServlet.java:152) - Running report [RptFile:REPORT_IN_QUESTION.rpt][Name:REPORT_IN_QUESTION][Location:1][Module:[...]][Operator:[...]][Pass:[...]][System:[...]]
2014-05-06 13:45:08,548 DEBUG [TP-Processor1] (SessionDAOHibernate.java:126) - [Session] Commit : 3ms
2014-05-06 13:45:08,549 DEBUG [TP-Processor1] (ReportsServlet.java:175) - Authentication: true
2014-05-06 13:45:11,855 ERROR [TP-Processor1] (ReportsServlet.java:293) - Error generating report
**com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: / by zero---- Error code:-2147467259 Error code name:failed
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)**
at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.do(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
**at com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
at com.cbnco.idsys.common.reports.soap.ReportsServlet.doPost(ReportsServlet.java:183)**
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ArithmeticException: / by zero
at com.crystaldecisions.reports.reportdefinition.eq.else(Unknown Source)
at com.crystaldecisions.reports.reportdefinition.eq.else(Unknown Source)
at com.crystaldecisions.reports.reportdefinition.eq.aY(Unknown Source)
at com.crystaldecisions.reports.reportdefinition.bi.C(Unknown Source)
at com.crystaldecisions.reports.reportdefinition.bi.a(Unknown Source)
at com.crystaldecisions.reports.common.ae.a(Unknown Source)
at com.crystaldecisions.reports.common.ae.if(Unknown Source)
at com.crystaldecisions.reports.reportdefinition.bi.if(Unknown Source)
at com.crystaldecisions.reports.reportdefinition.bi.C(Unknown Source)
at com.businessobjects.reports.sdk.c.a(Unknown Source)
at com.businessobjects.reports.sdk.b.v.if(Unknown Source)
... 26 more
Caused by:
java.lang.ArithmeticException: / by zero
at com.crystaldecisions.reports.reportdefinition.eq.else(Unknown Source)
at com.crystaldecisions.reports.reportdefinition.eq.else(Unknown Source)
at com.crystaldecisions.reports.reportdefinition.eq.aY(Unknown Source)
at com.crystaldecisions.reports.reportdefinition.bi.C(Unknown Source)
at com.crystaldecisions.reports.reportdefinition.bi.a(Unknown Source)
at com.crystaldecisions.reports.common.ae.a(Unknown Source)
at com.crystaldecisions.reports.common.ae.if(Unknown Source)
at com.crystaldecisions.reports.reportdefinition.bi.if(Unknown Source)
at com.crystaldecisions.reports.reportdefinition.bi.C(Unknown Source)
at com.businessobjects.reports.sdk.c.a(Unknown Source)
at com.businessobjects.reports.sdk.b.v.if(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.do(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
at com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
at com.cbnco.idsys.common.reports.soap.ReportsServlet.doPost(ReportsServlet.java:183)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)
Looks like it's in an if/else statement - possibly conditional formatting? Those will be buried in the objects. Really though, there's not enough info here to help you, but you tell 'em. You tell the world.
When I used to do crystal reports, I would screw up the report often. I would figure out what I had to do to get it working, then revert the report back to the original. Then I would make only the small changes I needed to make very carefully. You may find this approach helps.
I am currently working through the StockWatcher-Tutorial on the GWT page and come this far to Step 3: Build the User Interface.
I changed the content of the hosted HTML-page as said and done the rest of the tutorial.
But when I try to test the new page and start Run > Debug As > Web Application, I get an exception in onLoad():
onModuleLoad() threw an exception Exception while loading module
com.ma.project.client.MaWebAppProject. See Development Mode for
details.
java.lang.reflect.InvocationTargetException 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
com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396) at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Unknown Source) Caused by:
java.lang.NullPointerException at
com.ma.project.client.MaWebAppProject.onModuleLoad(MaWebAppProject.java:41)
... 9 more
and the Development Mode Tab in Eclipse says:
[ERROR] [mawebappproject] - Unable to load module entry point class
com.ma.project.client.MaWebAppProject (see associated exception for
details)
I have found out so far, it seems the changes I made in the HTML-file are not recognized by the development server although I saved the file and everything. I tried to use the GWT Compile Project but no effect.
Seems the Java Code is crashing because it can not find the , which is used as the RootPanel.
Does anyone have an idea?
UPDATE: After some trail and error I found out I had to refresh the page once in the browser after the error message. The it worked. I still don't know why this happened, but so far it not happened again...
could it be that you have replaced the whole html file with the one from the page. this can cause a problem, because on the page, it uses your project name which is certainly not stockwatcher but apparently something like this: com.ma.project.client.MaWebAppProject (guessed).
I suggest you only you restore the last running state and replace only the lines which are marked yellow, then it should work.
The other reason could be that you didn't use RootPanel.get("stockList") or gave another name to the id div (this one: <div id="stockList"></div>). These two names must be identical (and the id field unique of course), because the RootPanel get method searches for a field with that id and places the Widget inside of it. (btw: RootPanel.get() with no parameters, it uses the body element so you can also try this).
Well this are all possibilities right now^^
I think I had this exact issue. My problem ended up being that the word "stocklist" was lower case in the html id like so:
<div id="stocklist"></div>
but was camel cased in the java code where the stocklist is associated with the main panel:
RootPanel.get("stockList").add(mainPanel);
The solution was, of course, to make one match the other.