Note down the solution: Office 2013 error 1402
Solution: http://bbs.51cto.com/thread-1088382-1.html
1. Problem scene
APP startup exception crashes
BlockChainStep(1332,0x7000057ad000) malloc: * error for object 0x600000008300: pointer being freed was not allocated
* set a breakpoint in malloc_error_break to debug
Second, the cause of the crash
In Xcode8 this will occur if your image resource file has 16 bitmaps or if the image display mode is P3 and the Deployment Target is below iOS9.3. (As a matter of fact, a small button appeared in the project of our company, which caused this crash. I don’t know how the designer made this special picture…) If your App needs to support the wide color functionality, you’ll have to set the Deployment Target to above iOS9.3. If your APP doesn’t need to support wide color functionality and you want to be compatible with the older versions of iOS, you’ll need to convert all the 16-bit or P3 images to 8-bit sRGB assets
3. Solutions
Convert image to 8-bit sRGB Assets format
Reference article: Xcode assets problem caused by running iOS8 crash solution


so if you set the adjustment bar to the far right for the fastest preview speed, press 0 again, the following prompt may appear:
“After Effects Error :RAM Preview needs 2 or more Frames to Playback”, so this graphical option should be adjusted to avoid this error.
the other RAM preview also have different options:
I am will adjust the tie rod moved to the far left, anyway, large memory capacity (64 – bit Windows 7 of 8 gb of memory), then I am chose “From the current frame” this option, the English meaning is From now this frame (start preview), activate this option has the advantage of, avoid to start From scratch every time.
then I first move the pointer of the timeline to the place I want to review, and then press the 0 key of the keypad to start the rendering, I found that the RAM render preview can be accumulated.
although rendered will likely stop somewhere, if you press the keypad 0, can timely preview with audio clips, and then if you press the keypad 0, if memory allocation is reasonable, can also continue to accumulate, every rendering is tight as the last rendering the end point, this section after accumulation, the green line of time online will have different rendering process with time, gradually accumulate, until will run out the allocation of memory. This allows you to view long rendered content.
also:
render after press 0 can only play the part of the green line, if it is a green line between the blue line or blank, then press 0 when the preview will be stopped on the blue line starting point (or starting point of the blank, the end of the green), if you would turn it into green and sustainable, in former time pointer positioned in the green line, and choose “” From the current frame”, continue to press the keypad 0, and the green line in the middle of the blue lines or fill blank section was JiCheng green. It is recommended that you always use the 0 key of the keypad, so that you can watch long segments of accumulated content with sound. When viewing the RAM preview, if you reach the key point, press the * key on the keypad to mark, which is useful for audio editing in the future.
preview window has the “SHIFT+RAM” option, which can be rendered every other frame preview, generally defined in the project default resolution about half of the definition, and for the frame-by-frame jump preview. Also associated with this is the option “SKIP”, which allows you to choose how many frames you want to render in to save time. Above SHIFT + RAM is to skip a frame.
, of course, selects 0 to render everything (no omitted interval frames). The above two items should be noted: because some people may like to keep RAM rendering content, but you should pay attention to the interval frame parameters (1 and 2 or 0?). And possible audio spacing issues. Note that select 0: is all the spaceless render!
(CTRL+ keyboard 0 can save RAM preview content)
with audio preview, might as well CTRL+4 to activate the audio level indicator to see if the audio is overloaded…
preview has a lot to play with… As long as you stick to the zero key on your keypad, you’ll iterate over the steps, render, play, accumulate render…
green line is part of the timeline can be spliced together, mainly is the stitching together of the persistent green line, can real-time with audio playback preview, if you insist on cumulative preview render, allocated memory segment will make the corresponding adjustment, is likely to be behind the rendering gradually turn green, and in front of the green line is gradually becoming blue…
Line 1: error: class, interface, or enum expected [in MainClass.java]
The first time you brush leecode and paste in the solution given will report this error.
add a bracket at the beginning and end of the public class Solution to the first line.
Enter No Service Config in global configuration mode
Router(config)# No Service Config
This article from qq8658868 51 cto blog, the original link: http://blog.51cto.com/hujizhou/1186350, if you want to reprint, please contact our author
13.2 Spring Boot Boot Error: Whitelabel Error Page
Problem description
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Tue Mar 28 22:25:43 CST 2017
There was an unexpected error (type=Internal Server Error, status=500).
Circular view path [login]: would dispatch back to the current handler URL [/login] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
Cause analysis,
First, the error page is the default error page for SpringBoot. Source in: org. Springframework. Boot. Autoconfigure. Web. Servlet. Error. ErrorMvcAutoConfiguration line 151.
This error is usually caused by a configuration error, or an MVC error.
The solution
Properly configure the named presuffix of the template file in the Application.properties file:
spring.mvc.view.prefix=/WEB-INF/jsp/
spring.mvc.view.suffix=.jsp
In addition, in earlier versions of Springboot, MVC was not included in the key.
spring.view.prefix: /WEB-INF/jsp/
spring.view.suffix: .jsp
This configuration is version 1.1 after class, in the org. Springframework. Boot. Autoconfigure. Web. Servlet. WebMvcProperties class. The above annotation @ConfigurationProperties(prefix = “spring.MVC “) indicates the key.
Accordingly, the template files should be placed in the correct directory. For the above configuration, the corresponding directory can be:
/src/main/webapp/WEB-INF/jsp/
/src/main/resources/META-INF/resources/WEB-INF/jsp
The default directory for common SpringBoot template files is as follows:
# THYMELEAF (ThymeleafAutoConfiguration)
spring.thymeleaf.cache=true # Enable template caching.
spring.thymeleaf.check-template=true # Check that the template exists before rendering it.
spring.thymeleaf.check-template-location=true # Check that the templates location exists.
spring.thymeleaf.enabled=true # Enable Thymeleaf view resolution for Web frameworks.
spring.thymeleaf.encoding=UTF-8 # Template files encoding.
spring.thymeleaf.excluded-view-names= # Comma-separated list of view names that should be excluded from resolution.
spring.thymeleaf.mode=HTML5 # Template mode to be applied to templates. See also StandardTemplateModeHandlers.
spring.thymeleaf.prefix=classpath:/templates/ # Prefix that gets prepended to view names when building a URL.
spring.thymeleaf.reactive.max-chunk-size= # Maximum size of data buffers used for writing to the response, in bytes.
spring.thymeleaf.reactive.media-types=text/html # Media types supported by the view technology.
spring.thymeleaf.servlet.content-type=text/html # Content-Type value written to HTTP responses.
spring.thymeleaf.suffix=.html # Suffix that gets appended to view names when building a URL.
spring.thymeleaf.template-resolver-order= # Order of the template resolver in the chain.
spring.thymeleaf.view-names= # Comma-separated list of view names that can be resolved.
# FREEMARKER (FreeMarkerAutoConfiguration)
spring.freemarker.allow-request-override=false # Set whether HttpServletRequest attributes are allowed to override (hide) controller generated model attributes of the same name.
spring.freemarker.allow-session-override=false # Set whether HttpSession attributes are allowed to override (hide) controller generated model attributes of the same name.
spring.freemarker.cache=false # Enable template caching.
spring.freemarker.charset=UTF-8 # Template encoding.
spring.freemarker.check-template-location=true # Check that the templates location exists.
spring.freemarker.content-type=text/html # Content-Type value.
spring.freemarker.enabled=true # Enable MVC view resolution for this technology.
spring.freemarker.expose-request-attributes=false # Set whether all request attributes should be added to the model prior to merging with the template.
spring.freemarker.expose-session-attributes=false # Set whether all HttpSession attributes should be added to the model prior to merging with the template.
spring.freemarker.expose-spring-macro-helpers=true # Set whether to expose a RequestContext for use by Spring's macro library, under the name "springMacroRequestContext".
spring.freemarker.prefer-file-system-access=true # Prefer file system access for template loading. File system access enables hot detection of template changes.
spring.freemarker.prefix= # Prefix that gets prepended to view names when building a URL.
spring.freemarker.request-context-attribute= # Name of the RequestContext attribute for all views.
spring.freemarker.settings.*= # Well-known FreeMarker keys which will be passed to FreeMarker's Configuration.
spring.freemarker.suffix= # Suffix that gets appended to view names when building a URL.
spring.freemarker.template-loader-path=classpath:/templates/ # Comma-separated list of template paths.
spring.freemarker.view-names= # White list of view names that can be resolved.
# GROOVY TEMPLATES (GroovyTemplateAutoConfiguration)
spring.groovy.template.allow-request-override=false # Set whether HttpServletRequest attributes are allowed to override (hide) controller generated model attributes of the same name.
spring.groovy.template.allow-session-override=false # Set whether HttpSession attributes are allowed to override (hide) controller generated model attributes of the same name.
spring.groovy.template.cache= # Enable template caching.
spring.groovy.template.charset=UTF-8 # Template encoding.
spring.groovy.template.check-template-location=true # Check that the templates location exists.
spring.groovy.template.configuration.*= # See GroovyMarkupConfigurer
spring.groovy.template.content-type=test/html # Content-Type value.
spring.groovy.template.enabled=true # Enable MVC view resolution for this technology.
spring.groovy.template.expose-request-attributes=false # Set whether all request attributes should be added to the model prior to merging with the template.
spring.groovy.template.expose-session-attributes=false # Set whether all HttpSession attributes should be added to the model prior to merging with the template.
spring.groovy.template.expose-spring-macro-helpers=true # Set whether to expose a RequestContext for use by Spring's macro library, under the name "springMacroRequestContext".
spring.groovy.template.prefix= # Prefix that gets prepended to view names when building a URL.
spring.groovy.template.request-context-attribute= # Name of the RequestContext attribute for all views.
spring.groovy.template.resource-loader-path=classpath:/templates/ # Template path.
spring.groovy.template.suffix=.tpl # Suffix that gets appended to view names when building a URL.
spring.groovy.template.view-names= # White list of view names that can be resolved.
We Java developers may often encounter unmappable Character for Encoding errors. The reason for this error is that the source code contains characters not included in the GBK encoding. The solution: The source code contains characters not included in the GBK encoding.
• delete the character
• save the source code file as utf-8 encoding
unmappable character for encoding error. However, after looking it up on the Internet, we know that the class file of Java USES utf-8 encoding. Test2.java is compiled to Test2.class, including the utF-8 encoding conversion process.
solution
| copy code | copy code | |
| compile javac-encoding GBK test2. Java runs java-dfile.encoding = “GBK” test2 |
3
.

