How do I stop Alexa app from crashing on open - alexa

Alexa app keeps crashing and giving this summary
`
java.lang.IllegalStateException: cannot make a new request because the previous responstexte is still open: please call response.close()
at okhttp3.internal.connection.Transmitter.newExchange$okhttp(Transmitter.kt:14)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:5)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:10)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:1)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:20)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:10)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:1)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:22)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:10)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:6)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:10)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:1)
at com.amazon.clouddrive.cdasdk.RequestLoggingInterceptor.intercept(RequestLoggingInterceptor.java:3)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:10)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:1)
at com.amazon.clouddrive.cdasdk.RetryInterceptor.intercept(RetryInterceptor.java:3)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:10)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:1)
at com.amazon.clouddrive.cdasdk.StandardHeaderInterceptor.intercept(StandardHeaderInterceptor.java:6)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:10)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:1)
at com.amazon.clouddrive.cdasdk.TokenAuthenticator.intercept(TokenAuthenticator.java:4)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:10)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:1)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:13)
at okhttp3.RealCall$AsyncCall.run(RealCall.kt:6)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
`
Happens everytime I open Alexa app. Cleared cache, cleared data, reinstalled.

You are talking about the Alexa app on your android phone right?
As this app isn't open source you can't do anything to fix it or look into it further.
You could try to get in customer contact with Amazon / app creator.
try to update the app via playstore (I have version 2.2487227.0)

Related

AWS Amplify error fetching backend when pushing a change

Error:
An error occurred while fetching the app backend: Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1
.aws/config:
[profile projectname]
output=json
region=ca-central-1
[profile projectname-dev]
region=ca-central-1
source_profile=projectname
role_arn=arn:aws:iam::*******:role/projectname-dev-admin
[profile projectname-qa]
region=ca-central-1
source_profile=projectname
role_arn=arn:aws:iam::******:role/projectname-qa-admin
[profile projectname-prod]
region=ca-central-1
source_profile=projectname
role_arn=arn:aws:iam::*******:role/projectname-prod-admin
.aws/credentials
[projectname]
aws_access_key_id=********
aws_secret_access_key=*******
using aws-vault to swap between profiles and have been working this way for the last 8 months without issue until this morning when i went to push a change.
Any ideas would be much appreciated!

EhCache Exception on startup when using Apache Camel

I was trying to use EhCache with Apache Camel using Sprin Boot. While it works as expected. there is an exception on startup. It does not cause any issues in the functionality I guess (according to my test, everything works as expected). But is there any way to avoid that exception?
2020-09-28 23:46:38,397 [main][DEBUG] org.apache.camel.component.cache.CacheManagerFactory - Turning off EHCache update checker ...
2020-09-28 23:46:38,400 [main][WARN ] org.apache.camel.component.cache.CacheManagerFactory - Error turning off EHCache update checker. Beware information sent over the internet!
java.lang.NoSuchFieldException: updateCheck
at java.base/java.lang.Class.getDeclaredField(Class.java:2411)
at org.apache.camel.component.cache.CacheManagerFactory.getInstance(CacheManagerFactory.java:40)
at org.apache.camel.component.cache.CacheEndpoint.initializeCache(CacheEndpoint.java:120)
at org.apache.camel.component.cache.CacheProducer.doStart(CacheProducer.java:45)
at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:72)
at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75)
at org.apache.camel.impl.DeferServiceStartupListener.onCamelContextStarted(DeferServiceStartupListener.java:49)
at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3868)
at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3647)
at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3488)
at org.apache.camel.impl.DefaultCamelContext$4.call(DefaultCamelContext.java:3247)
at org.apache.camel.impl.DefaultCamelContext$4.call(DefaultCamelContext.java:3243)
at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:3266)
at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:3243)
at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:72)
at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:3159)
at org.apache.camel.spring.SpringCamelContext.start(SpringCamelContext.java:133)
at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:174)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:398)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:355)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:882)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248)
at com.sreejesh.CamelCacheMainClass.main(CamelCacheMainClass.java:12)
2020-09-28 23:46:39,400 [main][DEBUG] net.sf.ehcache.Cache - No BootstrapCacheLoaderFactory class specified. Skipping...
2020-09-28 23:46:39,403 [main][DEBUG] net.sf.ehcache.Cache - CacheWriter factory not configured. Skipping...
My EhCache Configuration XML:
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="ehcache.xsd" updateCheck="false"
monitoring="autodetect" dynamicConfig="true">
<cache name="cache1"
maxEntriesLocalHeap="10000"
maxEntriesLocalDisk="1000"
eternal="false"
diskSpoolBufferSizeMB="20"
timeToIdleSeconds="300" timeToLiveSeconds="600"
memoryStoreEvictionPolicy="LFU"
transactionalMode="off">
<persistence strategy="localTempSwap" />
</cache>
</ehcache>
I have tried to set the updateCheck as false, no luck. I even tried to remove the updateCheck field itself from the XML, even that did not help (though it started fine with the same exception).
Thanks for your time.

