Fabric-java-sdk not found org.hyperledger.fabric.protos.peer.FabricProposalResponse - hyperledger-fabric-sdk-java

When I updated the fabric-java-sdk version from 1.4.1 to 2.0.0. The app can't be compiled.
Those classes not found:
"org.hyperledger.fabric.protos.peer.FabricProposalResponse"
"org.hyperledger.fabric.protos.peer.FabricProposal"
"org.hyperledger.fabric.protos.peer.FabricTransaction"

I just hit the same problem and it looks like these changed between version 1.4.1 and 2.0.0.
I think org.hyperledger.fabric.protos.peer.FabricProposalResponse is now org.hyperledger.fabric.protos.peer.ProposalResponsePackage
I didn't need the others but
org.hyperledger.fabric.protos.peer.ProposalPackage and org.hyperledger.fabric.protos.peer.TransactionPackage would be my guess.

Related

Why does oidcUserAuthority.getUserInfo() return null after upgrading to 5.6.9 and 5.7.5

I have upgraded from 5.6.2 due to the new vulnerabilities. I also upgraded the other dependencies. In version 5.6.2, oidcUserAuthority.getUserInfo() returns the correct values. But in the newer versions of the jar, it is always null. How do you handle it?
Already tried upgrading all other dependencies to the same version and also updated the spring-aop etc to 5.2.23
It's due to https://github.com/spring-projects/spring-security/issues/12144 - the fix is scheduled for the 5.6.10 release.

All gms/firebase libraries must use the exact same version specification (mixing versions can lead to runtime crashes)

I have upgraded gms:play-services-analytics from 11.0.4 to 16.0.4
and firebase-messaging from 11.0.4 to 17.1.0 but lint is giving this error
All gms/firebase libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 17.1.0, 16.2.0, 16.0.4, 16.0.3, 16.0.1, 16.0.0. Examples include `com.google.firebase:firebase-messaging:17.1.0` and `com.google.firebase:firebase-iid:16.2.0`
I gave a look into the External libraries i can see different versions of gms is being used here.
com.google.android.gms:play-services-ads-identifier-16.0.0
com.google.android.gms:play-services-analytics-16.0.4
com.google.android.gms:play-services-analytics-impl-16.0.4
com.google.android.gms:play-services-base-16.0.1
com.google.android.gms:play-services-basement-16.0.1
com.google.android.gms:play-services-measurement-base-16.0.3
Similary
com.google.firebase:firebase-common-16.0.0
com.google.firebase:firebase-iid-16.2.0
com.google.firebase:firebase-iid-interop-16.0.0
com.google.firebase:firebase-messaging-17.1.0
i have only added the following two dependencies
implementation 'com.google.android.gms:play-services-analytics:16.0.4'
implementation 'com.google.firebase:firebase-messaging:17.3.4'
root level build.gradle contains
classpath 'com.google.gms:google-services:4.0.1'
As mentioned in the blog
https://android-developers.googleblog.com/2018/05/announcing-new-sdk-versioning.html
All firebase/gms libraries can now have a different versioning and the libraries mentioned above are imported by android itself.
Why i am getting this error ?
For me, it was using a rather old build tools version. Updating to build tools 28.0.3 fixed the problem.

Meteor package still giving error even though the packages has not been added

I keep getting the error in console
W20150601-13:28:19.607(-4)? (STDERR) The spacjamio:chai package has been renamed to practicalmeteor:chai. Please use the new package name instead.
But the spacjamio:chai package has not been added to my project. Why do I keep getting this message?
When I search the hidden meteor build folder I do see a js file for the spacjamio:chai package. Do I just delete this?
Here is my package list
meteor-platform
accounts-password
stylus
mquandalle:jade
coffeescript
sacha:spin
natestrauser:font-awesome
multiply:iron-router-progress
iron:router
alanning:roles
twbs:bootstrap
msavin:mongol
msavin:jetsetter
random
cmather:handlebars-server
email
mrt:moment
themeteorchef:bert
cunneen:mailgun
ian:accounts-ui-bootstrap-3
aldeed:simple-schema
zimme:collection-timestampable
aldeed:collection2
mike:mocha
practicalmeteor:chai
UPDATE:
The error seems to stop when I remove the mike:mocha package. But mike:mocha package seems to require the newest name for chai package.
If you didn't add it and don't need it, I'd just remove it with...
meteor remove practialmeteor:chai
in the console. Worth a shot at least, if it breaks stuff you can always add it back.

Disable Atmosphere version check

INFO 13:27:59.110 [Thread-5] org.atmosphere.cpr.AtmosphereFramework: Latest version of Atmosphere's JavaScript Client 2.0.9
Is there any way to disable these version checks during Atmosphere startup?
The only relevant thing I found: http://dev.vaadin.com/ticket/11890
Isn't configurable and won't be changed, see:
https://github.com/Atmosphere/atmosphere/issues/1356
https://github.com/Atmosphere/atmosphere/issues/1212
https://github.com/Atmosphere/atmosphere/pull/1174

recent version of FOSTwitterBundle

In my symfony project i would like to implement a twitter inscription button, and
i'm searching about the most recent version of FOSTwitterBundle(version 1.1).
the version which i found is not compatible with symfony2.2.1.
Unfortunately the FOSTwitterBundle has no released versions yet for current symfony versions. You have to use the dev-master branch.
"require": {
"kertz/twitteroauth": "*#dev",
"friendsofsymfony/twitter-bundle": "*#dev"
}

Resources