Alibaba-Java-Coding-Guidelines icon indicating copy to clipboard operation
Alibaba-Java-Coding-Guidelines copied to clipboard

Gitbook for AJCG

Results 21 Alibaba-Java-Coding-Guidelines issues
Sort by recently updated
recently updated
newest added

java.lang.ArrayIndexOutOfBoundsException at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:603) at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:678) at java.base/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:722) at com.intellij.concurrency.JobLauncherImpl.processQueue(JobLauncherImpl.java:357) at com.intellij.codeInsight.daemon.impl.InspectionRunner.processInOrder(InspectionRunner.java:309) at com.intellij.codeInsight.daemon.impl.InspectionRunner.visitElements(InspectionRunner.java:284) at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$inspect$5(InspectionRunner.java:122) at com.intellij.codeInspection.InspectionEngine.withSession(InspectionEngine.java:227) at com.intellij.codeInsight.daemon.impl.InspectionRunner.inspect(InspectionRunner.java:110) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:132)...

idea版本:2022.1 电脑:mac pro m1 很奇怪,我和我同事一样的idea版本,但是他是intel平台的mac pro,他的就不报错。怀疑是m1平台问题。请回复!

Should be called at least in the state COMPONENTS_LOADED, the current state is: CONFIGURATION_STORE_INITIALIZED Current violators count: 1 java.lang.Throwable at com.intellij.diagnostic.LoadingState.logStateError(LoadingState.java:56) at com.intellij.diagnostic.LoadingState.checkOccurred(LoadingState.java:52) at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.(ActionManagerImpl.java:150) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)...

Asesoramiento

Plugin 'com.alibaba.p3c.smartfox' failed to initialize and will be disabled. Please restart IntelliJ IDEA. java.lang.ClassNotFoundException: com.alibaba.p3c.idea.component.CommonSettingsApplicationComponent PluginClassLoader(plugin=PluginDescriptor(name=Alibaba Java Coding Guidelines, id=com.alibaba.p3c.smartfox, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/IntelliJIdea2021.2/plugins/Alibaba Java Coding Guidelines, version=2.1.0, package=null), packagePrefix=null, instanceId=73,...

![image](https://user-images.githubusercontent.com/12888788/127421892-bcad4a99-4090-4ca6-8db0-4dd94110fd6e.png)

Idea 2021.2无法安装 启动时被自动禁止

`java.lang.Throwable: Do not call commitAllDocumentsUnderProgress inside write-action at com.intellij.openapi.diagnostic.Logger.error(Logger.java:146) at com.intellij.psi.impl.PsiDocumentManagerBase.commitAllDocumentsUnderProgress(PsiDocumentManagerBase.java:229) at com.intellij.refactoring.actions.BaseRefactoringAction.actionPerformed(BaseRefactoringAction.java:94) at com.alibaba.p3c.idea.quickfix.AliQuickFix$Companion.doQuickFix(AliQuickFix.kt:75) at com.alibaba.p3c.idea.quickfix.ConstantFieldShouldBeUpperCaseQuickFix.applyFix(ConstantFieldShouldBeUpperCaseQuickFix.kt:46) at com.alibaba.p3c.idea.quickfix.ConstantFieldShouldBeUpperCaseQuickFix.applyFix(ConstantFieldShouldBeUpperCaseQuickFix.kt:30) at com.intellij.codeInspection.ex.QuickFixWrapper.invoke(QuickFixWrapper.java:70) at com.intellij.codeInsight.intention.impl.IntentionActionWithTextCaching$MyIntentionAction.invoke(IntentionActionWithTextCaching.java:186) at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.lambda$invokeIntention$4(ShowIntentionActionsHandler.java:244) at com.intellij.openapi.application.WriteAction.run(WriteAction.java:102) at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.invokeIntention(ShowIntentionActionsHandler.java:246) at...

Sorry, I don't know where is a suitable place to discuss the question, so I just open an issue here to ask my question. I have a question about the...

在**阿里巴巴Java开发手册(终极版)**中的 **第六个模块 工程结构** 的 **第一部分 应用分层** 的3中描述了分层领域模型规约。里面有写到xxxAO表示的应用对象。 这是前提1 我们知道在IDEA插件中中对命名一般是需要遵循首字母大写的,但是对于VO,DTO之类结尾的POJO类对象可以命名为xxxVO,xxxDTO不必严格遵守首字母大写的规约。这是前提2 IDEA的编码插件检测变量时会检测出不符合驼峰命名的变量。这是前提3 我的问题是,在IDEA中的编码插件对变量的命名检测不够完善。如: ```java class NameAO { //类的命名符合规约 private NameAO nameAO; // 但是这个变量的命名符合规约但是插件会给出 **不符合驼峰命名的warning** } class NameVO { // 类的命名符合规约 private NameVO...