In ICS calender file my meeting gets created for all the attendee but it is not getting created for organizer?

I am trying to generate an ICS file but the problem I am facing is that whenever ICS files is opened in mail via organizer himself the wont will not get added in calender and throw the following error-
Error Displayed is Couldn't Import Calender Try Again Later(You can see it in top left corner of pop-up).
But the same problem is not faced by attendee and they are able to add this meeting successfully
Issue only arise in case of organizer only.
Here organizer is--->
aman.prakash#truminds.com
And attendee is---->
shubham.singh#truminds.com
My ICS File--->
BEGIN:VTIMEZONE
TZID:UTC
BEGIN:STANDARD
DTSTART:20200702T084006
TZOFFSETFROM:-0000
TZOFFSETTO:-0000
END:STANDARD
X-LIC-LOCATION:UTC
BEGIN:DAYLIGHT
DTSTART:20200702T084006
TZOFFSETFROM:-0000
TZOFFSETTO:-0000
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
ORGANIZER;CN=Aman.Prakash#truminds.com:MAILTO:Aman.Prakash#truminds.com
DESCRIPTION;LANGUAGE=en-US:
X-ALT-DESC;FMTTYPE=text/html:<span style="font-size:18px;display:block;">Join Online Meeting</span><br /><span style="display:block;">https://XXXXXXXXXX/000690843<span>
UID:000690843
SUMMARY;LANGUAGE=en-US:ICS 5
DTSTART;TZID=UTC:20200702T090900
DTEND;TZID=UTC:20200702T092400
DTSTAMP:20200702T084006Z
CLASS:PUBLIC
LOCATION:HDVC meeting
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=CHAIR;PARTSTAT=ACCEPTED;RSVP=TRUE;CN=Aman.Prakash#truminds.com;X-NUM-GUESTS=0:MAILTO:Aman.Prakash#truminds.com
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=shubham.singh#truminds.com;X-NUM-GUESTS=0:MAILTO:shubham.singh#truminds.com
TRANSP:OPAQUE
PRIORITY:5
STATUS:CONFIRMED
SEQUENCE:0
BEGIN:VALARM
DESCRIPTION:REMINDER
TRIGGER;RELATED=START:-PT15M
ACTION:DISPLAY
END:VALARM
END:VEVENT
I tried many things like-->
I added organizer as an attendee
I tried role of that attendee as CHAIR and REQ-PARTICIPANT
Nothing seem to help.
Guys please help me to find solution for this.

Mule - Dynamic file inbound endpoint error

My ESB flow needs to get files from a dynamic folder. This folder name changes based on month and year. Hence, I configured my inbound-endpoint as shown below but I am getting below error. I really appreciate any help on this.
Flow:
<flow name="DataMapperTestFlow" doc:name="DataMapperTestFlow">
<file:inbound-endpoint path="C:\#[new Date().format('yyyy\\MMMM')]" moveToDirectory="C:\#[new Date().format('yyyy\\MMMM')]\backup" pollingFrequency="10000" responseTimeout="10000" doc:name="File">
<file:filename-regex-filter pattern=".*.xls" caseSensitive="true"/>
</file:inbound-endpoint>
<custom-transformer class="ExcelToJava" doc:name="Java"/>
<jdbc-ee:outbound-endpoint exchange-pattern="one-way" queryKey="insertTestHeaders" connector-ref="NewDatabase" doc:name="InsertHeaders"/>
<set-payload value="#[payload.excelData.excelRows]" doc:name="Set Payload"/>
<jdbc-ee:outbound-endpoint exchange-pattern="one-way" queryKey="insertTestRows" connector-ref="NewDatabase" doc:name="InsertRows"/>
</flow>
Error:
org.mule.api.endpoint.MalformedEndpointException: The endpoint
"file:///C:/#[new Date().format('yyyy/MMMM')]" is malformed and cannot
be parsed. If this is the name of a global endpoint, check the name
is correct, that the endpoint exists, and that you are using the
correct configuration (eg the "ref" attribute). Note that names on
inbound and outbound endpoints cannot be used to send or receive
messages; use a named global endpoint instead.. Only Outbound
endpoints can be dynamic
"Only Outbound endpoints can be dynamic" quite says it all. You can have a look at the Mule Requester Module if it suits your needs, or try creating endpoints/flows programmatically with a scheduler and Java/Groovy/etc code.

Why can't GWT deserialize the native datastore key any more?

I've only started to have this problem having upgraded all of my libraries:
I was using GWT 2.4, App Engine 1.6.3 and Objectify 3.0.
I upgraded to GWT 2.5, App Engine 1.7.4 and Objectify 4.0b1.
Since then I am getting this strange error that only 1 other person seems to have on the entire internet!
Stack trace:
Caused by: com.google.gwt.user.client.rpc.SerializationException: com.google.appengine.api.datastore.Key/1349195865
at com.google.gwt.user.client.rpc.impl.SerializerBase.getTypeHandler(SerializerBase.java:153)
at com.google.gwt.user.client.rpc.impl.SerializerBase.instantiate(SerializerBase.java:114)
at com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java:396)
at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:119)
at com.googlecode.objectify.Key_FieldSerializer.deserialize(Key_FieldSerializer.java:11)
at com.googlecode.objectify.Key_FieldSerializer.deserial(Key_FieldSerializer.java:29)
at com.google.gwt.user.client.rpc.impl.SerializerBase.deserialize(SerializerBase.java:95)
at com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java:398)
at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:119)
at com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase.deserialize(Collection_CustomFieldSerializerBase.java:34)
at com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.deserialize(ArrayList_CustomFieldSerializer.java:34)
at com.google.gwt.user.client.rpc.core.java.util.ArrayList_FieldSerializer.deserial(ArrayList_FieldSerializer.java:19)
at com.google.gwt.user.client.rpc.impl.SerializerBase.deserialize(SerializerBase.java:95)
at com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java:398)
at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:119)
at com.utilitiessavings.testapp2.shared.Account_FieldSerializer.deserialize(Account_FieldSerializer.java:29)
at com.utilitiessavings.testapp2.shared.Account_FieldSerializer.deserial(Account_FieldSerializer.java:51)
at com.google.gwt.user.client.rpc.impl.SerializerBase.deserialize(SerializerBase.java:95)
at com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java:398)
at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:119)
at com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase.deserialize(Collection_CustomFieldSerializerBase.java:34)
at com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.deserialize(ArrayList_CustomFieldSerializer.java:34)
at com.google.gwt.user.client.rpc.core.java.util.ArrayList_FieldSerializer.deserial(ArrayList_FieldSerializer.java:19)
at com.google.gwt.user.client.rpc.impl.SerializerBase.deserialize(SerializerBase.java:95)
at com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java:398)
at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:119)
at com.utilitiessavings.testapp2.client.action.GetAccountsResult_FieldSerializer.deserialize(GetAccountsResult_FieldSerializer.java:20)
at com.utilitiessavings.testapp2.client.action.GetAccountsResult_FieldSerializer.deserial(GetAccountsResult_FieldSerializer.java:38)
at com.google.gwt.user.client.rpc.impl.SerializerBase.deserialize(SerializerBase.java:95)
at com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java:398)
at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:119)
at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter$ResponseReader$8.read(RequestCallbackAdapter.java:106)
at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:214)
... 27 more
The problem is occuring when deserializing Account as it contains an Objectify Key which wraps the native datastore key.
Serializing works fine, and my object graph is all fine and dandy in the datastore, I just can't get anything back that contains a Key, which is pretty much everything useful.
Any pointers appreciated.
I've had this same issue and it seems that it has nothing to do with the datastore either because when I sent an object to the server and tried to retrieve it back I still got a deserialization error.
AsyncCallService{
void createUser(User user, AsyncCallback<User> user);
}
ServiceImpl{
User createUser(User user){
DB.save(user);
return user
}
And this is still causing Serialization errors or rather deserializaton errors on the client.
What I've done was just pass back a new User;
User createUser(User user){
DB.save(user);
User newUser = new User();
newUser.setId(user.getId())
return newUser;
}
Problem solved except that now I've lost some of the "benefits" of older app engine stack where deserialization wasn't necessary.

Resources